Merge branch 'master' of github.com:argoproj/argo-helm
This commit is contained in:
commit
87d7d03d02
74 changed files with 2456 additions and 356 deletions
8
.github/pull_request_template.md
vendored
8
.github/pull_request_template.md
vendored
|
@ -1,9 +1,13 @@
|
||||||
|
Note on DCO:
|
||||||
|
|
||||||
|
If the DCO action in the integration test fails, one or more of your commits are not signed off. Please click on the *Details* link next to the DCO action for instructions on how to resolve this.
|
||||||
|
|
||||||
Checklist:
|
Checklist:
|
||||||
|
|
||||||
* [ ] I have updated the chart version in `Chart.yaml` following Semantic Versioning.
|
* [ ] I have updated the chart version in `Chart.yaml` following Semantic Versioning.
|
||||||
* [ ] Any new values are backwards compatible and/or have sensible default.
|
* [ ] Any new values are backwards compatible and/or have sensible default.
|
||||||
* [ ] I have followed the testing instructions in the [contributing guide](https://github.com/argoproj/argo-helm/blob/master/CONTRIBUTING.md).
|
* [ ] I have followed the testing instructions in the [contributing guide](https://github.com/argoproj/argo-helm/blob/master/CONTRIBUTING.md).
|
||||||
* [ ] I have signed the CLA and the build is green.
|
* [ ] I have signed off all my commits as required by [DCO](https://github.com/argoproj/argoproj/tree/master/community#contributing-to-argo).
|
||||||
* [ ] I will test my changes again once merged to master and published.
|
* [ ] My build is green ([troubleshooting builds](https://argoproj.github.io/argo-cd/developer-guide/ci/)).
|
||||||
|
|
||||||
Changes are automatically published when merged to `master`. They are not published on branches.
|
Changes are automatically published when merged to `master`. They are not published on branches.
|
||||||
|
|
19
.github/workflows/stale.yml
vendored
Normal file
19
.github/workflows/stale.yml
vendored
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
name: Mark stale issues and pull requests
|
||||||
|
|
||||||
|
on:
|
||||||
|
schedule:
|
||||||
|
- cron: "30 1 * * *"
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
stale:
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/stale@v3
|
||||||
|
with:
|
||||||
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
stale-issue-message: 'Stale issue message'
|
||||||
|
stale-pr-message: 'Stale pull request message'
|
||||||
|
stale-issue-label: 'no-issue-activity'
|
||||||
|
stale-pr-label: 'no-pr-activity'
|
23
charts/argo-applicationset/.helmignore
Normal file
23
charts/argo-applicationset/.helmignore
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
# Patterns to ignore when building packages.
|
||||||
|
# This supports shell glob matching, relative path matching, and
|
||||||
|
# negation (prefixed with !). Only one pattern per line.
|
||||||
|
.DS_Store
|
||||||
|
# Common VCS dirs
|
||||||
|
.git/
|
||||||
|
.gitignore
|
||||||
|
.bzr/
|
||||||
|
.bzrignore
|
||||||
|
.hg/
|
||||||
|
.hgignore
|
||||||
|
.svn/
|
||||||
|
# Common backup files
|
||||||
|
*.swp
|
||||||
|
*.bak
|
||||||
|
*.tmp
|
||||||
|
*.orig
|
||||||
|
*~
|
||||||
|
# Various IDEs
|
||||||
|
.project
|
||||||
|
.idea/
|
||||||
|
*.tmproj
|
||||||
|
.vscode/
|
14
charts/argo-applicationset/Chart.yaml
Normal file
14
charts/argo-applicationset/Chart.yaml
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
apiVersion: v2
|
||||||
|
name: argocd-applicationset
|
||||||
|
description: A Helm chart for installing ArgoCD ApplicationSet
|
||||||
|
type: application
|
||||||
|
version: 0.1.0
|
||||||
|
appVersion: "v0.1.0-prerelease"
|
||||||
|
home: https://github.com/argoproj/argo-helm
|
||||||
|
icon: https://raw.githubusercontent.com/argoproj/argo/master/docs/assets/argo.png
|
||||||
|
keywords:
|
||||||
|
- argoproj
|
||||||
|
- appset
|
||||||
|
- gitops
|
||||||
|
maintainers:
|
||||||
|
- name: maruina
|
60
charts/argo-applicationset/README.md
Normal file
60
charts/argo-applicationset/README.md
Normal file
|
@ -0,0 +1,60 @@
|
||||||
|
# Argo CD ApplicationSet Chart
|
||||||
|
|
||||||
|
A Helm chart for Argo CD ApplicationSet, a controller to programmatically generate Argo CD Application.
|
||||||
|
|
||||||
|
Source code can be found [here](https://github.com/argoproj-labs/applicationset/)
|
||||||
|
|
||||||
|
## Additional Information
|
||||||
|
|
||||||
|
This is a **community maintained** chart. This chart installs the [applicationset](https://github.com/argoproj-labs/applicationset) controller.
|
||||||
|
|
||||||
|
This chart currently installs the non-HA version of Argo CD ApplicationSet.
|
||||||
|
|
||||||
|
## Installing the Chart
|
||||||
|
|
||||||
|
To install the chart with the release name `my-release`:
|
||||||
|
|
||||||
|
```console
|
||||||
|
$ helm repo add argo https://argoproj.github.io/argo-helm
|
||||||
|
"argo" has been added to your repositories
|
||||||
|
|
||||||
|
$ helm install --name my-release argo/argo-applicationset
|
||||||
|
NAME: my-release
|
||||||
|
...
|
||||||
|
```
|
||||||
|
|
||||||
|
### Helm v3 Compatibility
|
||||||
|
|
||||||
|
Users of Helm v3 should set the `installCRDs` value to `false` to avoid warnings about nonexistent webhooks.
|
||||||
|
|
||||||
|
## Values
|
||||||
|
|
||||||
|
| Key | Type | Default | Description |
|
||||||
|
|-----|------|---------|-------------|
|
||||||
|
| affinity | object | `{}` | [Assign custom affinity rules to the deployment](https://kubernetes.io/docs/concepts/configuration/assign-pod-node/) |
|
||||||
|
| args.metricsAddr | int | `8080` | The default metric address |
|
||||||
|
| args.probeBindAddr | int | `8081` | The default health check port |
|
||||||
|
| args.enableLeaderElection | bool | `false` | The default leader election setting |
|
||||||
|
| args.namespace | string | `argocd` | The default Argo CD repo namespace |
|
||||||
|
| args.argocdRepoServer | string | `argocd-repo-server:8081` | The default Argo CD repo server address |
|
||||||
|
| args.policy | string | `sync` | How application is synced between the generator and the cluster |
|
||||||
|
| args.debug | bool | `false` | Print debug logs |
|
||||||
|
| args.dryRun | bool | `false` | Enable dry run mode |
|
||||||
|
| fullnameOverride | string | `""` | Override the default fully qualified app name |
|
||||||
|
| image.pullPolicy | string | `"IfNotPresent"` | Image pull policy |
|
||||||
|
| image.repository | string | `"quay.io/argocdapplicationset/argocd-applicationset"` | If defined, a repository applied to the ApplicationSet deployment. |
|
||||||
|
| image.tag | string | `""` | Overrides the image tag whose default is the chart appVersion. |
|
||||||
|
| imagePullSecrets | list | `[]` | If defined, uses a Secret to pull an image from a private Docker registry or repository. |
|
||||||
|
| installCRDs | bool | `true` | Install Custom Resource Definition |
|
||||||
|
| nameOverride | string | `""` | Provide a name in place of `argo-applicationset` |
|
||||||
|
| nodeSelector | object | `{}` | [Node selector](https://kubernetes.io/docs/user-guide/node-selection/) |
|
||||||
|
| podAnnotations | object | `{}` | Annotations for the controller pods |
|
||||||
|
| podSecurityContext | object | `{}` | Pod Security Context |
|
||||||
|
| rbac.pspEnabled | bool | `true` | Enable Pod Security Policy |
|
||||||
|
| replicaCount | int | `1` | The number of controller pods to run |
|
||||||
|
| resources | object | `{}` | Resource limits and requests for the controller pods. |
|
||||||
|
| securityContext | object | `{}` | Security Context |
|
||||||
|
| serviceAccount.annotations | object | `{}` | Annotations to add to the service account |
|
||||||
|
| serviceAccount.create | bool | `true` | Specifies whether a service account should be created |
|
||||||
|
| serviceAccount.name | string | `""` | The name of the service account to use. If not set and create is true, a name is generated using the fullname template |
|
||||||
|
| tolerations | list | `[]` | [Tolerations for use with node taints](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/) |
|
1740
charts/argo-applicationset/crds/crd-applicationset.yaml
Normal file
1740
charts/argo-applicationset/crds/crd-applicationset.yaml
Normal file
File diff suppressed because it is too large
Load diff
65
charts/argo-applicationset/templates/_helpers.tpl
Normal file
65
charts/argo-applicationset/templates/_helpers.tpl
Normal file
|
@ -0,0 +1,65 @@
|
||||||
|
{{/*
|
||||||
|
Expand the name of the chart.
|
||||||
|
*/}}
|
||||||
|
{{- define "argo-applicationset.name" -}}
|
||||||
|
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }}
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
|
{{/*
|
||||||
|
Create a default fully qualified app name.
|
||||||
|
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
|
||||||
|
If release name contains chart name it will be used as a full name.
|
||||||
|
*/}}
|
||||||
|
{{- define "argo-applicationset.fullname" -}}
|
||||||
|
{{- if .Values.fullnameOverride }}
|
||||||
|
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" }}
|
||||||
|
{{- else }}
|
||||||
|
{{- $name := default .Chart.Name .Values.nameOverride }}
|
||||||
|
{{- if contains $name .Release.Name }}
|
||||||
|
{{- .Release.Name | trunc 63 | trimSuffix "-" }}
|
||||||
|
{{- else }}
|
||||||
|
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
|
{{/*
|
||||||
|
Create chart name and version as used by the chart label.
|
||||||
|
*/}}
|
||||||
|
{{- define "argo-applicationset.chart" -}}
|
||||||
|
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }}
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
|
{{/*
|
||||||
|
Common labels
|
||||||
|
*/}}
|
||||||
|
{{- define "argo-applicationset.labels" -}}
|
||||||
|
helm.sh/chart: {{ include "argo-applicationset.chart" . }}
|
||||||
|
{{ include "argo-applicationset.selectorLabels" . }}
|
||||||
|
{{- if .Chart.AppVersion }}
|
||||||
|
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
|
||||||
|
{{- end }}
|
||||||
|
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
||||||
|
app.kubernetes.io/name: {{ include "argo-applicationset.name" . }}
|
||||||
|
app.kubernetes.io/part-of: argo-cd-applicationset
|
||||||
|
app.kubernetes.io/component: controller
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
|
{{/*
|
||||||
|
Selector labels
|
||||||
|
*/}}
|
||||||
|
{{- define "argo-applicationset.selectorLabels" -}}
|
||||||
|
app.kubernetes.io/name: {{ include "argo-applicationset.name" . }}
|
||||||
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
|
{{/*
|
||||||
|
Create the name of the service account to use
|
||||||
|
*/}}
|
||||||
|
{{- define "argo-applicationset.serviceAccountName" -}}
|
||||||
|
{{- if .Values.serviceAccount.create }}
|
||||||
|
{{- default (include "argo-applicationset.fullname" .) .Values.serviceAccount.name }}
|
||||||
|
{{- else }}
|
||||||
|
{{- default "default" .Values.serviceAccount.name }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
6
charts/argo-applicationset/templates/crds.yaml
Normal file
6
charts/argo-applicationset/templates/crds.yaml
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
{{- if .Values.installCRDs }}
|
||||||
|
{{- range $path, $_ := .Files.Glob "crds/*.yaml" }}
|
||||||
|
{{ $.Files.Get $path }}
|
||||||
|
---
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
63
charts/argo-applicationset/templates/deployment.yaml
Normal file
63
charts/argo-applicationset/templates/deployment.yaml
Normal file
|
@ -0,0 +1,63 @@
|
||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
name: {{ include "argo-applicationset.fullname" . }}
|
||||||
|
labels:
|
||||||
|
{{- include "argo-applicationset.labels" . | nindent 4 }}
|
||||||
|
spec:
|
||||||
|
replicas: {{ .Values.replicaCount }}
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
{{- include "argo-applicationset.selectorLabels" . | nindent 6 }}
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
{{- with .Values.podAnnotations }}
|
||||||
|
annotations:
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
|
labels:
|
||||||
|
{{- include "argo-applicationset.selectorLabels" . | nindent 8 }}
|
||||||
|
spec:
|
||||||
|
{{- with .Values.imagePullSecrets }}
|
||||||
|
imagePullSecrets:
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
|
serviceAccountName: {{ include "argo-applicationset.serviceAccountName" . }}
|
||||||
|
securityContext:
|
||||||
|
{{- toYaml .Values.podSecurityContext | nindent 8 }}
|
||||||
|
containers:
|
||||||
|
- name: {{ .Chart.Name }}
|
||||||
|
securityContext:
|
||||||
|
{{- toYaml .Values.securityContext | nindent 12 }}
|
||||||
|
command:
|
||||||
|
- applicationset-controller
|
||||||
|
- --metrics-addr={{ .Values.args.metricsAddr }}
|
||||||
|
- --probe-addr={{ .Values.args.probeBindAddr }}
|
||||||
|
{{- if or (gt ( .Values.replicaCount | int64) 1) .Values.args.enableLeaderElection }}
|
||||||
|
- --enable-leader-election=true
|
||||||
|
{{- end }}
|
||||||
|
- --namespace={{ .Values.args.namespace }}
|
||||||
|
- --argocd-repo-server={{ .Values.args.argocdRepoServer }}
|
||||||
|
- --policy={{ .Values.args.policy }}
|
||||||
|
- --debug={{ .Values.args.debug }}
|
||||||
|
- --dry-run={{ .Values.args.dryRun }}
|
||||||
|
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
|
||||||
|
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||||
|
ports:
|
||||||
|
- name: http
|
||||||
|
containerPort: {{ (split ":" .Values.args.probeBindAddr)._1 }}
|
||||||
|
protocol: TCP
|
||||||
|
resources:
|
||||||
|
{{- toYaml .Values.resources | nindent 12 }}
|
||||||
|
{{- with .Values.nodeSelector }}
|
||||||
|
nodeSelector:
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with .Values.affinity }}
|
||||||
|
affinity:
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with .Values.tolerations }}
|
||||||
|
tolerations:
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
57
charts/argo-applicationset/templates/psp.yaml
Normal file
57
charts/argo-applicationset/templates/psp.yaml
Normal file
|
@ -0,0 +1,57 @@
|
||||||
|
{{- if .Values.rbac.pspEnabled }}
|
||||||
|
apiVersion: policy/v1beta1
|
||||||
|
kind: PodSecurityPolicy
|
||||||
|
metadata:
|
||||||
|
name: {{ template "argo-applicationset.fullname" . }}
|
||||||
|
labels:
|
||||||
|
{{- include "argo-applicationset.labels" . | nindent 4 }}
|
||||||
|
annotations:
|
||||||
|
seccomp.security.alpha.kubernetes.io/allowedProfileNames: '*'
|
||||||
|
spec:
|
||||||
|
privileged: false
|
||||||
|
hostIPC: false
|
||||||
|
hostNetwork: false
|
||||||
|
hostPID: false
|
||||||
|
readOnlyRootFilesystem: false
|
||||||
|
allowPrivilegeEscalation: false
|
||||||
|
allowedCapabilities:
|
||||||
|
- '*'
|
||||||
|
fsGroup:
|
||||||
|
rule: RunAsAny
|
||||||
|
runAsUser:
|
||||||
|
rule: RunAsAny
|
||||||
|
seLinux:
|
||||||
|
rule: RunAsAny
|
||||||
|
supplementalGroups:
|
||||||
|
rule: RunAsAny
|
||||||
|
volumes:
|
||||||
|
- '*'
|
||||||
|
---
|
||||||
|
kind: ClusterRole
|
||||||
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
|
metadata:
|
||||||
|
name: {{ template "argo-applicationset.fullname" . }}-psp
|
||||||
|
labels:
|
||||||
|
{{- include "argo-applicationset.labels" . | nindent 4 }}
|
||||||
|
rules:
|
||||||
|
- apiGroups: ['policy']
|
||||||
|
resources: ['podsecuritypolicies']
|
||||||
|
verbs: ['use']
|
||||||
|
resourceNames:
|
||||||
|
- {{ template "argo-applicationset.fullname" . }}
|
||||||
|
---
|
||||||
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
|
kind: RoleBinding
|
||||||
|
metadata:
|
||||||
|
name: {{ template "argo-applicationset.fullname" . }}-psp
|
||||||
|
labels:
|
||||||
|
{{- include "argo-applicationset.labels" . | nindent 4 }}
|
||||||
|
roleRef:
|
||||||
|
apiGroup: rbac.authorization.k8s.io
|
||||||
|
kind: ClusterRole
|
||||||
|
name: {{ template "argo-applicationset.fullname" . }}-psp
|
||||||
|
subjects:
|
||||||
|
- kind: ServiceAccount
|
||||||
|
name: {{ template "argo-applicationset.serviceAccountName" . }}
|
||||||
|
namespace: {{ .Release.Namespace }}
|
||||||
|
{{- end }}
|
89
charts/argo-applicationset/templates/rbac.yaml
Normal file
89
charts/argo-applicationset/templates/rbac.yaml
Normal file
|
@ -0,0 +1,89 @@
|
||||||
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
|
kind: Role
|
||||||
|
metadata:
|
||||||
|
name: {{ include "argo-applicationset.fullname" . }}
|
||||||
|
labels:
|
||||||
|
{{- include "argo-applicationset.labels" . | nindent 4 }}
|
||||||
|
rules:
|
||||||
|
- apiGroups:
|
||||||
|
- argoproj.io
|
||||||
|
resources:
|
||||||
|
- applications
|
||||||
|
- applicationsets
|
||||||
|
- applicationsets/finalizers
|
||||||
|
verbs:
|
||||||
|
- create
|
||||||
|
- delete
|
||||||
|
- get
|
||||||
|
- list
|
||||||
|
- patch
|
||||||
|
- update
|
||||||
|
- watch
|
||||||
|
- apiGroups:
|
||||||
|
- argoproj.io
|
||||||
|
resources:
|
||||||
|
- applicationsets/status
|
||||||
|
verbs:
|
||||||
|
- get
|
||||||
|
- patch
|
||||||
|
- update
|
||||||
|
- apiGroups:
|
||||||
|
- ''
|
||||||
|
resources:
|
||||||
|
- events
|
||||||
|
verbs:
|
||||||
|
- create
|
||||||
|
- delete
|
||||||
|
- get
|
||||||
|
- list
|
||||||
|
- patch
|
||||||
|
- update
|
||||||
|
- watch
|
||||||
|
- apiGroups:
|
||||||
|
- ''
|
||||||
|
resources:
|
||||||
|
- secrets
|
||||||
|
verbs:
|
||||||
|
- get
|
||||||
|
- list
|
||||||
|
- watch
|
||||||
|
- apiGroups:
|
||||||
|
- ''
|
||||||
|
resources:
|
||||||
|
- configmaps
|
||||||
|
verbs:
|
||||||
|
- get
|
||||||
|
- list
|
||||||
|
- watch
|
||||||
|
- create
|
||||||
|
- update
|
||||||
|
- patch
|
||||||
|
- delete
|
||||||
|
- apiGroups:
|
||||||
|
- ''
|
||||||
|
resources:
|
||||||
|
- configmaps/status
|
||||||
|
verbs:
|
||||||
|
- get
|
||||||
|
- update
|
||||||
|
- patch
|
||||||
|
- apiGroups:
|
||||||
|
- ''
|
||||||
|
resources:
|
||||||
|
- events
|
||||||
|
verbs:
|
||||||
|
- create
|
||||||
|
---
|
||||||
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
|
kind: RoleBinding
|
||||||
|
metadata:
|
||||||
|
name: {{ include "argo-applicationset.fullname" . }}
|
||||||
|
labels:
|
||||||
|
{{- include "argo-applicationset.labels" . | nindent 4 }}
|
||||||
|
roleRef:
|
||||||
|
apiGroup: rbac.authorization.k8s.io
|
||||||
|
kind: Role
|
||||||
|
name: {{ include "argo-applicationset.fullname" . }}
|
||||||
|
subjects:
|
||||||
|
- kind: ServiceAccount
|
||||||
|
name: {{ include "argo-applicationset.serviceAccountName" . }}
|
12
charts/argo-applicationset/templates/serviceaccount.yaml
Normal file
12
charts/argo-applicationset/templates/serviceaccount.yaml
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
{{- if .Values.serviceAccount.create -}}
|
||||||
|
apiVersion: v1
|
||||||
|
kind: ServiceAccount
|
||||||
|
metadata:
|
||||||
|
name: {{ include "argo-applicationset.serviceAccountName" . }}
|
||||||
|
labels:
|
||||||
|
{{- include "argo-applicationset.labels" . | nindent 4 }}
|
||||||
|
{{- with .Values.serviceAccount.annotations }}
|
||||||
|
annotations:
|
||||||
|
{{- toYaml . | nindent 4 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
72
charts/argo-applicationset/values.yaml
Normal file
72
charts/argo-applicationset/values.yaml
Normal file
|
@ -0,0 +1,72 @@
|
||||||
|
# Default values for argo-applicationset.
|
||||||
|
# This is a YAML-formatted file.
|
||||||
|
# Declare variables to be passed into your templates.
|
||||||
|
|
||||||
|
replicaCount: 1
|
||||||
|
|
||||||
|
installCRDs: true
|
||||||
|
|
||||||
|
image:
|
||||||
|
# The image repository
|
||||||
|
repository: quay.io/argocdapplicationset/argocd-applicationset
|
||||||
|
# Image pull policy
|
||||||
|
pullPolicy: IfNotPresent
|
||||||
|
# Overrides the image tag whose default is the chart appVersion.
|
||||||
|
tag: ""
|
||||||
|
|
||||||
|
args:
|
||||||
|
metricsAddr: :8080
|
||||||
|
probeBindAddr: :8081
|
||||||
|
enableLeaderElection: false
|
||||||
|
namespace: argocd
|
||||||
|
argocdRepoServer: argocd-repo-server:8081
|
||||||
|
policy: sync
|
||||||
|
debug: false
|
||||||
|
dryRun: false
|
||||||
|
|
||||||
|
imagePullSecrets: []
|
||||||
|
nameOverride: ""
|
||||||
|
fullnameOverride: ""
|
||||||
|
|
||||||
|
serviceAccount:
|
||||||
|
# Specifies whether a service account should be created
|
||||||
|
create: true
|
||||||
|
# Annotations to add to the service account
|
||||||
|
annotations: {}
|
||||||
|
# The name of the service account to use.
|
||||||
|
# If not set and create is true, a name is generated using the fullname template
|
||||||
|
name: ""
|
||||||
|
|
||||||
|
podAnnotations: {}
|
||||||
|
|
||||||
|
rbac:
|
||||||
|
pspEnabled: true
|
||||||
|
|
||||||
|
podSecurityContext: {}
|
||||||
|
# fsGroup: 2000
|
||||||
|
|
||||||
|
securityContext: {}
|
||||||
|
# capabilities:
|
||||||
|
# drop:
|
||||||
|
# - ALL
|
||||||
|
# readOnlyRootFilesystem: true
|
||||||
|
# runAsNonRoot: true
|
||||||
|
# runAsUser: 1000
|
||||||
|
|
||||||
|
resources: {}
|
||||||
|
# We usually recommend not to specify default resources and to leave this as a conscious
|
||||||
|
# choice for the user. This also increases chances charts run on environments with little
|
||||||
|
# resources, such as Minikube. If you do want to specify resources, uncomment the following
|
||||||
|
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
|
||||||
|
# limits:
|
||||||
|
# cpu: 100m
|
||||||
|
# memory: 128Mi
|
||||||
|
# requests:
|
||||||
|
# cpu: 100m
|
||||||
|
# memory: 128Mi
|
||||||
|
|
||||||
|
nodeSelector: {}
|
||||||
|
|
||||||
|
tolerations: []
|
||||||
|
|
||||||
|
affinity: {}
|
|
@ -1,2 +1,2 @@
|
||||||
*.tgz
|
/*.tgz
|
||||||
output
|
output
|
||||||
|
|
|
@ -2,7 +2,7 @@ apiVersion: v1
|
||||||
appVersion: 1.8.4
|
appVersion: 1.8.4
|
||||||
description: A Helm chart for ArgoCD, a declarative, GitOps continuous delivery tool for Kubernetes.
|
description: A Helm chart for ArgoCD, a declarative, GitOps continuous delivery tool for Kubernetes.
|
||||||
name: argo-cd
|
name: argo-cd
|
||||||
version: 2.17.2
|
version: 2.17.5
|
||||||
home: https://github.com/argoproj/argo-helm
|
home: https://github.com/argoproj/argo-helm
|
||||||
icon: https://raw.githubusercontent.com/argoproj/argo/master/docs/assets/argo.png
|
icon: https://raw.githubusercontent.com/argoproj/argo/master/docs/assets/argo.png
|
||||||
keywords:
|
keywords:
|
||||||
|
|
|
@ -115,4 +115,27 @@ Create chart name and version as used by the chart label.
|
||||||
*/}}
|
*/}}
|
||||||
{{- define "argo-cd.chart" -}}
|
{{- define "argo-cd.chart" -}}
|
||||||
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}}
|
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
|
{{/*
|
||||||
|
Common labels
|
||||||
|
*/}}
|
||||||
|
{{- define "argo-cd.labels" -}}
|
||||||
|
helm.sh/chart: {{ include "argo-cd.chart" .context }}
|
||||||
|
{{ include "argo-cd.selectorLabels" (dict "context" .context "component" .component "name" .name) }}
|
||||||
|
app.kubernetes.io/managed-by: {{ .context.Release.Service }}
|
||||||
|
app.kubernetes.io/part-of: argocd
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
|
{{/*
|
||||||
|
Selector labels
|
||||||
|
*/}}
|
||||||
|
{{- define "argo-cd.selectorLabels" -}}
|
||||||
|
{{- if .name -}}
|
||||||
|
app.kubernetes.io/name: {{ include "argo-cd.name" .context }}-{{ .name }}
|
||||||
|
{{ end -}}
|
||||||
|
app.kubernetes.io/instance: {{ .context.Release.Name }}
|
||||||
|
{{- if .component }}
|
||||||
|
app.kubernetes.io/component: {{ .component }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
|
@ -4,12 +4,7 @@ kind: ClusterRole
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ template "argo-cd.controller.fullname" . }}
|
name: {{ template "argo-cd.controller.fullname" . }}
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: {{ include "argo-cd.name" . }}-{{ .Values.controller.name }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.controller.name "name" .Values.controller.name) | nindent 4 }}
|
||||||
helm.sh/chart: {{ include "argo-cd.chart" . }}
|
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
|
||||||
app.kubernetes.io/part-of: argocd
|
|
||||||
app.kubernetes.io/component: {{ .Values.controller.name }}
|
|
||||||
rules:
|
rules:
|
||||||
- apiGroups:
|
- apiGroups:
|
||||||
- '*'
|
- '*'
|
||||||
|
|
|
@ -4,12 +4,7 @@ kind: ClusterRoleBinding
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ template "argo-cd.controller.fullname" . }}
|
name: {{ template "argo-cd.controller.fullname" . }}
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: {{ include "argo-cd.name" . }}-{{ .Values.controller.name }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.controller.name "name" .Values.controller.name) | nindent 4 }}
|
||||||
helm.sh/chart: {{ include "argo-cd.chart" . }}
|
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
|
||||||
app.kubernetes.io/part-of: argocd
|
|
||||||
app.kubernetes.io/component: {{ .Values.controller.name }}
|
|
||||||
roleRef:
|
roleRef:
|
||||||
apiGroup: rbac.authorization.k8s.io
|
apiGroup: rbac.authorization.k8s.io
|
||||||
kind: ClusterRole
|
kind: ClusterRole
|
||||||
|
|
|
@ -4,18 +4,12 @@ kind: {{ .Values.controller.enableStatefulSet | ternary "StatefulSet" "Deploymen
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ template "argo-cd.controller.fullname" . }}
|
name: {{ template "argo-cd.controller.fullname" . }}
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: {{ include "argo-cd.name" . }}-{{ .Values.controller.name }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.controller.name "name" .Values.controller.name) | nindent 4 }}
|
||||||
helm.sh/chart: {{ include "argo-cd.chart" . }}
|
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
|
||||||
app.kubernetes.io/part-of: argocd
|
|
||||||
app.kubernetes.io/component: {{ .Values.controller.name }}
|
|
||||||
app.kubernetes.io/version: {{ default .Values.global.image.tag .Values.controller.image.tag | quote }}
|
app.kubernetes.io/version: {{ default .Values.global.image.tag .Values.controller.image.tag | quote }}
|
||||||
spec:
|
spec:
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app.kubernetes.io/name: {{ include "argo-cd.name" . }}-{{ .Values.controller.name }}
|
{{- include "argo-cd.selectorLabels" (dict "context" . "name" .Values.controller.name) | nindent 6 }}
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
||||||
{{- if .Values.controller.enableStatefulSet }}
|
{{- if .Values.controller.enableStatefulSet }}
|
||||||
serviceName: {{ template "argo-cd.controller.fullname" . }}
|
serviceName: {{ template "argo-cd.controller.fullname" . }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
@ -30,12 +24,7 @@ spec:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: {{ include "argo-cd.name" . }}-{{ .Values.controller.name }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.controller.name "name" .Values.controller.name) | nindent 8 }}
|
||||||
helm.sh/chart: {{ include "argo-cd.chart" . }}
|
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
|
||||||
app.kubernetes.io/part-of: argocd
|
|
||||||
app.kubernetes.io/component: {{ .Values.controller.name }}
|
|
||||||
app.kubernetes.io/version: {{ default .Values.global.image.tag .Values.controller.image.tag | quote }}
|
app.kubernetes.io/version: {{ default .Values.global.image.tag .Values.controller.image.tag | quote }}
|
||||||
{{- if .Values.controller.podLabels }}
|
{{- if .Values.controller.podLabels }}
|
||||||
{{- toYaml .Values.controller.podLabels | nindent 8 }}
|
{{- toYaml .Values.controller.podLabels | nindent 8 }}
|
||||||
|
|
|
@ -9,12 +9,7 @@ metadata:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: {{ include "argo-cd.name" . }}-metrics
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.controller.name "name" "metrics") | nindent 4 }}
|
||||||
helm.sh/chart: {{ include "argo-cd.chart" . }}
|
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
|
||||||
app.kubernetes.io/part-of: argocd
|
|
||||||
app.kubernetes.io/component: {{ .Values.controller.name }}
|
|
||||||
{{- if .Values.controller.metrics.service.labels }}
|
{{- if .Values.controller.metrics.service.labels }}
|
||||||
{{- toYaml .Values.controller.metrics.service.labels | nindent 4 }}
|
{{- toYaml .Values.controller.metrics.service.labels | nindent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
@ -26,6 +21,5 @@ spec:
|
||||||
port: {{ .Values.controller.metrics.service.servicePort }}
|
port: {{ .Values.controller.metrics.service.servicePort }}
|
||||||
targetPort: controller
|
targetPort: controller
|
||||||
selector:
|
selector:
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
{{- include "argo-cd.selectorLabels" (dict "context" . "name" .Values.controller.name) | nindent 4 }}
|
||||||
app.kubernetes.io/name: {{ include "argo-cd.name" . }}-{{ .Values.controller.name }}
|
|
||||||
{{- end }}
|
{{- end }}
|
|
@ -7,12 +7,7 @@ metadata:
|
||||||
namespace: {{ .Values.controller.metrics.rules.namespace }}
|
namespace: {{ .Values.controller.metrics.rules.namespace }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: {{ include "argo-cd.name" . }}-{{ .Values.controller.name }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.controller.name "name" .Values.controller.name) | nindent 4 }}
|
||||||
helm.sh/chart: {{ include "argo-cd.chart" . }}
|
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
|
||||||
app.kubernetes.io/part-of: argocd
|
|
||||||
app.kubernetes.io/component: {{ .Values.controller.name }}
|
|
||||||
{{- if .Values.controller.metrics.rules.selector }}
|
{{- if .Values.controller.metrics.rules.selector }}
|
||||||
{{- toYaml .Values.controller.metrics.rules.selector | nindent 4 }}
|
{{- toYaml .Values.controller.metrics.rules.selector | nindent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -3,12 +3,7 @@ kind: Role
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ template "argo-cd.controller.fullname" . }}
|
name: {{ template "argo-cd.controller.fullname" . }}
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: {{ include "argo-cd.name" . }}-{{ .Values.controller.name }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.controller.name "name" .Values.controller.name) | nindent 4 }}
|
||||||
helm.sh/chart: {{ include "argo-cd.chart" . }}
|
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
|
||||||
app.kubernetes.io/part-of: argocd
|
|
||||||
app.kubernetes.io/component: {{ .Values.controller.name }}
|
|
||||||
rules:
|
rules:
|
||||||
- apiGroups:
|
- apiGroups:
|
||||||
- ""
|
- ""
|
||||||
|
|
|
@ -3,12 +3,7 @@ kind: RoleBinding
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ template "argo-cd.controller.fullname" . }}
|
name: {{ template "argo-cd.controller.fullname" . }}
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: {{ include "argo-cd.name" . }}-{{ .Values.controller.name }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.controller.name "name" .Values.controller.name) | nindent 4 }}
|
||||||
helm.sh/chart: {{ include "argo-cd.chart" . }}
|
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
|
||||||
app.kubernetes.io/part-of: argocd
|
|
||||||
app.kubernetes.io/component: {{ .Values.controller.name }}
|
|
||||||
roleRef:
|
roleRef:
|
||||||
apiGroup: rbac.authorization.k8s.io
|
apiGroup: rbac.authorization.k8s.io
|
||||||
kind: Role
|
kind: Role
|
||||||
|
|
|
@ -9,17 +9,11 @@ metadata:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
name: {{ template "argo-cd.controller.fullname" . }}
|
name: {{ template "argo-cd.controller.fullname" . }}
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: {{ include "argo-cd.name" . }}-{{ .Values.controller.name }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.controller.name "name" .Values.controller.name) | nindent 4 }}
|
||||||
helm.sh/chart: {{ include "argo-cd.chart" . }}
|
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
|
||||||
app.kubernetes.io/part-of: argocd
|
|
||||||
app.kubernetes.io/component: {{ .Values.controller.name }}
|
|
||||||
spec:
|
spec:
|
||||||
ports:
|
ports:
|
||||||
- name: {{ .Values.controller.service.portName }}
|
- name: {{ .Values.controller.service.portName }}
|
||||||
port: {{ .Values.controller.service.port }}
|
port: {{ .Values.controller.service.port }}
|
||||||
targetPort: {{ .Values.controller.containerPort }}
|
targetPort: {{ .Values.controller.containerPort }}
|
||||||
selector:
|
selector:
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
{{- include "argo-cd.selectorLabels" (dict "context" . "name" .Values.controller.name) | nindent 4 }}
|
||||||
app.kubernetes.io/name: {{ include "argo-cd.name" . }}-{{ .Values.controller.name }}
|
|
|
@ -11,10 +11,5 @@ metadata:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: {{ include "argo-cd.name" . }}-{{ .Values.controller.name }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.controller.name "name" .Values.controller.name) | nindent 4 }}
|
||||||
helm.sh/chart: {{ include "argo-cd.chart" . }}
|
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
|
||||||
app.kubernetes.io/part-of: argocd
|
|
||||||
app.kubernetes.io/component: {{ .Values.controller.name }}
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -7,12 +7,7 @@ metadata:
|
||||||
namespace: {{ .Values.controller.metrics.serviceMonitor.namespace }}
|
namespace: {{ .Values.controller.metrics.serviceMonitor.namespace }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: {{ include "argo-cd.name" . }}-{{ .Values.controller.name }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.controller.name "name" .Values.controller.name) | nindent 4 }}
|
||||||
helm.sh/chart: {{ include "argo-cd.chart" . }}
|
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
|
||||||
app.kubernetes.io/part-of: argocd
|
|
||||||
app.kubernetes.io/component: {{ .Values.controller.name }}
|
|
||||||
{{- if .Values.controller.metrics.serviceMonitor.selector }}
|
{{- if .Values.controller.metrics.serviceMonitor.selector }}
|
||||||
{{- toYaml .Values.controller.metrics.serviceMonitor.selector | nindent 4 }}
|
{{- toYaml .Values.controller.metrics.serviceMonitor.selector | nindent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
@ -29,7 +24,6 @@ spec:
|
||||||
- {{ .Release.Namespace }}
|
- {{ .Release.Namespace }}
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app.kubernetes.io/name: {{ include "argo-cd.name" . }}-metrics
|
{{- include "argo-cd.selectorLabels" (dict "context" . "component" .Values.controller.name "name" "metrics") | nindent 6 }}
|
||||||
app.kubernetes.io/component: {{ .Values.controller.name }}
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
|
|
|
@ -4,12 +4,7 @@ kind: ConfigMap
|
||||||
metadata:
|
metadata:
|
||||||
name: argocd-cm
|
name: argocd-cm
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: {{ include "argo-cd.name" . }}-cm
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.server.name "name" "cm") | nindent 4 }}
|
||||||
helm.sh/chart: {{ include "argo-cd.chart" . }}
|
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
|
||||||
app.kubernetes.io/part-of: argocd
|
|
||||||
app.kubernetes.io/component: {{ .Values.server.name }}
|
|
||||||
{{- if .Values.server.configAnnotations }}
|
{{- if .Values.server.configAnnotations }}
|
||||||
annotations:
|
annotations:
|
||||||
{{- range $key, $value := .Values.server.configAnnotations }}
|
{{- range $key, $value := .Values.server.configAnnotations }}
|
||||||
|
|
|
@ -4,12 +4,7 @@ kind: ConfigMap
|
||||||
metadata:
|
metadata:
|
||||||
name: argocd-rbac-cm
|
name: argocd-rbac-cm
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: {{ include "argo-cd.name" . }}-rbac-cm
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.server.name "name" "rbac-cm") | nindent 4 }}
|
||||||
helm.sh/chart: {{ include "argo-cd.chart" . }}
|
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
|
||||||
app.kubernetes.io/part-of: argocd
|
|
||||||
app.kubernetes.io/component: {{ .Values.server.name }}
|
|
||||||
{{- if .Values.server.rbacConfigAnnotations }}
|
{{- if .Values.server.rbacConfigAnnotations }}
|
||||||
annotations:
|
annotations:
|
||||||
{{- range $key, $value := .Values.server.rbacConfigAnnotations }}
|
{{- range $key, $value := .Values.server.rbacConfigAnnotations }}
|
||||||
|
|
|
@ -4,12 +4,7 @@ kind: Secret
|
||||||
metadata:
|
metadata:
|
||||||
name: argocd-secret
|
name: argocd-secret
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: {{ include "argo-cd.name" . }}-secret
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.server.name "name" "secret") | nindent 4 }}
|
||||||
helm.sh/chart: {{ include "argo-cd.chart" . }}
|
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
|
||||||
app.kubernetes.io/part-of: argocd
|
|
||||||
app.kubernetes.io/component: {{ .Values.server.name }}
|
|
||||||
{{- if .Values.configs.secret.annotations }}
|
{{- if .Values.configs.secret.annotations }}
|
||||||
annotations:
|
annotations:
|
||||||
{{- range $key, $value := .Values.configs.secret.annotations }}
|
{{- range $key, $value := .Values.configs.secret.annotations }}
|
||||||
|
|
|
@ -3,12 +3,7 @@ apiVersion: v1
|
||||||
kind: ConfigMap
|
kind: ConfigMap
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: {{ include "argo-cd.name" . }}-ssh-known-hosts-cm
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.server.name "name" "ssh-known-hosts-cm") | nindent 4 }}
|
||||||
helm.sh/chart: {{ include "argo-cd.chart" . }}
|
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
|
||||||
app.kubernetes.io/part-of: argocd
|
|
||||||
app.kubernetes.io/component: {{ .Values.server.name }}
|
|
||||||
{{- if .Values.configs.knownHostsAnnotations }}
|
{{- if .Values.configs.knownHostsAnnotations }}
|
||||||
annotations:
|
annotations:
|
||||||
{{- range $key, $value := .Values.configs.knownHostsAnnotations }}
|
{{- range $key, $value := .Values.configs.knownHostsAnnotations }}
|
||||||
|
|
|
@ -5,12 +5,7 @@ apiVersion: v1
|
||||||
kind: ConfigMap
|
kind: ConfigMap
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: {{ include "argo-cd.name" . }}-tls-certs-cm
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.server.name "name" "tls-certs-cm") | nindent 4 }}
|
||||||
helm.sh/chart: {{ include "argo-cd.chart" . }}
|
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
|
||||||
app.kubernetes.io/part-of: argocd
|
|
||||||
app.kubernetes.io/component: {{ .Values.server.name }}
|
|
||||||
{{- if .Values.configs.tlsCertsAnnotations }}
|
{{- if .Values.configs.tlsCertsAnnotations }}
|
||||||
annotations:
|
annotations:
|
||||||
{{- range $key, $value := .Values.configs.tlsCertsAnnotations }}
|
{{- range $key, $value := .Values.configs.tlsCertsAnnotations }}
|
||||||
|
|
|
@ -4,18 +4,12 @@ kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ template "argo-cd.repoServer.fullname" . }}
|
name: {{ template "argo-cd.repoServer.fullname" . }}
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: {{ include "argo-cd.name" . }}-{{ .Values.repoServer.name }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.repoServer.name "name" .Values.repoServer.name) | nindent 4 }}
|
||||||
helm.sh/chart: {{ include "argo-cd.chart" . }}
|
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
|
||||||
app.kubernetes.io/part-of: argocd
|
|
||||||
app.kubernetes.io/component: {{ .Values.repoServer.name }}
|
|
||||||
app.kubernetes.io/version: {{ default .Values.global.image.tag .Values.repoServer.image.tag | quote }}
|
app.kubernetes.io/version: {{ default .Values.global.image.tag .Values.repoServer.image.tag | quote }}
|
||||||
spec:
|
spec:
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app.kubernetes.io/name: {{ include "argo-cd.name" . }}-{{ .Values.repoServer.name }}
|
{{- include "argo-cd.selectorLabels" (dict "context" . "name" .Values.repoServer.name) | nindent 6 }}
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
||||||
revisionHistoryLimit: 5
|
revisionHistoryLimit: 5
|
||||||
{{- if (ne .Values.repoServer.autoscaling.enabled true) }}
|
{{- if (ne .Values.repoServer.autoscaling.enabled true) }}
|
||||||
replicas: {{ .Values.repoServer.replicas }}
|
replicas: {{ .Values.repoServer.replicas }}
|
||||||
|
@ -29,12 +23,7 @@ spec:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: {{ include "argo-cd.name" . }}-{{ .Values.repoServer.name }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.repoServer.name "name" .Values.repoServer.name) | nindent 8 }}
|
||||||
helm.sh/chart: {{ include "argo-cd.chart" . }}
|
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
|
||||||
app.kubernetes.io/part-of: argocd
|
|
||||||
app.kubernetes.io/component: {{ .Values.repoServer.name }}
|
|
||||||
app.kubernetes.io/version: {{ default .Values.global.image.tag .Values.repoServer.image.tag | quote }}
|
app.kubernetes.io/version: {{ default .Values.global.image.tag .Values.repoServer.image.tag | quote }}
|
||||||
{{- if .Values.repoServer.podLabels }}
|
{{- if .Values.repoServer.podLabels }}
|
||||||
{{- toYaml .Values.repoServer.podLabels | nindent 8 }}
|
{{- toYaml .Values.repoServer.podLabels | nindent 8 }}
|
||||||
|
|
|
@ -3,12 +3,7 @@ apiVersion: autoscaling/v2beta1
|
||||||
kind: HorizontalPodAutoscaler
|
kind: HorizontalPodAutoscaler
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: {{ include "argo-cd.name" . }}-{{ .Values.repoServer.name }}-hpa
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.repoServer.name "name" (printf "%s-hpa" .Values.repoServer.name)) | nindent 4 }}
|
||||||
helm.sh/chart: {{ include "argo-cd.chart" . }}
|
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
|
||||||
app.kubernetes.io/part-of: argocd
|
|
||||||
app.kubernetes.io/component: {{ .Values.repoServer.name }}
|
|
||||||
name: {{ template "argo-cd.repoServer.fullname" . }}-hpa
|
name: {{ template "argo-cd.repoServer.fullname" . }}-hpa
|
||||||
spec:
|
spec:
|
||||||
scaleTargetRef:
|
scaleTargetRef:
|
||||||
|
|
|
@ -9,12 +9,7 @@ metadata:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: {{ template "argo-cd.repoServer.fullname" . }}-metrics
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.repoServer.name "name" (printf "%s-metrics" .Values.repoServer.name)) | nindent 4 }}
|
||||||
helm.sh/chart: {{ include "argo-cd.chart" . }}
|
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
|
||||||
app.kubernetes.io/part-of: argocd
|
|
||||||
app.kubernetes.io/component: {{ .Values.repoServer.name }}
|
|
||||||
{{- if .Values.repoServer.metrics.service.labels }}
|
{{- if .Values.repoServer.metrics.service.labels }}
|
||||||
{{- toYaml .Values.repoServer.metrics.service.labels | nindent 4 }}
|
{{- toYaml .Values.repoServer.metrics.service.labels | nindent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
@ -26,6 +21,5 @@ spec:
|
||||||
port: {{ .Values.repoServer.metrics.service.servicePort }}
|
port: {{ .Values.repoServer.metrics.service.servicePort }}
|
||||||
targetPort: metrics
|
targetPort: metrics
|
||||||
selector:
|
selector:
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
{{- include "argo-cd.selectorLabels" (dict "context" . "name" .Values.repoServer.name) | nindent 4 }}
|
||||||
app.kubernetes.io/name: {{ include "argo-cd.name" . }}-{{ .Values.repoServer.name }}
|
|
||||||
{{- end }}
|
{{- end }}
|
|
@ -4,12 +4,7 @@ kind: Secret
|
||||||
metadata:
|
metadata:
|
||||||
name: argocd-repository-credentials
|
name: argocd-repository-credentials
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: {{ include "argo-cd.name" . }}-secret
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.server.name "name" "secret") | nindent 4 }}
|
||||||
helm.sh/chart: {{ include "argo-cd.chart" . }}
|
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
|
||||||
app.kubernetes.io/part-of: argocd
|
|
||||||
app.kubernetes.io/component: {{ .Values.server.name }}
|
|
||||||
type: Opaque
|
type: Opaque
|
||||||
data:
|
data:
|
||||||
{{- range $key, $value := .Values.configs.repositoryCredentials }}
|
{{- range $key, $value := .Values.configs.repositoryCredentials }}
|
||||||
|
|
|
@ -4,12 +4,7 @@ kind: Role
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ template "argo-cd.repoServer.fullname" . }}
|
name: {{ template "argo-cd.repoServer.fullname" . }}
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: {{ include "argo-cd.name" . }}-{{ .Values.repoServer.name }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.repoServer.name "name" .Values.repoServer.name) | nindent 4 }}
|
||||||
helm.sh/chart: {{ include "argo-cd.chart" . }}
|
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
|
||||||
app.kubernetes.io/part-of: argocd
|
|
||||||
app.kubernetes.io/component: {{ .Values.repoServer.name }}
|
|
||||||
rules:
|
rules:
|
||||||
{{- if .Values.repoServer.rbac }}
|
{{- if .Values.repoServer.rbac }}
|
||||||
{{toYaml .Values.repoServer.rbac }}
|
{{toYaml .Values.repoServer.rbac }}
|
||||||
|
|
|
@ -4,12 +4,7 @@ kind: RoleBinding
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ template "argo-cd.repoServer.fullname" . }}
|
name: {{ template "argo-cd.repoServer.fullname" . }}
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: {{ include "argo-cd.name" . }}-{{ .Values.repoServer.name }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.repoServer.name "name" .Values.repoServer.name) | nindent 4 }}
|
||||||
helm.sh/chart: {{ include "argo-cd.chart" . }}
|
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
|
||||||
app.kubernetes.io/part-of: argocd
|
|
||||||
app.kubernetes.io/component: {{ .Values.repoServer.name }}
|
|
||||||
roleRef:
|
roleRef:
|
||||||
apiGroup: rbac.authorization.k8s.io
|
apiGroup: rbac.authorization.k8s.io
|
||||||
kind: Role
|
kind: Role
|
||||||
|
|
|
@ -8,12 +8,7 @@ metadata:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: {{ include "argo-cd.name" . }}-{{ .Values.repoServer.name }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.repoServer.name "name" .Values.repoServer.name) | nindent 4 }}
|
||||||
helm.sh/chart: {{ include "argo-cd.chart" . }}
|
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
|
||||||
app.kubernetes.io/part-of: argocd
|
|
||||||
app.kubernetes.io/component: {{ .Values.repoServer.name }}
|
|
||||||
name: {{ template "argo-cd.repoServer.fullname" . }}
|
name: {{ template "argo-cd.repoServer.fullname" . }}
|
||||||
spec:
|
spec:
|
||||||
ports:
|
ports:
|
||||||
|
@ -22,5 +17,4 @@ spec:
|
||||||
port: {{ .Values.repoServer.service.port }}
|
port: {{ .Values.repoServer.service.port }}
|
||||||
targetPort: repo-server
|
targetPort: repo-server
|
||||||
selector:
|
selector:
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
{{- include "argo-cd.selectorLabels" (dict "context" . "name" .Values.repoServer.name) | nindent 4 }}
|
||||||
app.kubernetes.io/name: {{ include "argo-cd.name" . }}-{{ .Values.repoServer.name }}
|
|
|
@ -11,10 +11,5 @@ metadata:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: {{ include "argo-cd.name" . }}-{{ .Values.repoServer.name }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.repoServer.name "name" .Values.repoServer.name) | nindent 4 }}
|
||||||
helm.sh/chart: {{ include "argo-cd.chart" . }}
|
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
|
||||||
app.kubernetes.io/part-of: argocd
|
|
||||||
app.kubernetes.io/component: {{ .Values.repoServer.name }}
|
|
||||||
{{- end }}
|
{{- end }}
|
|
@ -7,12 +7,7 @@ metadata:
|
||||||
namespace: {{ .Values.repoServer.metrics.serviceMonitor.namespace }}
|
namespace: {{ .Values.repoServer.metrics.serviceMonitor.namespace }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: {{ include "argo-cd.name" . }}-{{ .Values.repoServer.name }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.repoServer.name "name" .Values.repoServer.name) | nindent 4 }}
|
||||||
helm.sh/chart: {{ include "argo-cd.chart" . }}
|
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
|
||||||
app.kubernetes.io/part-of: argocd
|
|
||||||
app.kubernetes.io/component: {{ .Values.repoServer.name }}
|
|
||||||
{{- if .Values.repoServer.metrics.serviceMonitor.selector }}
|
{{- if .Values.repoServer.metrics.serviceMonitor.selector }}
|
||||||
{{- toYaml .Values.repoServer.metrics.serviceMonitor.selector | nindent 4 }}
|
{{- toYaml .Values.repoServer.metrics.serviceMonitor.selector | nindent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
@ -29,8 +24,6 @@ spec:
|
||||||
- {{ .Release.Namespace }}
|
- {{ .Release.Namespace }}
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
{{- include "argo-cd.selectorLabels" (dict "context" . "component" .Values.repoServer.name "name" (printf "%s-metrics" .Values.repoServer.name)) | nindent 6 }}
|
||||||
app.kubernetes.io/name: {{ template "argo-cd.repoServer.fullname" . }}-metrics
|
|
||||||
app.kubernetes.io/component: {{ .Values.repoServer.name }}
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
|
|
|
@ -4,12 +4,7 @@ kind: BackendConfig
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ template "argo-cd.server.fullname" . }}
|
name: {{ template "argo-cd.server.fullname" . }}
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: {{ include "argo-cd.name" . }}-{{ .Values.server.name }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.server.name "name" .Values.server.name) | nindent 4 }}
|
||||||
helm.sh/chart: {{ include "argo-cd.chart" . }}
|
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
|
||||||
app.kubernetes.io/part-of: argocd
|
|
||||||
app.kubernetes.io/component: {{ .Values.server.name }}
|
|
||||||
spec:
|
spec:
|
||||||
{{- toYaml .Values.server.GKEbackendConfig.spec | nindent 2 }}
|
{{- toYaml .Values.server.GKEbackendConfig.spec | nindent 2 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -12,12 +12,7 @@ kind: Certificate
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ template "argo-cd.server.fullname" . }}
|
name: {{ template "argo-cd.server.fullname" . }}
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: {{ include "argo-cd.name" . }}-{{ .Values.server.name }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.server.name "name" .Values.server.name) | nindent 4 }}
|
||||||
helm.sh/chart: {{ include "argo-cd.chart" . }}
|
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
|
||||||
app.kubernetes.io/part-of: argocd
|
|
||||||
app.kubernetes.io/component: {{ .Values.server.name }}
|
|
||||||
spec:
|
spec:
|
||||||
commonName: {{ .Values.server.certificate.domain | quote }}
|
commonName: {{ .Values.server.certificate.domain | quote }}
|
||||||
dnsNames:
|
dnsNames:
|
||||||
|
|
|
@ -4,12 +4,7 @@ kind: ClusterRole
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ template "argo-cd.server.fullname" . }}
|
name: {{ template "argo-cd.server.fullname" . }}
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: {{ include "argo-cd.name" . }}-{{ .Values.server.name }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.server.name "name" .Values.server.name) | nindent 4 }}
|
||||||
helm.sh/chart: {{ include "argo-cd.chart" . }}
|
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
|
||||||
app.kubernetes.io/part-of: argocd
|
|
||||||
app.kubernetes.io/component: {{ .Values.server.name }}
|
|
||||||
rules:
|
rules:
|
||||||
- apiGroups:
|
- apiGroups:
|
||||||
- '*'
|
- '*'
|
||||||
|
|
|
@ -4,12 +4,7 @@ kind: ClusterRoleBinding
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ template "argo-cd.server.fullname" . }}
|
name: {{ template "argo-cd.server.fullname" . }}
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: {{ include "argo-cd.name" . }}-{{ .Values.server.name }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.server.name "name" .Values.server.name) | nindent 4 }}
|
||||||
helm.sh/chart: {{ include "argo-cd.chart" . }}
|
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
|
||||||
app.kubernetes.io/part-of: argocd
|
|
||||||
app.kubernetes.io/component: {{ .Values.server.name }}
|
|
||||||
roleRef:
|
roleRef:
|
||||||
apiGroup: rbac.authorization.k8s.io
|
apiGroup: rbac.authorization.k8s.io
|
||||||
kind: ClusterRole
|
kind: ClusterRole
|
||||||
|
|
|
@ -4,18 +4,12 @@ kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ template "argo-cd.server.fullname" . }}
|
name: {{ template "argo-cd.server.fullname" . }}
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: {{ include "argo-cd.name" . }}-{{ .Values.server.name }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.server.name "name" .Values.server.name) | nindent 4 }}
|
||||||
helm.sh/chart: {{ include "argo-cd.chart" . }}
|
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
|
||||||
app.kubernetes.io/part-of: argocd
|
|
||||||
app.kubernetes.io/component: {{ .Values.server.name }}
|
|
||||||
app.kubernetes.io/version: {{ default .Values.global.image.tag .Values.server.image.tag | quote }}
|
app.kubernetes.io/version: {{ default .Values.global.image.tag .Values.server.image.tag | quote }}
|
||||||
spec:
|
spec:
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app.kubernetes.io/name: {{ include "argo-cd.name" . }}-{{ .Values.server.name }}
|
{{- include "argo-cd.selectorLabels" (dict "context" . "name" .Values.server.name) | nindent 6 }}
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
||||||
revisionHistoryLimit: 5
|
revisionHistoryLimit: 5
|
||||||
{{- if (ne .Values.server.autoscaling.enabled true) }}
|
{{- if (ne .Values.server.autoscaling.enabled true) }}
|
||||||
replicas: {{ .Values.server.replicas }}
|
replicas: {{ .Values.server.replicas }}
|
||||||
|
@ -29,12 +23,7 @@ spec:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: {{ include "argo-cd.name" . }}-{{ .Values.server.name }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.server.name "name" .Values.server.name) | nindent 8 }}
|
||||||
helm.sh/chart: {{ include "argo-cd.chart" . }}
|
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
|
||||||
app.kubernetes.io/part-of: argocd
|
|
||||||
app.kubernetes.io/component: {{ .Values.server.name }}
|
|
||||||
app.kubernetes.io/version: {{ default .Values.global.image.tag .Values.server.image.tag | quote }}
|
app.kubernetes.io/version: {{ default .Values.global.image.tag .Values.server.image.tag | quote }}
|
||||||
{{- if .Values.server.podLabels }}
|
{{- if .Values.server.podLabels }}
|
||||||
{{- toYaml .Values.server.podLabels | nindent 8 }}
|
{{- toYaml .Values.server.podLabels | nindent 8 }}
|
||||||
|
|
|
@ -3,12 +3,7 @@ apiVersion: autoscaling/v2beta1
|
||||||
kind: HorizontalPodAutoscaler
|
kind: HorizontalPodAutoscaler
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: {{ include "argo-cd.name" . }}-{{ .Values.server.name }}-hpa
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.server.name "name" (printf "%s-hpa" .Values.server.name)) | nindent 4 }}
|
||||||
helm.sh/chart: {{ include "argo-cd.chart" . }}
|
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
|
||||||
app.kubernetes.io/part-of: argocd
|
|
||||||
app.kubernetes.io/component: {{ .Values.server.name }}
|
|
||||||
name: {{ template "argo-cd.server.fullname" . }}-hpa
|
name: {{ template "argo-cd.server.fullname" . }}-hpa
|
||||||
spec:
|
spec:
|
||||||
scaleTargetRef:
|
scaleTargetRef:
|
||||||
|
|
|
@ -18,12 +18,7 @@ metadata:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
name: {{ template "argo-cd.server.fullname" . }}-grpc
|
name: {{ template "argo-cd.server.fullname" . }}-grpc
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: {{ include "argo-cd.name" . }}-{{ .Values.server.name }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.server.name "name" .Values.server.name) | nindent 4 }}
|
||||||
helm.sh/chart: {{ include "argo-cd.chart" . }}
|
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
|
||||||
app.kubernetes.io/part-of: argocd
|
|
||||||
app.kubernetes.io/component: {{ .Values.server.name }}
|
|
||||||
{{- if .Values.server.ingressGrpc.labels }}
|
{{- if .Values.server.ingressGrpc.labels }}
|
||||||
{{- toYaml .Values.server.ingressGrpc.labels | nindent 4 }}
|
{{- toYaml .Values.server.ingressGrpc.labels | nindent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -18,12 +18,7 @@ metadata:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
name: {{ template "argo-cd.server.fullname" . }}
|
name: {{ template "argo-cd.server.fullname" . }}
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: {{ include "argo-cd.name" . }}-{{ .Values.server.name }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.server.name "name" .Values.server.name) | nindent 4 }}
|
||||||
helm.sh/chart: {{ include "argo-cd.chart" . }}
|
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
|
||||||
app.kubernetes.io/part-of: argocd
|
|
||||||
app.kubernetes.io/component: {{ .Values.server.name }}
|
|
||||||
{{- if .Values.server.ingress.labels }}
|
{{- if .Values.server.ingress.labels }}
|
||||||
{{- toYaml .Values.server.ingress.labels | nindent 4 }}
|
{{- toYaml .Values.server.ingress.labels | nindent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -9,12 +9,7 @@ metadata:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: {{ include "argo-cd.name" . }}-{{ .Values.server.name }}-metrics
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.server.name "name" (printf "%s-metrics" .Values.server.name)) | nindent 4 }}
|
||||||
helm.sh/chart: {{ include "argo-cd.chart" . }}
|
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
|
||||||
app.kubernetes.io/part-of: argocd
|
|
||||||
app.kubernetes.io/component: {{ .Values.server.name }}
|
|
||||||
{{- if .Values.server.metrics.service.labels }}
|
{{- if .Values.server.metrics.service.labels }}
|
||||||
{{- toYaml .Values.server.metrics.service.labels | nindent 4 }}
|
{{- toYaml .Values.server.metrics.service.labels | nindent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
@ -26,6 +21,5 @@ spec:
|
||||||
port: {{ .Values.server.metrics.service.servicePort }}
|
port: {{ .Values.server.metrics.service.servicePort }}
|
||||||
targetPort: metrics
|
targetPort: metrics
|
||||||
selector:
|
selector:
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
{{- include "argo-cd.selectorLabels" (dict "context" . "name" .Values.server.name) | nindent 4 }}
|
||||||
app.kubernetes.io/name: {{ include "argo-cd.name" . }}-{{ .Values.server.name }}
|
|
||||||
{{- end }}
|
{{- end }}
|
|
@ -3,12 +3,7 @@ kind: Role
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ template "argo-cd.server.fullname" . }}
|
name: {{ template "argo-cd.server.fullname" . }}
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: {{ include "argo-cd.name" . }}-{{ .Values.server.name }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.server.name "name" .Values.server.name) | nindent 4 }}
|
||||||
helm.sh/chart: {{ include "argo-cd.chart" . }}
|
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
|
||||||
app.kubernetes.io/part-of: argocd
|
|
||||||
app.kubernetes.io/component: {{ .Values.server.name }}
|
|
||||||
rules:
|
rules:
|
||||||
- apiGroups:
|
- apiGroups:
|
||||||
- ""
|
- ""
|
||||||
|
|
|
@ -3,12 +3,7 @@ kind: RoleBinding
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ template "argo-cd.server.fullname" . }}
|
name: {{ template "argo-cd.server.fullname" . }}
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: {{ include "argo-cd.name" . }}-{{ .Values.server.name }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.server.name "name" .Values.server.name) | nindent 4 }}
|
||||||
helm.sh/chart: {{ include "argo-cd.chart" . }}
|
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
|
||||||
app.kubernetes.io/part-of: argocd
|
|
||||||
app.kubernetes.io/component: {{ .Values.server.name }}
|
|
||||||
roleRef:
|
roleRef:
|
||||||
apiGroup: rbac.authorization.k8s.io
|
apiGroup: rbac.authorization.k8s.io
|
||||||
kind: Role
|
kind: Role
|
||||||
|
|
|
@ -4,12 +4,7 @@ kind: Route
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ template "argo-cd.server.fullname" . }}
|
name: {{ template "argo-cd.server.fullname" . }}
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: {{ include "argo-cd.name" . }}-{{ .Values.server.name }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.server.name "name" .Values.server.name) | nindent 4 }}
|
||||||
helm.sh/chart: {{ include "argo-cd.chart" . }}
|
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
|
||||||
app.kubernetes.io/part-of: argocd
|
|
||||||
app.kubernetes.io/component: {{ .Values.server.name }}
|
|
||||||
{{- with .Values.server.route.annotations }}
|
{{- with .Values.server.route.annotations }}
|
||||||
annotations:
|
annotations:
|
||||||
{{ toYaml . | indent 4 }}
|
{{ toYaml . | indent 4 }}
|
||||||
|
|
|
@ -9,12 +9,7 @@ metadata:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
name: {{ template "argo-cd.server.fullname" . }}
|
name: {{ template "argo-cd.server.fullname" . }}
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: {{ include "argo-cd.name" . }}-{{ .Values.server.name }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.server.name "name" .Values.server.name) | nindent 4 }}
|
||||||
helm.sh/chart: {{ include "argo-cd.chart" . }}
|
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
|
||||||
app.kubernetes.io/part-of: argocd
|
|
||||||
app.kubernetes.io/component: {{ .Values.server.name }}
|
|
||||||
{{- if .Values.server.service.labels }}
|
{{- if .Values.server.service.labels }}
|
||||||
{{- toYaml .Values.server.service.labels | nindent 4 }}
|
{{- toYaml .Values.server.service.labels | nindent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
@ -36,8 +31,7 @@ spec:
|
||||||
nodePort: {{ .Values.server.service.nodePortHttps }}
|
nodePort: {{ .Values.server.service.nodePortHttps }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
selector:
|
selector:
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
{{- include "argo-cd.selectorLabels" (dict "context" . "name" .Values.server.name) | nindent 4 }}
|
||||||
app.kubernetes.io/name: {{ include "argo-cd.name" . }}-{{ .Values.server.name }}
|
|
||||||
{{- if eq .Values.server.service.type "LoadBalancer" }}
|
{{- if eq .Values.server.service.type "LoadBalancer" }}
|
||||||
{{- if .Values.server.service.loadBalancerIP }}
|
{{- if .Values.server.service.loadBalancerIP }}
|
||||||
loadBalancerIP: {{ .Values.server.service.loadBalancerIP | quote }}
|
loadBalancerIP: {{ .Values.server.service.loadBalancerIP | quote }}
|
||||||
|
|
|
@ -11,10 +11,5 @@ metadata:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: {{ include "argo-cd.name" . }}-{{ .Values.server.name }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.server.name "name" .Values.server.name) | nindent 4 }}
|
||||||
helm.sh/chart: {{ include "argo-cd.chart" . }}
|
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
|
||||||
app.kubernetes.io/part-of: argocd
|
|
||||||
app.kubernetes.io/component: {{ .Values.server.name }}
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -7,12 +7,7 @@ metadata:
|
||||||
namespace: {{ .Values.server.metrics.serviceMonitor.namespace }}
|
namespace: {{ .Values.server.metrics.serviceMonitor.namespace }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: {{ include "argo-cd.name" . }}-{{ .Values.server.name }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.server.name "name" .Values.server.name) | nindent 4 }}
|
||||||
helm.sh/chart: {{ include "argo-cd.chart" . }}
|
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
|
||||||
app.kubernetes.io/part-of: argocd
|
|
||||||
app.kubernetes.io/component: {{ .Values.server.name }}
|
|
||||||
{{- if .Values.server.metrics.serviceMonitor.selector }}
|
{{- if .Values.server.metrics.serviceMonitor.selector }}
|
||||||
{{- toYaml .Values.server.metrics.serviceMonitor.selector | nindent 4 }}
|
{{- toYaml .Values.server.metrics.serviceMonitor.selector | nindent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
@ -29,8 +24,6 @@ spec:
|
||||||
- {{ .Release.Namespace }}
|
- {{ .Release.Namespace }}
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
{{- include "argo-cd.selectorLabels" (dict "context" . "component" .Values.server.name "name" (printf "%s-metrics" .Values.server.name)) | nindent 6 }}
|
||||||
app.kubernetes.io/name: {{ include "argo-cd.name" . }}-{{ .Values.server.name }}-metrics
|
|
||||||
app.kubernetes.io/component: {{ .Values.server.name }}
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
|
|
|
@ -4,18 +4,12 @@ kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ template "argo-cd.dex.fullname" . }}
|
name: {{ template "argo-cd.dex.fullname" . }}
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: {{ include "argo-cd.name" . }}-{{ .Values.dex.name }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.dex.name "name" .Values.dex.name) | nindent 4 }}
|
||||||
helm.sh/chart: {{ include "argo-cd.chart" . }}
|
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
|
||||||
app.kubernetes.io/part-of: argocd
|
|
||||||
app.kubernetes.io/component: {{ .Values.dex.name }}
|
|
||||||
app.kubernetes.io/version: {{ .Values.dex.image.tag | quote }}
|
app.kubernetes.io/version: {{ .Values.dex.image.tag | quote }}
|
||||||
spec:
|
spec:
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app.kubernetes.io/name: {{ include "argo-cd.name" . }}-{{ .Values.dex.name }}
|
{{- include "argo-cd.selectorLabels" (dict "context" . "name" .Values.dex.name) | nindent 6 }}
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
{{- if .Values.dex.podAnnotations }}
|
{{- if .Values.dex.podAnnotations }}
|
||||||
|
@ -25,12 +19,7 @@ spec:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: {{ include "argo-cd.name" . }}-{{ .Values.dex.name }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.dex.name "name" .Values.dex.name) | nindent 8 }}
|
||||||
helm.sh/chart: {{ include "argo-cd.chart" . }}
|
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
|
||||||
app.kubernetes.io/part-of: argocd
|
|
||||||
app.kubernetes.io/component: {{ .Values.dex.name }}
|
|
||||||
app.kubernetes.io/version: {{ .Values.dex.image.tag | quote }}
|
app.kubernetes.io/version: {{ .Values.dex.image.tag | quote }}
|
||||||
{{- if .Values.dex.podLabels }}
|
{{- if .Values.dex.podLabels }}
|
||||||
{{- toYaml .Values.dex.podLabels | nindent 8 }}
|
{{- toYaml .Values.dex.podLabels | nindent 8 }}
|
||||||
|
|
|
@ -4,12 +4,7 @@ kind: Role
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ template "argo-cd.dex.fullname" . }}
|
name: {{ template "argo-cd.dex.fullname" . }}
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: {{ include "argo-cd.name" . }}-{{ .Values.dex.name }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.dex.name "name" .Values.dex.name) | nindent 4 }}
|
||||||
helm.sh/chart: {{ include "argo-cd.chart" . }}
|
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
|
||||||
app.kubernetes.io/part-of: argocd
|
|
||||||
app.kubernetes.io/component: {{ .Values.dex.name }}
|
|
||||||
rules:
|
rules:
|
||||||
- apiGroups:
|
- apiGroups:
|
||||||
- ""
|
- ""
|
||||||
|
|
|
@ -4,12 +4,7 @@ kind: RoleBinding
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ template "argo-cd.dex.fullname" . }}
|
name: {{ template "argo-cd.dex.fullname" . }}
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: {{ include "argo-cd.name" . }}-{{ .Values.dex.name }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.dex.name "name" .Values.dex.name) | nindent 4 }}
|
||||||
helm.sh/chart: {{ include "argo-cd.chart" . }}
|
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
|
||||||
app.kubernetes.io/part-of: argocd
|
|
||||||
app.kubernetes.io/component: {{ .Values.dex.name }}
|
|
||||||
roleRef:
|
roleRef:
|
||||||
apiGroup: rbac.authorization.k8s.io
|
apiGroup: rbac.authorization.k8s.io
|
||||||
kind: Role
|
kind: Role
|
||||||
|
|
|
@ -10,12 +10,7 @@ metadata:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: {{ include "argo-cd.name" . }}-{{ .Values.dex.name }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.dex.name "name" .Values.dex.name) | nindent 4 }}
|
||||||
helm.sh/chart: {{ include "argo-cd.chart" . }}
|
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
|
||||||
app.kubernetes.io/part-of: argocd
|
|
||||||
app.kubernetes.io/component: {{ .Values.dex.name }}
|
|
||||||
{{- if .Values.dex.metrics.service.labels }}
|
{{- if .Values.dex.metrics.service.labels }}
|
||||||
{{- toYaml .Values.dex.metrics.service.labels | nindent 4 }}
|
{{- toYaml .Values.dex.metrics.service.labels | nindent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
@ -36,6 +31,5 @@ spec:
|
||||||
targetPort: metrics
|
targetPort: metrics
|
||||||
{{- end }}
|
{{- end }}
|
||||||
selector:
|
selector:
|
||||||
app.kubernetes.io/name: {{ include "argo-cd.name" . }}-{{ .Values.dex.name }}
|
{{- include "argo-cd.selectorLabels" (dict "context" . "name" .Values.dex.name) | nindent 4 }}
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -11,10 +11,5 @@ metadata:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: {{ include "argo-cd.name" . }}-{{ .Values.dex.name }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.dex.name "name" .Values.dex.name) | nindent 4 }}
|
||||||
helm.sh/chart: {{ include "argo-cd.chart" . }}
|
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
|
||||||
app.kubernetes.io/part-of: argocd
|
|
||||||
app.kubernetes.io/component: {{ .Values.dex.name }}
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -7,12 +7,7 @@ metadata:
|
||||||
namespace: {{ .Values.dex.metrics.serviceMonitor.namespace }}
|
namespace: {{ .Values.dex.metrics.serviceMonitor.namespace }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: {{ include "argo-cd.name" . }}-{{ .Values.dex.name }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.dex.name "name" .Values.dex.name) | nindent 4 }}
|
||||||
helm.sh/chart: {{ include "argo-cd.chart" . }}
|
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
|
||||||
app.kubernetes.io/part-of: argocd
|
|
||||||
app.kubernetes.io/component: {{ .Values.dex.name }}
|
|
||||||
{{- if .Values.dex.metrics.serviceMonitor.selector }}
|
{{- if .Values.dex.metrics.serviceMonitor.selector }}
|
||||||
{{- toYaml .Values.dex.metrics.serviceMonitor.selector | nindent 4 }}
|
{{- toYaml .Values.dex.metrics.serviceMonitor.selector | nindent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
@ -29,7 +24,5 @@ spec:
|
||||||
- {{ .Release.Namespace }}
|
- {{ .Release.Namespace }}
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
{{- include "argo-cd.selectorLabels" (dict "context" . "component" .Values.dex.name "name" .Values.dex.name) | nindent 6 }}
|
||||||
app.kubernetes.io/name: {{ include "argo-cd.name" . }}-{{ .Values.dex.name }}
|
|
||||||
app.kubernetes.io/component: {{ .Values.dex.name }}
|
|
||||||
{{- end }}
|
{{- end }}
|
|
@ -5,12 +5,7 @@ kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ template "argo-cd.redis.fullname" . }}
|
name: {{ template "argo-cd.redis.fullname" . }}
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: {{ include "argo-cd.name" . }}-{{ .Values.redis.name }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.redis.name "name" .Values.redis.name) | nindent 4 }}
|
||||||
helm.sh/chart: {{ include "argo-cd.chart" . }}
|
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
|
||||||
app.kubernetes.io/part-of: argocd
|
|
||||||
app.kubernetes.io/component: {{ .Values.redis.name }}
|
|
||||||
app.kubernetes.io/version: {{ .Values.redis.image.tag | quote }}
|
app.kubernetes.io/version: {{ .Values.redis.image.tag | quote }}
|
||||||
spec:
|
spec:
|
||||||
selector:
|
selector:
|
||||||
|
@ -25,12 +20,7 @@ spec:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: {{ include "argo-cd.name" . }}-{{ .Values.redis.name }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.redis.name "name" .Values.redis.name) | nindent 8 }}
|
||||||
helm.sh/chart: {{ include "argo-cd.chart" . }}
|
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
|
||||||
app.kubernetes.io/part-of: argocd
|
|
||||||
app.kubernetes.io/component: {{ .Values.redis.name }}
|
|
||||||
app.kubernetes.io/version: {{ .Values.redis.image.tag | quote }}
|
app.kubernetes.io/version: {{ .Values.redis.image.tag | quote }}
|
||||||
{{- if .Values.redis.podLabels }}
|
{{- if .Values.redis.podLabels }}
|
||||||
{{- toYaml .Values.redis.podLabels | nindent 8 }}
|
{{- toYaml .Values.redis.podLabels | nindent 8 }}
|
||||||
|
|
|
@ -5,16 +5,11 @@ kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ template "argo-cd.redis.fullname" . }}
|
name: {{ template "argo-cd.redis.fullname" . }}
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: {{ include "argo-cd.name" . }}-{{ .Values.redis.name }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.redis.name "name" .Values.redis.name) | nindent 4 }}
|
||||||
helm.sh/chart: {{ include "argo-cd.chart" . }}
|
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
|
||||||
app.kubernetes.io/part-of: argocd
|
|
||||||
app.kubernetes.io/component: {{ .Values.redis.name }}
|
|
||||||
spec:
|
spec:
|
||||||
ports:
|
ports:
|
||||||
- port: {{ .Values.redis.servicePort }}
|
- port: {{ .Values.redis.servicePort }}
|
||||||
targetPort: {{ .Values.redis.servicePort }}
|
targetPort: {{ .Values.redis.servicePort }}
|
||||||
selector:
|
selector:
|
||||||
app.kubernetes.io/name: {{ include "argo-cd.name" . }}-{{ .Values.redis.name }}
|
{{- include "argo-cd.selectorLabels" (dict "context" . "name" .Values.redis.name) | nindent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
|
@ -1,7 +1,7 @@
|
||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
description: A Helm chart to install Argo-Events in k8s Cluster
|
description: A Helm chart to install Argo-Events in k8s Cluster
|
||||||
name: argo-events
|
name: argo-events
|
||||||
version: 1.2.3
|
version: 1.2.4
|
||||||
keywords:
|
keywords:
|
||||||
- argo-events
|
- argo-events
|
||||||
- sensor-controller
|
- sensor-controller
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
---
|
||||||
apiVersion: apiextensions.k8s.io/v1
|
apiVersion: apiextensions.k8s.io/v1
|
||||||
kind: CustomResourceDefinition
|
kind: CustomResourceDefinition
|
||||||
metadata:
|
metadata:
|
||||||
|
@ -16,3 +17,24 @@ spec:
|
||||||
- name: v1alpha1
|
- name: v1alpha1
|
||||||
served: true
|
served: true
|
||||||
storage: true
|
storage: true
|
||||||
|
schema:
|
||||||
|
openAPIV3Schema:
|
||||||
|
properties:
|
||||||
|
apiVersion:
|
||||||
|
type: string
|
||||||
|
kind:
|
||||||
|
type: string
|
||||||
|
metadata:
|
||||||
|
type: object
|
||||||
|
spec:
|
||||||
|
type: object
|
||||||
|
x-kubernetes-preserve-unknown-fields: true
|
||||||
|
status:
|
||||||
|
type: object
|
||||||
|
x-kubernetes-preserve-unknown-fields: true
|
||||||
|
required:
|
||||||
|
- metadata
|
||||||
|
- spec
|
||||||
|
type: object
|
||||||
|
subresources:
|
||||||
|
status: {}
|
||||||
|
|
|
@ -17,5 +17,24 @@ spec:
|
||||||
- name: v1alpha1
|
- name: v1alpha1
|
||||||
served: true
|
served: true
|
||||||
storage: true
|
storage: true
|
||||||
|
schema:
|
||||||
|
openAPIV3Schema:
|
||||||
|
properties:
|
||||||
|
apiVersion:
|
||||||
|
type: string
|
||||||
|
kind:
|
||||||
|
type: string
|
||||||
|
metadata:
|
||||||
|
type: object
|
||||||
|
spec:
|
||||||
|
type: object
|
||||||
|
x-kubernetes-preserve-unknown-fields: true
|
||||||
|
status:
|
||||||
|
type: object
|
||||||
|
x-kubernetes-preserve-unknown-fields: true
|
||||||
|
required:
|
||||||
|
- metadata
|
||||||
|
- spec
|
||||||
|
type: object
|
||||||
|
subresources:
|
||||||
|
status: {}
|
||||||
|
|
|
@ -17,4 +17,24 @@ spec:
|
||||||
- name: v1alpha1
|
- name: v1alpha1
|
||||||
served: true
|
served: true
|
||||||
storage: true
|
storage: true
|
||||||
|
schema:
|
||||||
|
openAPIV3Schema:
|
||||||
|
properties:
|
||||||
|
apiVersion:
|
||||||
|
type: string
|
||||||
|
kind:
|
||||||
|
type: string
|
||||||
|
metadata:
|
||||||
|
type: object
|
||||||
|
spec:
|
||||||
|
type: object
|
||||||
|
x-kubernetes-preserve-unknown-fields: true
|
||||||
|
status:
|
||||||
|
type: object
|
||||||
|
x-kubernetes-preserve-unknown-fields: true
|
||||||
|
required:
|
||||||
|
- metadata
|
||||||
|
- spec
|
||||||
|
type: object
|
||||||
|
subresources:
|
||||||
|
status: {}
|
||||||
|
|
|
@ -20,4 +20,25 @@ spec:
|
||||||
- name: v1alpha1
|
- name: v1alpha1
|
||||||
served: true
|
served: true
|
||||||
storage: true
|
storage: true
|
||||||
|
schema:
|
||||||
|
openAPIV3Schema:
|
||||||
|
properties:
|
||||||
|
apiVersion:
|
||||||
|
type: string
|
||||||
|
kind:
|
||||||
|
type: string
|
||||||
|
metadata:
|
||||||
|
type: object
|
||||||
|
spec:
|
||||||
|
type: object
|
||||||
|
x-kubernetes-preserve-unknown-fields: true
|
||||||
|
status:
|
||||||
|
type: object
|
||||||
|
x-kubernetes-preserve-unknown-fields: true
|
||||||
|
required:
|
||||||
|
- metadata
|
||||||
|
- spec
|
||||||
|
type: object
|
||||||
|
subresources:
|
||||||
|
status: {}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -20,4 +20,25 @@ spec:
|
||||||
- name: v1alpha1
|
- name: v1alpha1
|
||||||
served: true
|
served: true
|
||||||
storage: true
|
storage: true
|
||||||
|
schema:
|
||||||
|
openAPIV3Schema:
|
||||||
|
properties:
|
||||||
|
apiVersion:
|
||||||
|
type: string
|
||||||
|
kind:
|
||||||
|
type: string
|
||||||
|
metadata:
|
||||||
|
type: object
|
||||||
|
spec:
|
||||||
|
type: object
|
||||||
|
x-kubernetes-preserve-unknown-fields: true
|
||||||
|
status:
|
||||||
|
type: object
|
||||||
|
x-kubernetes-preserve-unknown-fields: true
|
||||||
|
required:
|
||||||
|
- metadata
|
||||||
|
- spec
|
||||||
|
type: object
|
||||||
|
subresources:
|
||||||
|
status: {}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -21,4 +21,25 @@ spec:
|
||||||
- name: v1alpha1
|
- name: v1alpha1
|
||||||
served: true
|
served: true
|
||||||
storage: true
|
storage: true
|
||||||
|
schema:
|
||||||
|
openAPIV3Schema:
|
||||||
|
properties:
|
||||||
|
apiVersion:
|
||||||
|
type: string
|
||||||
|
kind:
|
||||||
|
type: string
|
||||||
|
metadata:
|
||||||
|
type: object
|
||||||
|
spec:
|
||||||
|
type: object
|
||||||
|
x-kubernetes-preserve-unknown-fields: true
|
||||||
|
status:
|
||||||
|
type: object
|
||||||
|
x-kubernetes-preserve-unknown-fields: true
|
||||||
|
required:
|
||||||
|
- metadata
|
||||||
|
- spec
|
||||||
|
type: object
|
||||||
|
subresources:
|
||||||
|
status: {}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -2,7 +2,7 @@ apiVersion: v2
|
||||||
appVersion: v2.12.5
|
appVersion: v2.12.5
|
||||||
description: A Helm chart for Argo Workflows
|
description: A Helm chart for Argo Workflows
|
||||||
name: argo
|
name: argo
|
||||||
version: 0.16.7
|
version: 0.16.8
|
||||||
icon: https://raw.githubusercontent.com/argoproj/argo/master/docs/assets/argo.png
|
icon: https://raw.githubusercontent.com/argoproj/argo/master/docs/assets/argo.png
|
||||||
home: https://github.com/argoproj/argo-helm
|
home: https://github.com/argoproj/argo-helm
|
||||||
maintainers:
|
maintainers:
|
||||||
|
|
|
@ -75,6 +75,8 @@ rules:
|
||||||
- events
|
- events
|
||||||
verbs:
|
verbs:
|
||||||
- watch
|
- watch
|
||||||
|
- create
|
||||||
|
- patch
|
||||||
{{- if .Values.controller.persistence }}
|
{{- if .Values.controller.persistence }}
|
||||||
- apiGroups:
|
- apiGroups:
|
||||||
- ""
|
- ""
|
||||||
|
|
|
@ -55,6 +55,9 @@ spec:
|
||||||
- "--pod-workers"
|
- "--pod-workers"
|
||||||
- {{ . | quote }}
|
- {{ . | quote }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- if .Values.controller.extraArgs }}
|
||||||
|
{{- toYaml .Values.controller.extraArgs | nindent 10 }}
|
||||||
|
{{- end }}
|
||||||
env:
|
env:
|
||||||
- name: ARGO_NAMESPACE
|
- name: ARGO_NAMESPACE
|
||||||
valueFrom:
|
valueFrom:
|
||||||
|
|
|
@ -118,6 +118,8 @@ controller:
|
||||||
# The list of environment variable definitions to be added to the controller
|
# The list of environment variable definitions to be added to the controller
|
||||||
# manages container verbatim.
|
# manages container verbatim.
|
||||||
extraEnv: []
|
extraEnv: []
|
||||||
|
# Extra arguments to be added to the controller
|
||||||
|
extraArgs: []
|
||||||
replicas: 1
|
replicas: 1
|
||||||
pdb:
|
pdb:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
|
Loading…
Reference in a new issue