Merge branch 'main' into jakuboskera
This commit is contained in:
commit
ce8bbf3e65
36 changed files with 251 additions and 41 deletions
|
@ -1,6 +1,6 @@
|
||||||
dependencies:
|
dependencies:
|
||||||
- name: redis-ha
|
- name: redis-ha
|
||||||
repository: https://dandydeveloper.github.io/charts/
|
repository: https://dandydeveloper.github.io/charts/
|
||||||
version: 4.22.4
|
version: 4.22.5
|
||||||
digest: sha256:5df60910862b364ebfb82cba2b2f0951c39ad36446647fb3f501bdeadc92fbd7
|
digest: sha256:d2e927511e515fb862f23dd413ee3a356c855d808f6f9ad1d345ee62b8c7ea16
|
||||||
generated: "2022-12-26T22:58:11.561184+09:00"
|
generated: "2023-03-30T08:25:32.738257836+02:00"
|
||||||
|
|
|
@ -18,7 +18,7 @@ maintainers:
|
||||||
url: https://argoproj.github.io/
|
url: https://argoproj.github.io/
|
||||||
dependencies:
|
dependencies:
|
||||||
- name: redis-ha
|
- name: redis-ha
|
||||||
version: 4.22.4
|
version: 4.22.5
|
||||||
repository: https://dandydeveloper.github.io/charts/
|
repository: https://dandydeveloper.github.io/charts/
|
||||||
condition: redis-ha.enabled
|
condition: redis-ha.enabled
|
||||||
annotations:
|
annotations:
|
||||||
|
|
|
@ -394,6 +394,9 @@ NAME: my-release
|
||||||
| global.affinity.nodeAffinity.type | string | `"hard"` | Default node affinity rules. Either: `none`, `soft` or `hard` |
|
| global.affinity.nodeAffinity.type | string | `"hard"` | Default node affinity rules. Either: `none`, `soft` or `hard` |
|
||||||
| global.affinity.podAntiAffinity | string | `"soft"` | Default pod anti-affinity rules. Either: `none`, `soft` or `hard` |
|
| global.affinity.podAntiAffinity | string | `"soft"` | Default pod anti-affinity rules. Either: `none`, `soft` or `hard` |
|
||||||
| global.deploymentAnnotations | object | `{}` | Annotations for the all deployed Deployments |
|
| global.deploymentAnnotations | object | `{}` | Annotations for the all deployed Deployments |
|
||||||
|
| global.deploymentStrategy | object | `{}` | Deployment strategy for the all deployed Deployments |
|
||||||
|
| global.entrypoint.entrypoint | string | `"entrypoint.sh"` | The entrypoint to use for the containers. |
|
||||||
|
| global.entrypoint.useImplicit | bool | `false` | Implicitly use the docker image's entrypoint. This requires the image to have ENTRYPOINT set properly |
|
||||||
| global.hostAliases | list | `[]` | Mapping between IP and hostnames that will be injected as entries in the pod's hosts files |
|
| global.hostAliases | list | `[]` | Mapping between IP and hostnames that will be injected as entries in the pod's hosts files |
|
||||||
| global.image.imagePullPolicy | string | `"IfNotPresent"` | If defined, a imagePullPolicy applied to all Argo CD deployments |
|
| global.image.imagePullPolicy | string | `"IfNotPresent"` | If defined, a imagePullPolicy applied to all Argo CD deployments |
|
||||||
| global.image.repository | string | `"quay.io/argoproj/argocd"` | If defined, a repository applied to all Argo CD deployments |
|
| global.image.repository | string | `"quay.io/argoproj/argocd"` | If defined, a repository applied to all Argo CD deployments |
|
||||||
|
@ -410,7 +413,7 @@ NAME: my-release
|
||||||
| global.revisionHistoryLimit | int | `3` | Number of old deployment ReplicaSets to retain. The rest will be garbage collected. |
|
| global.revisionHistoryLimit | int | `3` | Number of old deployment ReplicaSets to retain. The rest will be garbage collected. |
|
||||||
| global.securityContext | object | `{}` (See [values.yaml]) | Toggle and define pod-level security context. |
|
| global.securityContext | object | `{}` (See [values.yaml]) | Toggle and define pod-level security context. |
|
||||||
| global.statefulsetAnnotations | object | `{}` | Annotations for the all deployed Statefulsets |
|
| global.statefulsetAnnotations | object | `{}` | Annotations for the all deployed Statefulsets |
|
||||||
| global.tolerations | object | `{}` | Default tolerations for all components |
|
| global.tolerations | list | `[]` | Default tolerations for all components |
|
||||||
| global.topologySpreadConstraints | list | `[]` | Default [TopologySpreadConstraints] rules for all components |
|
| global.topologySpreadConstraints | list | `[]` | Default [TopologySpreadConstraints] rules for all components |
|
||||||
|
|
||||||
## Argo CD Configs
|
## Argo CD Configs
|
||||||
|
@ -571,6 +574,7 @@ NAME: my-release
|
||||||
| repoServer.containerPorts.server | int | `8081` | Repo server container port |
|
| repoServer.containerPorts.server | int | `8081` | Repo server container port |
|
||||||
| repoServer.containerSecurityContext | object | See [values.yaml] | Repo server container-level security context |
|
| repoServer.containerSecurityContext | object | See [values.yaml] | Repo server container-level security context |
|
||||||
| repoServer.deploymentAnnotations | object | `{}` | Annotations to be added to repo server Deployment |
|
| repoServer.deploymentAnnotations | object | `{}` | Annotations to be added to repo server Deployment |
|
||||||
|
| repoServer.deploymentStrategy | object | `{}` | Deployment strategy to be added to the repo server Deployment |
|
||||||
| repoServer.dnsConfig | object | `{}` | [DNS configuration] |
|
| repoServer.dnsConfig | object | `{}` | [DNS configuration] |
|
||||||
| repoServer.dnsPolicy | string | `"ClusterFirst"` | Alternative DNS policy for Repo server pods |
|
| repoServer.dnsPolicy | string | `"ClusterFirst"` | Alternative DNS policy for Repo server pods |
|
||||||
| repoServer.env | list | `[]` | Environment variables to pass to repo server |
|
| repoServer.env | list | `[]` | Environment variables to pass to repo server |
|
||||||
|
@ -674,6 +678,7 @@ NAME: my-release
|
||||||
| server.containerPorts.server | int | `8080` | Server container port |
|
| server.containerPorts.server | int | `8080` | Server container port |
|
||||||
| server.containerSecurityContext | object | See [values.yaml] | Server container-level security context |
|
| server.containerSecurityContext | object | See [values.yaml] | Server container-level security context |
|
||||||
| server.deploymentAnnotations | object | `{}` | Annotations to be added to server Deployment |
|
| server.deploymentAnnotations | object | `{}` | Annotations to be added to server Deployment |
|
||||||
|
| server.deploymentStrategy | object | `{}` | Deployment strategy to be added to the server Deployment |
|
||||||
| server.dnsConfig | object | `{}` | [DNS configuration] |
|
| server.dnsConfig | object | `{}` | [DNS configuration] |
|
||||||
| server.dnsPolicy | string | `"ClusterFirst"` | Alternative DNS policy for Server pods |
|
| server.dnsPolicy | string | `"ClusterFirst"` | Alternative DNS policy for Server pods |
|
||||||
| server.env | list | `[]` | Environment variables to pass to Argo CD server |
|
| server.env | list | `[]` | Environment variables to pass to Argo CD server |
|
||||||
|
@ -820,6 +825,7 @@ server:
|
||||||
| dex.containerPorts.metrics | int | `5558` | Metrics container port |
|
| dex.containerPorts.metrics | int | `5558` | Metrics container port |
|
||||||
| dex.containerSecurityContext | object | See [values.yaml] | Dex container-level security context |
|
| dex.containerSecurityContext | object | See [values.yaml] | Dex container-level security context |
|
||||||
| dex.deploymentAnnotations | object | `{}` | Annotations to be added to the Dex server Deployment |
|
| dex.deploymentAnnotations | object | `{}` | Annotations to be added to the Dex server Deployment |
|
||||||
|
| dex.deploymentStrategy | object | `{}` | Deployment strategy to be added to the Dex server Deployment |
|
||||||
| dex.dnsConfig | object | `{}` | [DNS configuration] |
|
| dex.dnsConfig | object | `{}` | [DNS configuration] |
|
||||||
| dex.dnsPolicy | string | `"ClusterFirst"` | Alternative DNS policy for Dex server pods |
|
| dex.dnsPolicy | string | `"ClusterFirst"` | Alternative DNS policy for Dex server pods |
|
||||||
| dex.enabled | bool | `true` | Enable dex |
|
| dex.enabled | bool | `true` | Enable dex |
|
||||||
|
@ -841,6 +847,8 @@ server:
|
||||||
| dex.livenessProbe.periodSeconds | int | `10` | How often (in seconds) to perform the [probe] |
|
| dex.livenessProbe.periodSeconds | int | `10` | How often (in seconds) to perform the [probe] |
|
||||||
| dex.livenessProbe.successThreshold | int | `1` | Minimum consecutive successes for the [probe] to be considered successful after having failed |
|
| dex.livenessProbe.successThreshold | int | `1` | Minimum consecutive successes for the [probe] to be considered successful after having failed |
|
||||||
| dex.livenessProbe.timeoutSeconds | int | `1` | Number of seconds after which the [probe] times out |
|
| dex.livenessProbe.timeoutSeconds | int | `1` | Number of seconds after which the [probe] times out |
|
||||||
|
| dex.logFormat | string | `""` (defaults to global.logging.format) | Dex log format. Either `text` or `json` |
|
||||||
|
| dex.logLevel | string | `""` (defaults to global.logging.level) | Dex log level. One of: `debug`, `info`, `warn`, `error` |
|
||||||
| dex.metrics.enabled | bool | `false` | Deploy metrics service |
|
| dex.metrics.enabled | bool | `false` | Deploy metrics service |
|
||||||
| dex.metrics.service.annotations | object | `{}` | Metrics service annotations |
|
| dex.metrics.service.annotations | object | `{}` | Metrics service annotations |
|
||||||
| dex.metrics.service.labels | object | `{}` | Metrics service labels |
|
| dex.metrics.service.labels | object | `{}` | Metrics service labels |
|
||||||
|
@ -1010,6 +1018,7 @@ If you want to use an existing Redis (eg. a managed service from a cloud provide
|
||||||
| applicationSet.containerPorts.webhook | int | `7000` | Webhook container port |
|
| applicationSet.containerPorts.webhook | int | `7000` | Webhook container port |
|
||||||
| applicationSet.containerSecurityContext | object | See [values.yaml] | ApplicationSet controller container-level security context |
|
| applicationSet.containerSecurityContext | object | See [values.yaml] | ApplicationSet controller container-level security context |
|
||||||
| applicationSet.deploymentAnnotations | object | `{}` | Annotations to be added to ApplicationSet controller Deployment |
|
| applicationSet.deploymentAnnotations | object | `{}` | Annotations to be added to ApplicationSet controller Deployment |
|
||||||
|
| applicationSet.deploymentStrategy | object | `{}` | Deployment strategy to be added to the ApplicationSet controller Deployment |
|
||||||
| applicationSet.dnsConfig | object | `{}` | [DNS configuration] |
|
| applicationSet.dnsConfig | object | `{}` | [DNS configuration] |
|
||||||
| applicationSet.dnsPolicy | string | `"ClusterFirst"` | Alternative DNS policy for ApplicationSet controller pods |
|
| applicationSet.dnsPolicy | string | `"ClusterFirst"` | Alternative DNS policy for ApplicationSet controller pods |
|
||||||
| applicationSet.enabled | bool | `true` | Enable ApplicationSet controller |
|
| applicationSet.enabled | bool | `true` | Enable ApplicationSet controller |
|
||||||
|
@ -1095,6 +1104,7 @@ If you want to use an existing Redis (eg. a managed service from a cloud provide
|
||||||
| notifications.containerSecurityContext | object | See [values.yaml] | Notification controller container-level security Context |
|
| notifications.containerSecurityContext | object | See [values.yaml] | Notification controller container-level security Context |
|
||||||
| notifications.context | object | `{}` | Define user-defined context |
|
| notifications.context | object | `{}` | Define user-defined context |
|
||||||
| notifications.deploymentAnnotations | object | `{}` | Annotations to be applied to the notifications controller Deployment |
|
| notifications.deploymentAnnotations | object | `{}` | Annotations to be applied to the notifications controller Deployment |
|
||||||
|
| notifications.deploymentStrategy | object | `{"type":"Recreate"}` | Deployment strategy to be added to the notifications controller Deployment |
|
||||||
| notifications.dnsConfig | object | `{}` | [DNS configuration] |
|
| notifications.dnsConfig | object | `{}` | [DNS configuration] |
|
||||||
| notifications.dnsPolicy | string | `"ClusterFirst"` | Alternative DNS policy for notifications controller Pods |
|
| notifications.dnsPolicy | string | `"ClusterFirst"` | Alternative DNS policy for notifications controller Pods |
|
||||||
| notifications.enabled | bool | `true` | Enable notifications controller |
|
| notifications.enabled | bool | `true` | Enable notifications controller |
|
||||||
|
|
|
@ -120,3 +120,20 @@ nodeAffinity:
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
|
{{/*
|
||||||
|
Common deployment strategy definition
|
||||||
|
- Recreate don't have additional fields, we need to remove them if added by the mergeOverwrite
|
||||||
|
*/}}
|
||||||
|
{{- define "argo-cd.strategy" -}}
|
||||||
|
{{- $preset := . -}}
|
||||||
|
{{- if (eq $preset.type "Recreate") }}
|
||||||
|
type: Recreate
|
||||||
|
{{- else if (eq $preset.type "RollingUpdate") }}
|
||||||
|
type: RollingUpdate
|
||||||
|
{{- with $preset.rollingUpdate }}
|
||||||
|
rollingUpdate:
|
||||||
|
{{- toYaml . | nindent 2 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end -}}
|
||||||
|
|
|
@ -13,6 +13,10 @@ metadata:
|
||||||
labels:
|
labels:
|
||||||
{{- include "argo-cd.labels" (dict "context" . "component" .Values.applicationSet.name "name" .Values.applicationSet.name) | nindent 4 }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.applicationSet.name "name" .Values.applicationSet.name) | nindent 4 }}
|
||||||
spec:
|
spec:
|
||||||
|
{{- with include "argo-cd.strategy" (mergeOverwrite (deepCopy .Values.global.deploymentStrategy) .Values.applicationSet.deploymentStrategy) }}
|
||||||
|
strategy:
|
||||||
|
{{- trim . | nindent 4 }}
|
||||||
|
{{- end }}
|
||||||
replicas: {{ .Values.applicationSet.replicaCount }}
|
replicas: {{ .Values.applicationSet.replicaCount }}
|
||||||
revisionHistoryLimit: {{ .Values.global.revisionHistoryLimit }}
|
revisionHistoryLimit: {{ .Values.global.revisionHistoryLimit }}
|
||||||
selector:
|
selector:
|
||||||
|
@ -52,8 +56,11 @@ spec:
|
||||||
- name: {{ .Values.applicationSet.name }}
|
- name: {{ .Values.applicationSet.name }}
|
||||||
image: {{ default .Values.global.image.repository .Values.applicationSet.image.repository }}:{{ default (include "argo-cd.defaultTag" .) .Values.applicationSet.image.tag }}
|
image: {{ default .Values.global.image.repository .Values.applicationSet.image.repository }}:{{ default (include "argo-cd.defaultTag" .) .Values.applicationSet.image.tag }}
|
||||||
imagePullPolicy: {{ default .Values.global.image.imagePullPolicy .Values.applicationSet.image.imagePullPolicy }}
|
imagePullPolicy: {{ default .Values.global.image.imagePullPolicy .Values.applicationSet.image.imagePullPolicy }}
|
||||||
|
{{- if not .Values.global.entrypoint.useImplicit }}
|
||||||
command:
|
command:
|
||||||
- entrypoint.sh
|
- {{ .Values.global.entrypoint.entrypoint | quote }}
|
||||||
|
{{- end }}
|
||||||
|
args:
|
||||||
- argocd-applicationset-controller
|
- argocd-applicationset-controller
|
||||||
- --metrics-addr=:{{ .Values.applicationSet.containerPorts.metrics }}
|
- --metrics-addr=:{{ .Values.applicationSet.containerPorts.metrics }}
|
||||||
- --probe-addr=:{{ .Values.applicationSet.containerPorts.probe }}
|
- --probe-addr=:{{ .Values.applicationSet.containerPorts.probe }}
|
||||||
|
|
|
@ -15,8 +15,10 @@ metadata:
|
||||||
spec:
|
spec:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
revisionHistoryLimit: {{ .Values.global.revisionHistoryLimit }}
|
revisionHistoryLimit: {{ .Values.global.revisionHistoryLimit }}
|
||||||
|
{{- with include "argo-cd.strategy" (mergeOverwrite (deepCopy .Values.global.deploymentStrategy) .Values.notifications.deploymentStrategy) }}
|
||||||
strategy:
|
strategy:
|
||||||
type: Recreate
|
{{- trim . | nindent 4 }}
|
||||||
|
{{- end }}
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
{{- include "argo-cd.selectorLabels" (dict "context" . "name" .Values.notifications.name) | nindent 6 }}
|
{{- include "argo-cd.selectorLabels" (dict "context" . "name" .Values.notifications.name) | nindent 6 }}
|
||||||
|
|
|
@ -12,6 +12,10 @@ metadata:
|
||||||
labels:
|
labels:
|
||||||
{{- include "argo-cd.labels" (dict "context" . "component" .Values.repoServer.name "name" .Values.repoServer.name) | nindent 4 }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.repoServer.name "name" .Values.repoServer.name) | nindent 4 }}
|
||||||
spec:
|
spec:
|
||||||
|
{{- with include "argo-cd.strategy" (mergeOverwrite (deepCopy .Values.global.deploymentStrategy) .Values.repoServer.deploymentStrategy) }}
|
||||||
|
strategy:
|
||||||
|
{{- trim . | nindent 4 }}
|
||||||
|
{{- end }}
|
||||||
{{- if not .Values.repoServer.autoscaling.enabled }}
|
{{- if not .Values.repoServer.autoscaling.enabled }}
|
||||||
replicas: {{ .Values.repoServer.replicas }}
|
replicas: {{ .Values.repoServer.replicas }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
@ -57,8 +61,10 @@ spec:
|
||||||
- name: {{ .Values.repoServer.name }}
|
- name: {{ .Values.repoServer.name }}
|
||||||
image: {{ default .Values.global.image.repository .Values.repoServer.image.repository }}:{{ default (include "argo-cd.defaultTag" .) .Values.repoServer.image.tag }}
|
image: {{ default .Values.global.image.repository .Values.repoServer.image.repository }}:{{ default (include "argo-cd.defaultTag" .) .Values.repoServer.image.tag }}
|
||||||
imagePullPolicy: {{ default .Values.global.image.imagePullPolicy .Values.repoServer.image.imagePullPolicy }}
|
imagePullPolicy: {{ default .Values.global.image.imagePullPolicy .Values.repoServer.image.imagePullPolicy }}
|
||||||
|
{{- if not .Values.global.entrypoint.useImplicit }}
|
||||||
command:
|
command:
|
||||||
- entrypoint.sh
|
- {{ .Values.global.entrypoint.entrypoint | quote }}
|
||||||
|
{{- end }}
|
||||||
args:
|
args:
|
||||||
- argocd-repo-server
|
- argocd-repo-server
|
||||||
- --port={{ .Values.repoServer.containerPorts.server }}
|
- --port={{ .Values.repoServer.containerPorts.server }}
|
||||||
|
|
|
@ -12,6 +12,10 @@ metadata:
|
||||||
labels:
|
labels:
|
||||||
{{- include "argo-cd.labels" (dict "context" . "component" .Values.server.name "name" .Values.server.name) | nindent 4 }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.server.name "name" .Values.server.name) | nindent 4 }}
|
||||||
spec:
|
spec:
|
||||||
|
{{- with include "argo-cd.strategy" (mergeOverwrite (deepCopy .Values.global.deploymentStrategy) .Values.server.deploymentStrategy) }}
|
||||||
|
strategy:
|
||||||
|
{{- trim . | nindent 4 }}
|
||||||
|
{{- end }}
|
||||||
{{- if not .Values.server.autoscaling.enabled }}
|
{{- if not .Values.server.autoscaling.enabled }}
|
||||||
replicas: {{ .Values.server.replicas }}
|
replicas: {{ .Values.server.replicas }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -13,6 +13,10 @@ metadata:
|
||||||
labels:
|
labels:
|
||||||
{{- include "argo-cd.labels" (dict "context" . "component" .Values.dex.name "name" .Values.dex.name) | nindent 4 }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.dex.name "name" .Values.dex.name) | nindent 4 }}
|
||||||
spec:
|
spec:
|
||||||
|
{{- with include "argo-cd.strategy" (mergeOverwrite (deepCopy .Values.global.deploymentStrategy) .Values.dex.deploymentStrategy) }}
|
||||||
|
strategy:
|
||||||
|
{{- trim . | nindent 4 }}
|
||||||
|
{{- end }}
|
||||||
replicas: 1
|
replicas: 1
|
||||||
revisionHistoryLimit: {{ .Values.global.revisionHistoryLimit }}
|
revisionHistoryLimit: {{ .Values.global.revisionHistoryLimit }}
|
||||||
selector:
|
selector:
|
||||||
|
@ -58,6 +62,8 @@ spec:
|
||||||
imagePullPolicy: {{ default .Values.global.image.imagePullPolicy .Values.dex.image.imagePullPolicy }}
|
imagePullPolicy: {{ default .Values.global.image.imagePullPolicy .Values.dex.image.imagePullPolicy }}
|
||||||
command:
|
command:
|
||||||
- /shared/argocd-dex
|
- /shared/argocd-dex
|
||||||
|
- --logformat={{ default .Values.global.logging.format .Values.dex.logFormat }}
|
||||||
|
- --loglevel={{ default .Values.global.logging.level .Values.dex.logLevel }}
|
||||||
args:
|
args:
|
||||||
- rundex
|
- rundex
|
||||||
{{- with .Values.dex.extraArgs }}
|
{{- with .Values.dex.extraArgs }}
|
||||||
|
|
55
charts/argo-cd/values.yaml
Executable file → Normal file
55
charts/argo-cd/values.yaml
Executable file → Normal file
|
@ -106,7 +106,7 @@ global:
|
||||||
nodeSelector: {}
|
nodeSelector: {}
|
||||||
|
|
||||||
# -- Default tolerations for all components
|
# -- Default tolerations for all components
|
||||||
tolerations: {}
|
tolerations: []
|
||||||
|
|
||||||
# Default affinity preset for all components
|
# Default affinity preset for all components
|
||||||
affinity:
|
affinity:
|
||||||
|
@ -132,6 +132,20 @@ global:
|
||||||
# topologyKey: topology.kubernetes.io/zone
|
# topologyKey: topology.kubernetes.io/zone
|
||||||
# whenUnsatisfiable: DoNotSchedule
|
# whenUnsatisfiable: DoNotSchedule
|
||||||
|
|
||||||
|
# POD entrypoint configuration
|
||||||
|
entrypoint:
|
||||||
|
# -- Implicitly use the docker image's entrypoint. This requires the image to have
|
||||||
|
# ENTRYPOINT set properly
|
||||||
|
useImplicit: false
|
||||||
|
# -- The entrypoint to use for the containers.
|
||||||
|
entrypoint: "entrypoint.sh"
|
||||||
|
|
||||||
|
# -- Deployment strategy for the all deployed Deployments
|
||||||
|
deploymentStrategy: {}
|
||||||
|
# type: RollingUpdate
|
||||||
|
# rollingUpdate:
|
||||||
|
# maxSurge: 25%
|
||||||
|
# maxUnavailable: 25%
|
||||||
|
|
||||||
## Argo Configs
|
## Argo Configs
|
||||||
configs:
|
configs:
|
||||||
|
@ -1085,6 +1099,20 @@ dex:
|
||||||
# topologyKey: topology.kubernetes.io/zone
|
# topologyKey: topology.kubernetes.io/zone
|
||||||
# whenUnsatisfiable: DoNotSchedule
|
# whenUnsatisfiable: DoNotSchedule
|
||||||
|
|
||||||
|
# -- Deployment strategy to be added to the Dex server Deployment
|
||||||
|
deploymentStrategy: {}
|
||||||
|
# type: RollingUpdate
|
||||||
|
# rollingUpdate:
|
||||||
|
# maxSurge: 25%
|
||||||
|
# maxUnavailable: 25%
|
||||||
|
|
||||||
|
# -- Dex log format. Either `text` or `json`
|
||||||
|
# @default -- `""` (defaults to global.logging.format)
|
||||||
|
logFormat: ""
|
||||||
|
# -- Dex log level. One of: `debug`, `info`, `warn`, `error`
|
||||||
|
# @default -- `""` (defaults to global.logging.level)
|
||||||
|
logLevel: ""
|
||||||
|
|
||||||
## Redis
|
## Redis
|
||||||
redis:
|
redis:
|
||||||
# -- Enable redis
|
# -- Enable redis
|
||||||
|
@ -1657,6 +1685,13 @@ server:
|
||||||
# topologyKey: topology.kubernetes.io/zone
|
# topologyKey: topology.kubernetes.io/zone
|
||||||
# whenUnsatisfiable: DoNotSchedule
|
# whenUnsatisfiable: DoNotSchedule
|
||||||
|
|
||||||
|
# -- Deployment strategy to be added to the server Deployment
|
||||||
|
deploymentStrategy: {}
|
||||||
|
# type: RollingUpdate
|
||||||
|
# rollingUpdate:
|
||||||
|
# maxSurge: 25%
|
||||||
|
# maxUnavailable: 25%
|
||||||
|
|
||||||
# TLS certificate configuration via cert-manager
|
# TLS certificate configuration via cert-manager
|
||||||
## Ref: https://argo-cd.readthedocs.io/en/stable/operator-manual/tls/#tls-certificates-used-by-argocd-server
|
## Ref: https://argo-cd.readthedocs.io/en/stable/operator-manual/tls/#tls-certificates-used-by-argocd-server
|
||||||
certificate:
|
certificate:
|
||||||
|
@ -2170,6 +2205,13 @@ repoServer:
|
||||||
# topologyKey: topology.kubernetes.io/zone
|
# topologyKey: topology.kubernetes.io/zone
|
||||||
# whenUnsatisfiable: DoNotSchedule
|
# whenUnsatisfiable: DoNotSchedule
|
||||||
|
|
||||||
|
# -- Deployment strategy to be added to the repo server Deployment
|
||||||
|
deploymentStrategy: {}
|
||||||
|
# type: RollingUpdate
|
||||||
|
# rollingUpdate:
|
||||||
|
# maxSurge: 25%
|
||||||
|
# maxUnavailable: 25%
|
||||||
|
|
||||||
# -- Priority class for the repo server pods
|
# -- Priority class for the repo server pods
|
||||||
# @default -- `""` (defaults to global.priorityClassName)
|
# @default -- `""` (defaults to global.priorityClassName)
|
||||||
priorityClassName: ""
|
priorityClassName: ""
|
||||||
|
@ -2510,6 +2552,13 @@ applicationSet:
|
||||||
# topologyKey: topology.kubernetes.io/zone
|
# topologyKey: topology.kubernetes.io/zone
|
||||||
# whenUnsatisfiable: DoNotSchedule
|
# whenUnsatisfiable: DoNotSchedule
|
||||||
|
|
||||||
|
# -- Deployment strategy to be added to the ApplicationSet controller Deployment
|
||||||
|
deploymentStrategy: {}
|
||||||
|
# type: RollingUpdate
|
||||||
|
# rollingUpdate:
|
||||||
|
# maxSurge: 25%
|
||||||
|
# maxUnavailable: 25%
|
||||||
|
|
||||||
# -- Priority class for the ApplicationSet controller pods
|
# -- Priority class for the ApplicationSet controller pods
|
||||||
# @default -- `""` (defaults to global.priorityClassName)
|
# @default -- `""` (defaults to global.priorityClassName)
|
||||||
priorityClassName: ""
|
priorityClassName: ""
|
||||||
|
@ -2768,6 +2817,10 @@ notifications:
|
||||||
# topologyKey: topology.kubernetes.io/zone
|
# topologyKey: topology.kubernetes.io/zone
|
||||||
# whenUnsatisfiable: DoNotSchedule
|
# whenUnsatisfiable: DoNotSchedule
|
||||||
|
|
||||||
|
# -- Deployment strategy to be added to the notifications controller Deployment
|
||||||
|
deploymentStrategy:
|
||||||
|
type: Recreate
|
||||||
|
|
||||||
# -- Priority class for the notifications controller pods
|
# -- Priority class for the notifications controller pods
|
||||||
# @default -- `""` (defaults to global.priorityClassName)
|
# @default -- `""` (defaults to global.priorityClassName)
|
||||||
priorityClassName: ""
|
priorityClassName: ""
|
||||||
|
|
|
@ -2,7 +2,7 @@ apiVersion: v2
|
||||||
appVersion: v1.7.6
|
appVersion: v1.7.6
|
||||||
description: A Helm chart for Argo Events, the event-driven workflow automation framework
|
description: A Helm chart for Argo Events, the event-driven workflow automation framework
|
||||||
name: argo-events
|
name: argo-events
|
||||||
version: 2.1.4
|
version: 2.1.6
|
||||||
home: https://github.com/argoproj/argo-helm
|
home: https://github.com/argoproj/argo-helm
|
||||||
icon: https://argoproj.github.io/argo-events/assets/logo.png
|
icon: https://argoproj.github.io/argo-events/assets/logo.png
|
||||||
keywords:
|
keywords:
|
||||||
|
@ -15,5 +15,5 @@ maintainers:
|
||||||
url: https://argoproj.github.io/
|
url: https://argoproj.github.io/
|
||||||
annotations:
|
annotations:
|
||||||
artifacthub.io/changes: |
|
artifacthub.io/changes: |
|
||||||
- kind: added
|
- kind: fixed
|
||||||
description: Add install guide on README
|
description: fix toYaml function in deployment template for envFrom block
|
||||||
|
|
|
@ -27,6 +27,9 @@ spec:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
spec:
|
spec:
|
||||||
|
{{- with .Values.controller.priorityClassName }}
|
||||||
|
priorityClassName: {{ . }}
|
||||||
|
{{- end }}
|
||||||
{{- with .Values.global.imagePullSecrets }}
|
{{- with .Values.global.imagePullSecrets }}
|
||||||
imagePullSecrets:
|
imagePullSecrets:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
|
@ -60,7 +63,7 @@ spec:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with .Values.controller.envFrom }}
|
{{- with .Values.controller.envFrom }}
|
||||||
envFrom:
|
envFrom:
|
||||||
{{- toYaml | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: config
|
- name: config
|
||||||
|
|
|
@ -27,6 +27,9 @@ spec:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
spec:
|
spec:
|
||||||
|
{{- with .Values.webhook.priorityClassName }}
|
||||||
|
priorityClassName: {{ . }}
|
||||||
|
{{- end }}
|
||||||
{{- with .Values.global.imagePullSecrets }}
|
{{- with .Values.global.imagePullSecrets }}
|
||||||
imagePullSecrets:
|
imagePullSecrets:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
appVersion: v3.4.5
|
appVersion: v3.4.7
|
||||||
name: argo-workflows
|
name: argo-workflows
|
||||||
description: A Helm chart for Argo Workflows
|
description: A Helm chart for Argo Workflows
|
||||||
type: application
|
type: application
|
||||||
version: 0.22.15
|
version: 0.24.0
|
||||||
icon: https://raw.githubusercontent.com/argoproj/argo-workflows/master/docs/assets/argo.png
|
icon: https://raw.githubusercontent.com/argoproj/argo-workflows/master/docs/assets/argo.png
|
||||||
home: https://github.com/argoproj/argo-helm
|
home: https://github.com/argoproj/argo-helm
|
||||||
sources:
|
sources:
|
||||||
|
@ -13,5 +13,5 @@ maintainers:
|
||||||
url: https://argoproj.github.io/
|
url: https://argoproj.github.io/
|
||||||
annotations:
|
annotations:
|
||||||
artifacthub.io/changes: |
|
artifacthub.io/changes: |
|
||||||
- kind: added
|
- kind: fixed
|
||||||
description: Ability to use memoization feature.
|
description: Add namespace field to all namespace scoped resources because `helm template` doesn't add the namespace filed automatically.
|
||||||
|
|
|
@ -6,13 +6,6 @@ If you want your deployment of this helm chart to most closely match the [argo C
|
||||||
|
|
||||||
## Pre-Requisites
|
## Pre-Requisites
|
||||||
|
|
||||||
This chart uses an install hook to configure the CRD definition. Installation of CRDs is a somewhat privileged process in itself and in RBAC enabled clusters the `default` service account for namespaces does not typically have the ability to create these.
|
|
||||||
|
|
||||||
A few options are:
|
|
||||||
|
|
||||||
- Manually create a ServiceAccount in the Namespace in which your release will be deployed w/ appropriate bindings to perform this action and set the `serviceAccountName` field in the Workflow spec
|
|
||||||
- Augment the `default` ServiceAccount permissions in the Namespace in which your Release is deployed to have the appropriate permissions
|
|
||||||
|
|
||||||
### Custom resource definitions
|
### Custom resource definitions
|
||||||
|
|
||||||
Some users would prefer to install the CRDs _outside_ of the chart. You can disable the CRD installation of this chart by using `--set crds.install=false` when installing the chart.
|
Some users would prefer to install the CRDs _outside_ of the chart. You can disable the CRD installation of this chart by using `--set crds.install=false` when installing the chart.
|
||||||
|
@ -28,6 +21,41 @@ kubectl apply -k "https://github.com/argoproj/argo-workflows/manifests/base/crds
|
||||||
kubectl apply -k "https://github.com/argoproj/argo-workflows/manifests/base/crds/full?ref=v3.3.9"
|
kubectl apply -k "https://github.com/argoproj/argo-workflows/manifests/base/crds/full?ref=v3.3.9"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### ServiceAccount for Workflow Spec
|
||||||
|
In order for each Workflow run, you create ServiceAccount via `values.yaml` like below.
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
workflow:
|
||||||
|
serviceAccount:
|
||||||
|
create: true
|
||||||
|
name: "argo-workflow"
|
||||||
|
rbac:
|
||||||
|
create: true
|
||||||
|
controller:
|
||||||
|
workflowNamespaces:
|
||||||
|
- default
|
||||||
|
- foo
|
||||||
|
- bar
|
||||||
|
```
|
||||||
|
|
||||||
|
Set ServiceAccount on Workflow.
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Workflow
|
||||||
|
metadata:
|
||||||
|
generateName: hello-world-
|
||||||
|
spec:
|
||||||
|
entrypoint: whalesay
|
||||||
|
serviceAccountName: argo-workflow # Set ServiceAccount
|
||||||
|
templates:
|
||||||
|
- name: whalesay
|
||||||
|
container:
|
||||||
|
image: docker/whalesay
|
||||||
|
command: [ cowsay ]
|
||||||
|
args: [ "hello world" ]
|
||||||
|
```
|
||||||
|
|
||||||
## Installing the Chart
|
## Installing the Chart
|
||||||
|
|
||||||
To install the chart with the release name `my-release`:
|
To install the chart with the release name `my-release`:
|
||||||
|
@ -108,6 +136,7 @@ Fields to note:
|
||||||
| controller.extraArgs | list | `[]` | Extra arguments to be added to the controller |
|
| controller.extraArgs | list | `[]` | Extra arguments to be added to the controller |
|
||||||
| controller.extraContainers | list | `[]` | Extra containers to be added to the controller deployment |
|
| controller.extraContainers | list | `[]` | Extra containers to be added to the controller deployment |
|
||||||
| controller.extraEnv | list | `[]` | Extra environment variables to provide to the controller container |
|
| controller.extraEnv | list | `[]` | Extra environment variables to provide to the controller container |
|
||||||
|
| controller.extraInitContainers | list | `[]` | Enables init containers to be added to the controller deployment |
|
||||||
| controller.image.registry | string | `"quay.io"` | Registry to use for the controller |
|
| controller.image.registry | string | `"quay.io"` | Registry to use for the controller |
|
||||||
| controller.image.repository | string | `"argoproj/workflow-controller"` | Registry to use for the controller |
|
| controller.image.repository | string | `"argoproj/workflow-controller"` | Registry to use for the controller |
|
||||||
| controller.image.tag | string | `""` | Image tag for the workflow controller. Defaults to `.Values.images.tag`. |
|
| controller.image.tag | string | `""` | Image tag for the workflow controller. Defaults to `.Values.images.tag`. |
|
||||||
|
@ -215,6 +244,7 @@ Fields to note:
|
||||||
| server.extraArgs | list | `[]` | Extra arguments to provide to the Argo server binary, such as for disabling authentication. |
|
| server.extraArgs | list | `[]` | Extra arguments to provide to the Argo server binary, such as for disabling authentication. |
|
||||||
| server.extraContainers | list | `[]` | Extra containers to be added to the server deployment |
|
| server.extraContainers | list | `[]` | Extra containers to be added to the server deployment |
|
||||||
| server.extraEnv | list | `[]` | Extra environment variables to provide to the argo-server container |
|
| server.extraEnv | list | `[]` | Extra environment variables to provide to the argo-server container |
|
||||||
|
| server.extraInitContainers | list | `[]` | Enables init containers to be added to the server deployment |
|
||||||
| server.image.registry | string | `"quay.io"` | Registry to use for the server |
|
| server.image.registry | string | `"quay.io"` | Registry to use for the server |
|
||||||
| server.image.repository | string | `"argoproj/argocli"` | Repository to use for the server |
|
| server.image.repository | string | `"argoproj/argocli"` | Repository to use for the server |
|
||||||
| server.image.tag | string | `""` | Image tag for the Argo Workflows server. Defaults to `.Values.images.tag`. |
|
| server.image.tag | string | `""` | Image tag for the Argo Workflows server. Defaults to `.Values.images.tag`. |
|
||||||
|
|
|
@ -6,13 +6,6 @@ If you want your deployment of this helm chart to most closely match the [argo C
|
||||||
|
|
||||||
## Pre-Requisites
|
## Pre-Requisites
|
||||||
|
|
||||||
This chart uses an install hook to configure the CRD definition. Installation of CRDs is a somewhat privileged process in itself and in RBAC enabled clusters the `default` service account for namespaces does not typically have the ability to create these.
|
|
||||||
|
|
||||||
A few options are:
|
|
||||||
|
|
||||||
- Manually create a ServiceAccount in the Namespace in which your release will be deployed w/ appropriate bindings to perform this action and set the `serviceAccountName` field in the Workflow spec
|
|
||||||
- Augment the `default` ServiceAccount permissions in the Namespace in which your Release is deployed to have the appropriate permissions
|
|
||||||
|
|
||||||
### Custom resource definitions
|
### Custom resource definitions
|
||||||
|
|
||||||
Some users would prefer to install the CRDs _outside_ of the chart. You can disable the CRD installation of this chart by using `--set crds.install=false` when installing the chart.
|
Some users would prefer to install the CRDs _outside_ of the chart. You can disable the CRD installation of this chart by using `--set crds.install=false` when installing the chart.
|
||||||
|
@ -28,6 +21,41 @@ kubectl apply -k "https://github.com/argoproj/argo-workflows/manifests/base/crds
|
||||||
kubectl apply -k "https://github.com/argoproj/argo-workflows/manifests/base/crds/full?ref=v3.3.9"
|
kubectl apply -k "https://github.com/argoproj/argo-workflows/manifests/base/crds/full?ref=v3.3.9"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### ServiceAccount for Workflow Spec
|
||||||
|
In order for each Workflow run, you create ServiceAccount via `values.yaml` like below.
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
workflow:
|
||||||
|
serviceAccount:
|
||||||
|
create: true
|
||||||
|
name: "argo-workflow"
|
||||||
|
rbac:
|
||||||
|
create: true
|
||||||
|
controller:
|
||||||
|
workflowNamespaces:
|
||||||
|
- default
|
||||||
|
- foo
|
||||||
|
- bar
|
||||||
|
```
|
||||||
|
|
||||||
|
Set ServiceAccount on Workflow.
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Workflow
|
||||||
|
metadata:
|
||||||
|
generateName: hello-world-
|
||||||
|
spec:
|
||||||
|
entrypoint: whalesay
|
||||||
|
serviceAccountName: argo-workflow # Set ServiceAccount
|
||||||
|
templates:
|
||||||
|
- name: whalesay
|
||||||
|
container:
|
||||||
|
image: docker/whalesay
|
||||||
|
command: [ cowsay ]
|
||||||
|
args: [ "hello world" ]
|
||||||
|
```
|
||||||
|
|
||||||
## Installing the Chart
|
## Installing the Chart
|
||||||
|
|
||||||
To install the chart with the release name `my-release`:
|
To install the chart with the release name `my-release`:
|
||||||
|
|
|
@ -7,6 +7,9 @@ kind: ClusterRole
|
||||||
{{- end }}
|
{{- end }}
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ template "argo-workflows.controller.fullname" . }}
|
name: {{ template "argo-workflows.controller.fullname" . }}
|
||||||
|
{{- if .Values.singleNamespace }}
|
||||||
|
namespace: {{ .Release.Namespace | quote }}
|
||||||
|
{{- end }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "argo-workflows.labels" (dict "context" . "component" .Values.controller.name "name" .Values.controller.name) | nindent 4 }}
|
{{- include "argo-workflows.labels" (dict "context" . "component" .Values.controller.name "name" .Values.controller.name) | nindent 4 }}
|
||||||
rules:
|
rules:
|
||||||
|
|
|
@ -2,6 +2,7 @@ apiVersion: v1
|
||||||
kind: ConfigMap
|
kind: ConfigMap
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ template "argo-workflows.controller.fullname" . }}-configmap
|
name: {{ template "argo-workflows.controller.fullname" . }}-configmap
|
||||||
|
namespace: {{ .Release.Namespace | quote }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "argo-workflows.labels" (dict "context" . "component" .Values.controller.name "name" "cm") | nindent 4 }}
|
{{- include "argo-workflows.labels" (dict "context" . "component" .Values.controller.name "name" "cm") | nindent 4 }}
|
||||||
data:
|
data:
|
||||||
|
|
|
@ -7,6 +7,9 @@ kind: ClusterRoleBinding
|
||||||
{{- end }}
|
{{- end }}
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ template "argo-workflows.controller.fullname" . }}
|
name: {{ template "argo-workflows.controller.fullname" . }}
|
||||||
|
{{- if .Values.singleNamespace }}
|
||||||
|
namespace: {{ .Release.Namespace | quote }}
|
||||||
|
{{- end }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "argo-workflows.labels" (dict "context" . "component" .Values.controller.name "name" .Values.controller.name) | nindent 4 }}
|
{{- include "argo-workflows.labels" (dict "context" . "component" .Values.controller.name "name" .Values.controller.name) | nindent 4 }}
|
||||||
roleRef:
|
roleRef:
|
||||||
|
@ -20,7 +23,7 @@ roleRef:
|
||||||
subjects:
|
subjects:
|
||||||
- kind: ServiceAccount
|
- kind: ServiceAccount
|
||||||
name: {{ template "argo-workflows.controllerServiceAccountName" . }}
|
name: {{ template "argo-workflows.controllerServiceAccountName" . }}
|
||||||
namespace: {{ .Release.Namespace }}
|
namespace: {{ .Release.Namespace | quote }}
|
||||||
|
|
||||||
{{- if .Values.controller.clusterWorkflowTemplates.enabled }}
|
{{- if .Values.controller.clusterWorkflowTemplates.enabled }}
|
||||||
---
|
---
|
||||||
|
@ -37,6 +40,6 @@ roleRef:
|
||||||
subjects:
|
subjects:
|
||||||
- kind: ServiceAccount
|
- kind: ServiceAccount
|
||||||
name: {{ template "argo-workflows.controllerServiceAccountName" . }}
|
name: {{ template "argo-workflows.controllerServiceAccountName" . }}
|
||||||
namespace: {{ .Release.Namespace }}
|
namespace: {{ .Release.Namespace | quote }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -3,6 +3,7 @@ apiVersion: policy/v1
|
||||||
kind: PodDisruptionBudget
|
kind: PodDisruptionBudget
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ template "argo-workflows.controller.fullname" . }}
|
name: {{ template "argo-workflows.controller.fullname" . }}
|
||||||
|
namespace: {{ .Release.Namespace | quote }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "argo-workflows.labels" (dict "context" . "component" .Values.controller.name "name" .Values.controller.name) | nindent 4 }}
|
{{- include "argo-workflows.labels" (dict "context" . "component" .Values.controller.name "name" .Values.controller.name) | nindent 4 }}
|
||||||
spec:
|
spec:
|
||||||
|
|
|
@ -2,6 +2,7 @@ apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ template "argo-workflows.controller.fullname" . }}
|
name: {{ template "argo-workflows.controller.fullname" . }}
|
||||||
|
namespace: {{ .Release.Namespace | quote }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "argo-workflows.labels" (dict "context" . "component" .Values.controller.name "name" .Values.controller.name) | nindent 4 }}
|
{{- include "argo-workflows.labels" (dict "context" . "component" .Values.controller.name "name" .Values.controller.name) | nindent 4 }}
|
||||||
app.kubernetes.io/version: {{ include "argo-workflows.controller_chart_version_label" . }}
|
app.kubernetes.io/version: {{ include "argo-workflows.controller_chart_version_label" . }}
|
||||||
|
@ -32,6 +33,10 @@ spec:
|
||||||
securityContext:
|
securityContext:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- with .Values.controller.extraInitContainers }}
|
||||||
|
initContainers:
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
containers:
|
containers:
|
||||||
- name: controller
|
- name: controller
|
||||||
image: "{{- include "argo-workflows.image" (dict "context" . "image" .Values.controller.image) }}:{{ default (include "argo-workflows.defaultTag" .) .Values.controller.image.tag }}"
|
image: "{{- include "argo-workflows.image" (dict "context" . "image" .Values.controller.image) }}:{{ default (include "argo-workflows.defaultTag" .) .Values.controller.image.tag }}"
|
||||||
|
|
|
@ -3,6 +3,7 @@ apiVersion: v1
|
||||||
kind: ServiceAccount
|
kind: ServiceAccount
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ template "argo-workflows.controllerServiceAccountName" . }}
|
name: {{ template "argo-workflows.controllerServiceAccountName" . }}
|
||||||
|
namespace: {{ .Release.Namespace | quote }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "argo-workflows.labels" (dict "context" . "component" .Values.controller.name "name" .Values.controller.name) | nindent 4 }}
|
{{- include "argo-workflows.labels" (dict "context" . "component" .Values.controller.name "name" .Values.controller.name) | nindent 4 }}
|
||||||
{{- with .Values.controller.serviceAccount.labels }}
|
{{- with .Values.controller.serviceAccount.labels }}
|
||||||
|
|
|
@ -3,6 +3,7 @@ apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ template "argo-workflows.controller.fullname" . }}
|
name: {{ template "argo-workflows.controller.fullname" . }}
|
||||||
|
namespace: {{ .Release.Namespace | quote }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "argo-workflows.labels" (dict "context" . "component" .Values.controller.name "name" .Values.controller.name) | nindent 4 }}
|
{{- include "argo-workflows.labels" (dict "context" . "component" .Values.controller.name "name" .Values.controller.name) | nindent 4 }}
|
||||||
app.kubernetes.io/version: {{ default (include "argo-workflows.defaultTag" .) .Values.controller.image.tag | trunc 63 | quote }}
|
app.kubernetes.io/version: {{ default (include "argo-workflows.defaultTag" .) .Values.controller.image.tag | trunc 63 | quote }}
|
||||||
|
|
|
@ -3,9 +3,7 @@ apiVersion: monitoring.coreos.com/v1
|
||||||
kind: ServiceMonitor
|
kind: ServiceMonitor
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ template "argo-workflows.controller.fullname" . }}
|
name: {{ template "argo-workflows.controller.fullname" . }}
|
||||||
{{- with .Values.controller.serviceMonitor.namespace }}
|
namespace: {{ default .Release.Namespace .Values.controller.serviceMonitor.namespace | quote }}
|
||||||
namespace: {{ . }}
|
|
||||||
{{- end }}
|
|
||||||
labels:
|
labels:
|
||||||
{{- include "argo-workflows.labels" (dict "context" . "component" .Values.controller.name "name" .Values.controller.name) | nindent 4 }}
|
{{- include "argo-workflows.labels" (dict "context" . "component" .Values.controller.name "name" .Values.controller.name) | nindent 4 }}
|
||||||
{{- with .Values.controller.serviceMonitor.additionalLabels }}
|
{{- with .Values.controller.serviceMonitor.additionalLabels }}
|
||||||
|
@ -25,7 +23,7 @@ spec:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
namespaceSelector:
|
namespaceSelector:
|
||||||
matchNames:
|
matchNames:
|
||||||
- {{ .Release.Namespace }}
|
- {{ .Release.Namespace | quote }}
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
{{- include "argo-workflows.selectorLabels" (dict "context" . "name" .Values.controller.name) | nindent 6 }}
|
{{- include "argo-workflows.selectorLabels" (dict "context" . "name" .Values.controller.name) | nindent 6 }}
|
||||||
|
|
|
@ -7,6 +7,9 @@ kind: ClusterRole
|
||||||
{{- end }}
|
{{- end }}
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ template "argo-workflows.server.fullname" . }}
|
name: {{ template "argo-workflows.server.fullname" . }}
|
||||||
|
{{- if .Values.singleNamespace }}
|
||||||
|
namespace: {{ .Release.Namespace | quote }}
|
||||||
|
{{- end }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "argo-workflows.labels" (dict "context" . "component" .Values.server.name "name" .Values.server.name) | nindent 4 }}
|
{{- include "argo-workflows.labels" (dict "context" . "component" .Values.server.name "name" .Values.server.name) | nindent 4 }}
|
||||||
rules:
|
rules:
|
||||||
|
|
|
@ -7,6 +7,9 @@ kind: ClusterRoleBinding
|
||||||
{{- end }}
|
{{- end }}
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ template "argo-workflows.server.fullname" . }}
|
name: {{ template "argo-workflows.server.fullname" . }}
|
||||||
|
{{- if .Values.singleNamespace }}
|
||||||
|
namespace: {{ .Release.Namespace | quote }}
|
||||||
|
{{- end }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "argo-workflows.labels" (dict "context" . "component" .Values.server.name "name" .Values.server.name) | nindent 4 }}
|
{{- include "argo-workflows.labels" (dict "context" . "component" .Values.server.name "name" .Values.server.name) | nindent 4 }}
|
||||||
roleRef:
|
roleRef:
|
||||||
|
@ -20,7 +23,7 @@ roleRef:
|
||||||
subjects:
|
subjects:
|
||||||
- kind: ServiceAccount
|
- kind: ServiceAccount
|
||||||
name: {{ template "argo-workflows.serverServiceAccountName" . }}
|
name: {{ template "argo-workflows.serverServiceAccountName" . }}
|
||||||
namespace: {{ .Release.Namespace }}
|
namespace: {{ .Release.Namespace | quote }}
|
||||||
|
|
||||||
{{- if .Values.server.clusterWorkflowTemplates.enabled }}
|
{{- if .Values.server.clusterWorkflowTemplates.enabled }}
|
||||||
---
|
---
|
||||||
|
@ -37,6 +40,6 @@ roleRef:
|
||||||
subjects:
|
subjects:
|
||||||
- kind: ServiceAccount
|
- kind: ServiceAccount
|
||||||
name: {{ template "argo-workflows.serverServiceAccountName" . }}
|
name: {{ template "argo-workflows.serverServiceAccountName" . }}
|
||||||
namespace: {{ .Release.Namespace }}
|
namespace: {{ .Release.Namespace | quote }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
|
@ -3,6 +3,7 @@ apiVersion: policy/v1
|
||||||
kind: PodDisruptionBudget
|
kind: PodDisruptionBudget
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ template "argo-workflows.server.fullname" . }}
|
name: {{ template "argo-workflows.server.fullname" . }}
|
||||||
|
namespace: {{ .Release.Namespace | quote }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "argo-workflows.labels" (dict "context" . "component" .Values.server.name "name" .Values.server.name) | nindent 4 }}
|
{{- include "argo-workflows.labels" (dict "context" . "component" .Values.server.name "name" .Values.server.name) | nindent 4 }}
|
||||||
spec:
|
spec:
|
||||||
|
|
|
@ -3,6 +3,7 @@ apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ template "argo-workflows.server.fullname" . }}
|
name: {{ template "argo-workflows.server.fullname" . }}
|
||||||
|
namespace: {{ .Release.Namespace | quote }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "argo-workflows.labels" (dict "context" . "component" .Values.server.name "name" .Values.server.name) | nindent 4 }}
|
{{- include "argo-workflows.labels" (dict "context" . "component" .Values.server.name "name" .Values.server.name) | nindent 4 }}
|
||||||
app.kubernetes.io/version: {{ include "argo-workflows.server_chart_version_label" . }}
|
app.kubernetes.io/version: {{ include "argo-workflows.server_chart_version_label" . }}
|
||||||
|
@ -33,6 +34,10 @@ spec:
|
||||||
securityContext:
|
securityContext:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- with .Values.server.extraInitContainers }}
|
||||||
|
initContainers:
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
containers:
|
containers:
|
||||||
- name: argo-server
|
- name: argo-server
|
||||||
image: "{{- include "argo-workflows.image" (dict "context" . "image" .Values.server.image) }}:{{ default (include "argo-workflows.defaultTag" .) .Values.server.image.tag }}"
|
image: "{{- include "argo-workflows.image" (dict "context" . "image" .Values.server.image) }}:{{ default (include "argo-workflows.defaultTag" .) .Values.server.image.tag }}"
|
||||||
|
|
|
@ -14,6 +14,7 @@ metadata:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
name: {{ template "argo-workflows.server.fullname" . }}
|
name: {{ template "argo-workflows.server.fullname" . }}
|
||||||
|
namespace: {{ .Release.Namespace | quote }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "argo-workflows.labels" (dict "context" . "component" .Values.server.name "name" .Values.server.name) | nindent 4 }}
|
{{- include "argo-workflows.labels" (dict "context" . "component" .Values.server.name "name" .Values.server.name) | nindent 4 }}
|
||||||
{{- if .Values.server.ingress.labels }}
|
{{- if .Values.server.ingress.labels }}
|
||||||
|
|
|
@ -3,6 +3,7 @@ apiVersion: v1
|
||||||
kind: ServiceAccount
|
kind: ServiceAccount
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ template "argo-workflows.serverServiceAccountName" . }}
|
name: {{ template "argo-workflows.serverServiceAccountName" . }}
|
||||||
|
namespace: {{ .Release.Namespace | quote }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "argo-workflows.labels" (dict "context" . "component" .Values.server.name "name" .Values.server.name) | nindent 4 }}
|
{{- include "argo-workflows.labels" (dict "context" . "component" .Values.server.name "name" .Values.server.name) | nindent 4 }}
|
||||||
{{- with .Values.server.serviceAccount.labels }}
|
{{- with .Values.server.serviceAccount.labels }}
|
||||||
|
|
|
@ -3,6 +3,7 @@ apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ template "argo-workflows.server.fullname" . }}
|
name: {{ template "argo-workflows.server.fullname" . }}
|
||||||
|
namespace: {{ .Release.Namespace | quote }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "argo-workflows.labels" (dict "context" . "component" .Values.server.name "name" .Values.server.name) | nindent 4 }}
|
{{- include "argo-workflows.labels" (dict "context" . "component" .Values.server.name "name" .Values.server.name) | nindent 4 }}
|
||||||
app.kubernetes.io/version: {{ include "argo-workflows.server_chart_version_label" . }}
|
app.kubernetes.io/version: {{ include "argo-workflows.server_chart_version_label" . }}
|
||||||
|
|
|
@ -295,6 +295,9 @@ controller:
|
||||||
# -- Extra containers to be added to the controller deployment
|
# -- Extra containers to be added to the controller deployment
|
||||||
extraContainers: []
|
extraContainers: []
|
||||||
|
|
||||||
|
# -- Enables init containers to be added to the controller deployment
|
||||||
|
extraInitContainers: []
|
||||||
|
|
||||||
# -- Workflow retention by number of workflows
|
# -- Workflow retention by number of workflows
|
||||||
retentionPolicy: {}
|
retentionPolicy: {}
|
||||||
# completed: 10
|
# completed: 10
|
||||||
|
@ -570,6 +573,9 @@ server:
|
||||||
# -- Extra containers to be added to the server deployment
|
# -- Extra containers to be added to the server deployment
|
||||||
extraContainers: []
|
extraContainers: []
|
||||||
|
|
||||||
|
# -- Enables init containers to be added to the server deployment
|
||||||
|
extraInitContainers: []
|
||||||
|
|
||||||
# -- Array of extra K8s manifests to deploy
|
# -- Array of extra K8s manifests to deploy
|
||||||
extraObjects: []
|
extraObjects: []
|
||||||
# - apiVersion: secrets-store.csi.x-k8s.io/v1
|
# - apiVersion: secrets-store.csi.x-k8s.io/v1
|
||||||
|
|
|
@ -2,7 +2,7 @@ apiVersion: v2
|
||||||
name: argocd-image-updater
|
name: argocd-image-updater
|
||||||
description: A Helm chart for Argo CD Image Updater, a tool to automatically update the container images of Kubernetes workloads which are managed by Argo CD
|
description: A Helm chart for Argo CD Image Updater, a tool to automatically update the container images of Kubernetes workloads which are managed by Argo CD
|
||||||
type: application
|
type: application
|
||||||
version: 0.8.4
|
version: 0.8.5
|
||||||
appVersion: v0.12.2
|
appVersion: v0.12.2
|
||||||
home: https://github.com/argoproj-labs/argocd-image-updater
|
home: https://github.com/argoproj-labs/argocd-image-updater
|
||||||
icon: https://argocd-image-updater.readthedocs.io/en/stable/assets/logo.png
|
icon: https://argocd-image-updater.readthedocs.io/en/stable/assets/logo.png
|
||||||
|
@ -16,4 +16,4 @@ maintainers:
|
||||||
annotations:
|
annotations:
|
||||||
artifacthub.io/changes: |
|
artifacthub.io/changes: |
|
||||||
- kind: changed
|
- kind: changed
|
||||||
description: Update Argo CD Image Updater to v0.12.2
|
description: Added support for pod labels
|
||||||
|
|
|
@ -106,6 +106,7 @@ The `config.registries` value can be used exactly as it looks in the documentati
|
||||||
| nameOverride | string | `""` | Global name (argocd-image-updater.name in _helpers.tpl) override |
|
| nameOverride | string | `""` | Global name (argocd-image-updater.name in _helpers.tpl) override |
|
||||||
| nodeSelector | object | `{}` | Kubernetes nodeSelector settings for the deployment |
|
| nodeSelector | object | `{}` | Kubernetes nodeSelector settings for the deployment |
|
||||||
| podAnnotations | object | `{}` | Pod Annotations for the deployment |
|
| podAnnotations | object | `{}` | Pod Annotations for the deployment |
|
||||||
|
| podLabels | object | `{}` | Pod Labels for the deployment |
|
||||||
| podSecurityContext | object | `{}` | Pod security context settings for the deployment |
|
| podSecurityContext | object | `{}` | Pod security context settings for the deployment |
|
||||||
| rbac.enabled | bool | `true` | Enable RBAC creation |
|
| rbac.enabled | bool | `true` | Enable RBAC creation |
|
||||||
| replicaCount | int | `1` | Replica count for the deployment. It is not advised to run more than one replica. |
|
| replicaCount | int | `1` | Replica count for the deployment. It is not advised to run more than one replica. |
|
||||||
|
|
|
@ -19,6 +19,9 @@ spec:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
|
checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
|
||||||
labels:
|
labels:
|
||||||
|
{{- with .Values.podLabels }}
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
{{- include "argocd-image-updater.selectorLabels" . | nindent 8 }}
|
{{- include "argocd-image-updater.selectorLabels" . | nindent 8 }}
|
||||||
spec:
|
spec:
|
||||||
{{- with .Values.imagePullSecrets }}
|
{{- with .Values.imagePullSecrets }}
|
||||||
|
|
|
@ -156,6 +156,9 @@ serviceAccount:
|
||||||
# -- Pod Annotations for the deployment
|
# -- Pod Annotations for the deployment
|
||||||
podAnnotations: {}
|
podAnnotations: {}
|
||||||
|
|
||||||
|
# -- Pod Labels for the deployment
|
||||||
|
podLabels: {}
|
||||||
|
|
||||||
# -- Pod security context settings for the deployment
|
# -- Pod security context settings for the deployment
|
||||||
podSecurityContext: {}
|
podSecurityContext: {}
|
||||||
# fsGroup: 2000
|
# fsGroup: 2000
|
||||||
|
|
Loading…
Reference in a new issue