Merge branch 'master' into feat/labels

This commit is contained in:
Nicolas Lamirault 2021-09-17 17:46:52 +02:00 committed by GitHub
commit 43f20161a5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
17 changed files with 173 additions and 28 deletions

View file

@ -2,7 +2,7 @@ apiVersion: v2
appVersion: 2.1.2 appVersion: 2.1.2
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: 3.18.0 version: 3.20.0
home: https://github.com/argoproj/argo-helm home: https://github.com/argoproj/argo-helm
icon: https://argoproj.github.io/argo-cd/assets/logo.png icon: https://argoproj.github.io/argo-cd/assets/logo.png
keywords: keywords:

View file

@ -181,6 +181,7 @@ NAME: my-release
| Parameter | Description | Default | | Parameter | Description | Default |
|-----|---------|-------------| |-----|---------|-------------|
| controller.affinity | [Assign custom affinity rules to the deployment](https://kubernetes.io/docs/concepts/configuration/assign-pod-node/) | `{}` | | controller.affinity | [Assign custom affinity rules to the deployment](https://kubernetes.io/docs/concepts/configuration/assign-pod-node/) | `{}` |
| controller.topologySpreadConstraints | [Assign custom topologySpreadConstraints rules to the deployment](https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/) | `[]` |
| controller.args.operationProcessors | define the controller `--operation-processors` | `"10"` | | controller.args.operationProcessors | define the controller `--operation-processors` | `"10"` |
| controller.args.appResyncPeriod | define the controller `--app-resync` | `"180"` | | controller.args.appResyncPeriod | define the controller `--app-resync` | `"180"` |
| controller.args.selfHealTimeout | define the controller `--self-heal-timeout-seconds` | `"5"` | | controller.args.selfHealTimeout | define the controller `--self-heal-timeout-seconds` | `"5"` |
@ -188,6 +189,7 @@ NAME: my-release
| controller.clusterAdminAccess.enabled | Enable RBAC for local cluster deployments. | `true` | | controller.clusterAdminAccess.enabled | Enable RBAC for local cluster deployments. | `true` |
| controller.containerPort | Controller listening port. | `8082` | | controller.containerPort | Controller listening port. | `8082` |
| controller.extraArgs | Additional arguments for the controller. A list of flags | `[]` | | controller.extraArgs | Additional arguments for the controller. A list of flags | `[]` |
| controller.extraContainers | Additional containers for the controller. A list of containers. | `[]` |
| controller.enableStatefulSet | Enable deploying the controller as a StatefulSet instead of a Deployment. Used for HA installations. | `false` | | controller.enableStatefulSet | Enable deploying the controller as a StatefulSet instead of a Deployment. Used for HA installations. | `false` |
| controller.env | Environment variables for the controller. | `[]` | | controller.env | Environment variables for the controller. | `[]` |
| controller.envFrom | `envFrom` to pass to the controller. | `[]` (See [values.yaml](values.yaml)) | | controller.envFrom | `envFrom` to pass to the controller. | `[]` (See [values.yaml](values.yaml)) |
@ -236,6 +238,7 @@ NAME: my-release
| Property | Description | Default | | Property | Description | Default |
|-----|---------|-------------| |-----|---------|-------------|
| repoServer.affinity | [Assign custom affinity rules to the deployment](https://kubernetes.io/docs/concepts/configuration/assign-pod-node/) | `{}` | | repoServer.affinity | [Assign custom affinity rules to the deployment](https://kubernetes.io/docs/concepts/configuration/assign-pod-node/) | `{}` |
| repoServer.topologySpreadConstraints | [Assign custom topologySpreadConstraints rules to the deployment](https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/) | `[]` |
| repoServer.autoscaling.enabled | Enable Horizontal Pod Autoscaler ([HPA](https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/)) for the repo server | `false` | | repoServer.autoscaling.enabled | Enable Horizontal Pod Autoscaler ([HPA](https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/)) for the repo server | `false` |
| repoServer.autoscaling.minReplicas | Minimum number of replicas for the repo server [HPA](https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/) | `1` | | repoServer.autoscaling.minReplicas | Minimum number of replicas for the repo server [HPA](https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/) | `1` |
| repoServer.autoscaling.maxReplicas | Maximum number of replicas for the repo server [HPA](https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/) | `5` | | repoServer.autoscaling.maxReplicas | Maximum number of replicas for the repo server [HPA](https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/) | `5` |
@ -243,6 +246,7 @@ NAME: my-release
| repoServer.autoscaling.targetMemoryUtilizationPercentage | Average memory utilization percentage for the repo server [HPA](https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/) | `50` | | repoServer.autoscaling.targetMemoryUtilizationPercentage | Average memory utilization percentage for the repo server [HPA](https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/) | `50` |
| repoServer.containerPort | Repo server port | `8081` | | repoServer.containerPort | Repo server port | `8081` |
| repoServer.extraArgs | Additional arguments for the repo server. A list of flags. | `[]` | | repoServer.extraArgs | Additional arguments for the repo server. A list of flags. | `[]` |
| repoServer.extraContainers | Additional containers for the repo server. A list of containers. | `[]` |
| repoServer.env | Environment variables for the repo server. | `[]` | | repoServer.env | Environment variables for the repo server. | `[]` |
| repoServer.envFrom | `envFrom` to pass to the repo server. | `[]` (See [values.yaml](values.yaml)) | | repoServer.envFrom | `envFrom` to pass to the repo server. | `[]` (See [values.yaml](values.yaml)) |
| repoServer.image.repository | Repository to use for the repo server | `global.image.repository` | | repoServer.image.repository | Repository to use for the repo server | `global.image.repository` |
@ -290,6 +294,7 @@ NAME: my-release
| Parameter | Description | Default | | Parameter | Description | Default |
|-----|---------|-------------| |-----|---------|-------------|
| server.affinity | [Assign custom affinity rules to the deployment](https://kubernetes.io/docs/concepts/configuration/assign-pod-node/) | `{}` | | server.affinity | [Assign custom affinity rules to the deployment](https://kubernetes.io/docs/concepts/configuration/assign-pod-node/) | `{}` |
| server.topologySpreadConstraints | [Assign custom topologySpreadConstraints rules to the deployment](https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/) | `[]` |
| server.autoscaling.enabled | Enable Horizontal Pod Autoscaler ([HPA](https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/)) for the server | `false` | | server.autoscaling.enabled | Enable Horizontal Pod Autoscaler ([HPA](https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/)) for the server | `false` |
| server.autoscaling.minReplicas | Minimum number of replicas for the server [HPA](https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/) | `1` | | server.autoscaling.minReplicas | Minimum number of replicas for the server [HPA](https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/) | `1` |
| server.autoscaling.maxReplicas | Maximum number of replicas for the server [HPA](https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/) | `5` | | server.autoscaling.maxReplicas | Maximum number of replicas for the server [HPA](https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/) | `5` |
@ -385,6 +390,7 @@ NAME: my-release
| Property | Description | Default | | Property | Description | Default |
|-----|---------|-------------| |-----|---------|-------------|
| dex.affinity | [Assign custom affinity rules to the deployment](https://kubernetes.io/docs/concepts/configuration/assign-pod-node/) | `{}` | | dex.affinity | [Assign custom affinity rules to the deployment](https://kubernetes.io/docs/concepts/configuration/assign-pod-node/) | `{}` |
| dex.topologySpreadConstraints | [Assign custom topologySpreadConstraints rules to the deployment](https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/) | `[]` |
| dex.containerPortGrpc | GRPC container port | `5557` | | dex.containerPortGrpc | GRPC container port | `5557` |
| dex.containerPortHttp | HTTP container port | `5556` | | dex.containerPortHttp | HTTP container port | `5556` |
| dex.enabled | Enable dex | `true` | | dex.enabled | Enable dex | `true` |
@ -402,6 +408,7 @@ NAME: my-release
| dex.metrics.serviceMonitor.relabelings | Prometheus [RelabelConfigs](https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config) to apply to samples before scraping | `[]` | | dex.metrics.serviceMonitor.relabelings | Prometheus [RelabelConfigs](https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config) to apply to samples before scraping | `[]` |
| dex.metrics.serviceMonitor.metricRelabelings | Prometheus [MetricRelabelConfigs](https://prometheus.io/docs/prometheus/latest/configuration/configuration/#metric_relabel_configs) to apply to samples before ingestion | `[]` | | dex.metrics.serviceMonitor.metricRelabelings | Prometheus [MetricRelabelConfigs](https://prometheus.io/docs/prometheus/latest/configuration/configuration/#metric_relabel_configs) to apply to samples before ingestion | `[]` |
| dex.name | Dex name | `"dex-server"` | | dex.name | Dex name | `"dex-server"` |
| dex.extraContainers | Additional containers for the Dex server. A list of containers. | `[]` |
| dex.env | Environment variables for the Dex server. | `[]` | | dex.env | Environment variables for the Dex server. | `[]` |
| dex.envFrom | `envFrom` to pass to the Dex server. | `[]` (See [values.yaml](values.yaml)) | | dex.envFrom | `envFrom` to pass to the Dex server. | `[]` (See [values.yaml](values.yaml)) |
| dex.nodeSelector | [Node selector](https://kubernetes.io/docs/user-guide/node-selection/) | `{}` | | dex.nodeSelector | [Node selector](https://kubernetes.io/docs/user-guide/node-selection/) | `{}` |
@ -443,12 +450,14 @@ through `xxx.extraArgs`
| Parameter | Description | Default | | Parameter | Description | Default |
|-----|---------|-------------| |-----|---------|-------------|
| redis.affinity | [Assign custom affinity rules to the deployment](https://kubernetes.io/docs/concepts/configuration/assign-pod-node/) | `{}` | | redis.affinity | [Assign custom affinity rules to the deployment](https://kubernetes.io/docs/concepts/configuration/assign-pod-node/) | `{}` |
| redis.topologySpreadConstraints | [Assign custom topologySpreadConstraints rules to the deployment](https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/) | `[]` |
| redis.containerPort | Redis container port | `6379` | | redis.containerPort | Redis container port | `6379` |
| redis.enabled | Enable redis | `true` | | redis.enabled | Enable redis | `true` |
| redis.image.imagePullPolicy | Redis imagePullPolicy | `"IfNotPresent"` | | redis.image.imagePullPolicy | Redis imagePullPolicy | `"IfNotPresent"` |
| redis.image.repository | Redis repository | `"redis"` | | redis.image.repository | Redis repository | `"redis"` |
| redis.image.tag | Redis tag | `"6.2.1-alpine"` | | redis.image.tag | Redis tag | `"6.2.1-alpine"` |
| redis.extraArgs | Additional arguments for the `redis-server`. A list of flags. | `[]` | | redis.extraArgs | Additional arguments for the `redis-server`. A list of flags. | `[]` |
| redis.extraContainers | Additional containers for the redis. A list of containers. | `[]` |
| redis.name | Redis name | `"redis"` | | redis.name | Redis name | `"redis"` |
| redis.env | Environment variables for the Redis server. | `[]` | | redis.env | Environment variables for the Redis server. | `[]` |
| redis.envFrom | `envFrom` to pass to the Redis server. | `[]` (See [values.yaml](values.yaml)) | | redis.envFrom | `envFrom` to pass to the Redis server. | `[]` (See [values.yaml](values.yaml)) |

View file

@ -17,14 +17,14 @@ spec:
replicas: {{ .Values.controller.replicas }} replicas: {{ .Values.controller.replicas }}
template: template:
metadata: metadata:
{{- with (mergeOverwrite .Values.global.podAnnotations .Values.controller.podAnnotations) }} {{- with (mergeOverwrite (deepCopy .Values.global.podAnnotations) .Values.controller.podAnnotations) }}
annotations: annotations:
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}
{{- end }} {{- end }}
labels: labels:
{{- include "argo-cd.labels" (dict "context" . "component" .Values.controller.name "name" .Values.controller.name) | nindent 8 }} {{- include "argo-cd.labels" (dict "context" . "component" .Values.controller.name "name" .Values.controller.name) | nindent 8 }}
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 }}
{{- with (mergeOverwrite .Values.global.podLabels .Values.controller.podLabels) }} {{- with (mergeOverwrite (deepCopy .Values.global.podLabels) .Values.controller.podLabels) }}
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}
{{- end }} {{- end }}
spec: spec:
@ -105,7 +105,10 @@ spec:
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}
{{- end }} {{- end }}
resources: resources:
{{- toYaml .Values.controller.resources | nindent 10 }} {{- toYaml .Values.controller.resources | nindent 10 }}
{{- with .Values.controller.extraContainers }}
{{- toYaml . | nindent 6 }}
{{- end }}
{{- if .Values.controller.nodeSelector }} {{- if .Values.controller.nodeSelector }}
nodeSelector: nodeSelector:
{{- toYaml .Values.controller.nodeSelector | nindent 8 }} {{- toYaml .Values.controller.nodeSelector | nindent 8 }}
@ -117,6 +120,17 @@ spec:
{{- if .Values.controller.affinity }} {{- if .Values.controller.affinity }}
affinity: affinity:
{{- toYaml .Values.controller.affinity | nindent 8 }} {{- toYaml .Values.controller.affinity | nindent 8 }}
{{- end }}
{{- with .Values.controller.topologySpreadConstraints }}
topologySpreadConstraints:
{{- range $constraint := . }}
- {{ toYaml $constraint | nindent 8 | trim }}
{{- if not $constraint.labelSelector }}
labelSelector:
matchLabels:
{{- include "argo-cd.selectorLabels" (dict "context" $ "name" $.Values.controller.name) | nindent 12 }}
{{- end }}
{{- end }}
{{- end }} {{- end }}
serviceAccountName: {{ template "argo-cd.controllerServiceAccountName" . }} serviceAccountName: {{ template "argo-cd.controllerServiceAccountName" . }}
{{- with .Values.global.hostAliases }} {{- with .Values.global.hostAliases }}

View file

@ -16,14 +16,14 @@ spec:
{{- end }} {{- end }}
template: template:
metadata: metadata:
{{- with (mergeOverwrite .Values.global.podAnnotations .Values.repoServer.podAnnotations) }} {{- with (mergeOverwrite (deepCopy .Values.global.podAnnotations) .Values.repoServer.podAnnotations) }}
annotations: annotations:
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}
{{- end }} {{- end }}
labels: labels:
{{- include "argo-cd.labels" (dict "context" . "component" .Values.repoServer.name "name" .Values.repoServer.name) | nindent 8 }} {{- include "argo-cd.labels" (dict "context" . "component" .Values.repoServer.name "name" .Values.repoServer.name) | nindent 8 }}
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 }}
{{- with (mergeOverwrite .Values.global.podLabels .Values.repoServer.podLabels) }} {{- with (mergeOverwrite (deepCopy .Values.global.podLabels) .Values.repoServer.podLabels) }}
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}
{{- end }} {{- end }}
spec: spec:
@ -113,7 +113,10 @@ spec:
successThreshold: {{ .Values.repoServer.readinessProbe.successThreshold }} successThreshold: {{ .Values.repoServer.readinessProbe.successThreshold }}
failureThreshold: {{ .Values.repoServer.readinessProbe.failureThreshold }} failureThreshold: {{ .Values.repoServer.readinessProbe.failureThreshold }}
resources: resources:
{{- toYaml .Values.repoServer.resources | nindent 10 }} {{- toYaml .Values.repoServer.resources | nindent 10 }}
{{- with .Values.controller.extraContainers }}
{{- toYaml . | nindent 6 }}
{{- end }}
{{- if .Values.repoServer.nodeSelector }} {{- if .Values.repoServer.nodeSelector }}
nodeSelector: nodeSelector:
{{- toYaml .Values.repoServer.nodeSelector | nindent 8 }} {{- toYaml .Values.repoServer.nodeSelector | nindent 8 }}
@ -125,6 +128,17 @@ spec:
{{- if .Values.repoServer.affinity }} {{- if .Values.repoServer.affinity }}
affinity: affinity:
{{- toYaml .Values.repoServer.affinity | nindent 8 }} {{- toYaml .Values.repoServer.affinity | nindent 8 }}
{{- end }}
{{- with .Values.repoServer.topologySpreadConstraints }}
topologySpreadConstraints:
{{- range $constraint := . }}
- {{ toYaml $constraint | nindent 8 | trim }}
{{- if not $constraint.labelSelector }}
labelSelector:
matchLabels:
{{- include "argo-cd.selectorLabels" (dict "context" $ "name" $.Values.repoServer.name) | nindent 12 }}
{{- end }}
{{- end }}
{{- end }} {{- end }}
serviceAccountName: {{ template "argo-cd.repoServerServiceAccountName" . }} serviceAccountName: {{ template "argo-cd.repoServerServiceAccountName" . }}
{{- with .Values.global.hostAliases }} {{- with .Values.global.hostAliases }}

View file

@ -16,14 +16,14 @@ spec:
{{- end }} {{- end }}
template: template:
metadata: metadata:
{{- with (mergeOverwrite .Values.global.podAnnotations .Values.server.podAnnotations) }} {{- with (mergeOverwrite (deepCopy .Values.global.podAnnotations) .Values.server.podAnnotations) }}
annotations: annotations:
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}
{{- end }} {{- end }}
labels: labels:
{{- include "argo-cd.labels" (dict "context" . "component" .Values.server.name "name" .Values.server.name) | nindent 8 }} {{- include "argo-cd.labels" (dict "context" . "component" .Values.server.name "name" .Values.server.name) | nindent 8 }}
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 }}
{{- with (mergeOverwrite .Values.global.podLabels .Values.server.podLabels) }} {{- with (mergeOverwrite (deepCopy .Values.global.podLabels) .Values.server.podLabels) }}
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}
{{- end }} {{- end }}
spec: spec:
@ -120,14 +120,14 @@ spec:
successThreshold: {{ .Values.server.readinessProbe.successThreshold }} successThreshold: {{ .Values.server.readinessProbe.successThreshold }}
failureThreshold: {{ .Values.server.readinessProbe.failureThreshold }} failureThreshold: {{ .Values.server.readinessProbe.failureThreshold }}
resources: resources:
{{- toYaml .Values.server.resources | nindent 10 }} {{- toYaml .Values.server.resources | nindent 10 }}
{{- if .Values.server.lifecycle }} {{- if .Values.server.lifecycle }}
lifecycle: lifecycle:
{{- toYaml .Values.server.lifecycle | nindent 10 }} {{- toYaml .Values.server.lifecycle | nindent 10 }}
{{- end }}
{{- with .Values.server.extraContainers }}
{{- toYaml . | nindent 6 }}
{{- end }} {{- end }}
{{- if .Values.server.extraContainers }}
{{- toYaml .Values.server.extraContainers | nindent 6 }}
{{- end }}
{{- if .Values.server.nodeSelector }} {{- if .Values.server.nodeSelector }}
nodeSelector: nodeSelector:
{{- toYaml .Values.server.nodeSelector | nindent 8 }} {{- toYaml .Values.server.nodeSelector | nindent 8 }}
@ -139,6 +139,17 @@ spec:
{{- if .Values.server.affinity }} {{- if .Values.server.affinity }}
affinity: affinity:
{{- toYaml .Values.server.affinity | nindent 8 }} {{- toYaml .Values.server.affinity | nindent 8 }}
{{- end }}
{{- with .Values.server.topologySpreadConstraints }}
topologySpreadConstraints:
{{- range $constraint := . }}
- {{ toYaml $constraint | nindent 8 | trim }}
{{- if not $constraint.labelSelector }}
labelSelector:
matchLabels:
{{- include "argo-cd.selectorLabels" (dict "context" $ "name" $.Values.server.name) | nindent 12 }}
{{- end }}
{{- end }}
{{- end }} {{- end }}
serviceAccountName: {{ template "argo-cd.serverServiceAccountName" . }} serviceAccountName: {{ template "argo-cd.serverServiceAccountName" . }}
{{- with .Values.global.hostAliases }} {{- with .Values.global.hostAliases }}

View file

@ -12,14 +12,14 @@ spec:
{{- include "argo-cd.selectorLabels" (dict "context" . "name" .Values.dex.name) | nindent 6 }} {{- include "argo-cd.selectorLabels" (dict "context" . "name" .Values.dex.name) | nindent 6 }}
template: template:
metadata: metadata:
{{- with (mergeOverwrite .Values.global.podAnnotations .Values.dex.podAnnotations) }} {{- with (mergeOverwrite (deepCopy .Values.global.podAnnotations) .Values.dex.podAnnotations) }}
annotations: annotations:
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}
{{- end }} {{- end }}
labels: labels:
{{- include "argo-cd.labels" (dict "context" . "component" .Values.dex.name "name" .Values.dex.name) | nindent 8 }} {{- include "argo-cd.labels" (dict "context" . "component" .Values.dex.name "name" .Values.dex.name) | nindent 8 }}
app.kubernetes.io/version: {{ .Values.dex.image.tag | quote }} app.kubernetes.io/version: {{ .Values.dex.image.tag | quote }}
{{- with (mergeOverwrite .Values.global.podLabels .Values.dex.podLabels) }} {{- with (mergeOverwrite (deepCopy .Values.global.podLabels) .Values.dex.podLabels) }}
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}
{{- end }} {{- end }}
spec: spec:
@ -99,7 +99,10 @@ spec:
{{- toYaml .Values.dex.volumeMounts | nindent 8 }} {{- toYaml .Values.dex.volumeMounts | nindent 8 }}
{{- end }} {{- end }}
resources: resources:
{{- toYaml .Values.dex.resources | nindent 10 }} {{- toYaml .Values.dex.resources | nindent 10 }}
{{- with .Values.dex.extraContainers }}
{{- toYaml . | nindent 6 }}
{{- end }}
{{- if .Values.dex.nodeSelector }} {{- if .Values.dex.nodeSelector }}
nodeSelector: nodeSelector:
{{- toYaml .Values.dex.nodeSelector | nindent 8 }} {{- toYaml .Values.dex.nodeSelector | nindent 8 }}
@ -111,6 +114,17 @@ spec:
{{- if .Values.dex.affinity }} {{- if .Values.dex.affinity }}
affinity: affinity:
{{- toYaml .Values.dex.affinity | nindent 8 }} {{- toYaml .Values.dex.affinity | nindent 8 }}
{{- end }}
{{- with .Values.dex.topologySpreadConstraints }}
topologySpreadConstraints:
{{- range $constraint := . }}
- {{ toYaml $constraint | nindent 8 | trim }}
{{- if not $constraint.labelSelector }}
labelSelector:
matchLabels:
{{- include "argo-cd.selectorLabels" (dict "context" $ "name" $.Values.dex.name) | nindent 12 }}
{{- end }}
{{- end }}
{{- end }} {{- end }}
serviceAccountName: {{ template "argo-cd.dexServiceAccountName" . }} serviceAccountName: {{ template "argo-cd.dexServiceAccountName" . }}
volumes: volumes:

View file

@ -13,14 +13,14 @@ spec:
app.kubernetes.io/name: {{ include "argo-cd.name" . }}-{{ .Values.redis.name }} app.kubernetes.io/name: {{ include "argo-cd.name" . }}-{{ .Values.redis.name }}
template: template:
metadata: metadata:
{{- with (mergeOverwrite .Values.global.podAnnotations .Values.redis.podAnnotations) }} {{- with (mergeOverwrite (deepCopy .Values.global.podAnnotations) .Values.redis.podAnnotations) }}
annotations: annotations:
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}
{{- end }} {{- end }}
labels: labels:
{{- include "argo-cd.labels" (dict "context" . "component" .Values.redis.name "name" .Values.redis.name) | nindent 8 }} {{- include "argo-cd.labels" (dict "context" . "component" .Values.redis.name "name" .Values.redis.name) | nindent 8 }}
app.kubernetes.io/version: {{ .Values.redis.image.tag | quote }} app.kubernetes.io/version: {{ .Values.redis.image.tag | quote }}
{{- with (mergeOverwrite .Values.global.podLabels .Values.redis.podLabels) }} {{- with (mergeOverwrite (deepCopy .Values.global.podLabels) .Values.redis.podLabels) }}
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}
{{- end }} {{- end }}
spec: spec:
@ -64,6 +64,9 @@ spec:
{{- end }} {{- end }}
resources: resources:
{{- toYaml .Values.redis.resources | nindent 10 }} {{- toYaml .Values.redis.resources | nindent 10 }}
{{- with .Values.redis.extraContainers }}
{{- toYaml . | nindent 6 }}
{{- end }}
{{- if .Values.redis.nodeSelector }} {{- if .Values.redis.nodeSelector }}
nodeSelector: nodeSelector:
{{- toYaml .Values.redis.nodeSelector | nindent 8 }} {{- toYaml .Values.redis.nodeSelector | nindent 8 }}
@ -76,6 +79,17 @@ spec:
affinity: affinity:
{{- toYaml .Values.redis.affinity | nindent 8 }} {{- toYaml .Values.redis.affinity | nindent 8 }}
{{- end }} {{- end }}
{{- with .Values.redis.topologySpreadConstraints }}
topologySpreadConstraints:
{{- range $constraint := . }}
- {{ toYaml $constraint | nindent 8 | trim }}
{{- if not $constraint.labelSelector }}
labelSelector:
matchLabels:
app.kubernetes.io/name: {{ include "argo-cd.name" $ }}-{{ $.Values.redis.name }}
{{- end }}
{{- end }}
{{- end }}
{{- if .Values.redis.volumes }} {{- if .Values.redis.volumes }}
volumes: volumes:
{{- toYaml .Values.redis.volumes | nindent 8}} {{- toYaml .Values.redis.volumes | nindent 8}}

View file

@ -146,6 +146,14 @@ controller:
tolerations: [] tolerations: []
affinity: {} affinity: {}
# Pod Topology Spread Constraints
# Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/
# If labelSelector is left out, it will default to the labelSelector configuration of the deployment
topologySpreadConstraints: []
# - maxSkew: 1
# topologyKey: topology.kubernetes.io/zone
# whenUnsatisfiable: DoNotSchedule
priorityClassName: "" priorityClassName: ""
resources: {} resources: {}
@ -223,6 +231,8 @@ controller:
enabled: false enabled: false
rules: [] rules: []
## Additional containers to be added to the controller pod.
extraContainers: []
## Dex ## Dex
dex: dex:
@ -324,6 +334,14 @@ dex:
tolerations: [] tolerations: []
affinity: {} affinity: {}
# Pod Topology Spread Constraints
# Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/
# If labelSelector is left out, it will default to the labelSelector configuration of the deployment
topologySpreadConstraints: []
# - maxSkew: 1
# topologyKey: topology.kubernetes.io/zone
# whenUnsatisfiable: DoNotSchedule
priorityClassName: "" priorityClassName: ""
## Labels to set container specific security contexts ## Labels to set container specific security contexts
@ -342,6 +360,9 @@ dex:
# cpu: 10m # cpu: 10m
# memory: 32Mi # memory: 32Mi
## Additional containers to be added to the dex pod.
extraContainers: []
## Redis ## Redis
redis: redis:
enabled: true enabled: true
@ -388,6 +409,14 @@ redis:
tolerations: [] tolerations: []
affinity: {} affinity: {}
# Pod Topology Spread Constraints
# Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/
# If labelSelector is left out, it will default to the labelSelector configuration of the deployment
topologySpreadConstraints: []
# - maxSkew: 1
# topologyKey: topology.kubernetes.io/zone
# whenUnsatisfiable: DoNotSchedule
priorityClassName: "" priorityClassName: ""
## Labels to set container specific security contexts ## Labels to set container specific security contexts
@ -422,6 +451,9 @@ redis:
volumeMounts: [] volumeMounts: []
volumes: [] volumes: []
## Additional containers to be added to the redis pod.
extraContainers: []
# This key configures Redis-HA subchart and when enabled (redis-ha.enabled=true) # This key configures Redis-HA subchart and when enabled (redis-ha.enabled=true)
# the custom redis deployment is omitted # the custom redis deployment is omitted
redis-ha: redis-ha:
@ -530,6 +562,14 @@ server:
tolerations: [] tolerations: []
affinity: {} affinity: {}
# Pod Topology Spread Constraints
# Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/
# If labelSelector is left out, it will default to the labelSelector configuration of the deployment
topologySpreadConstraints: []
# - maxSkew: 1
# topologyKey: topology.kubernetes.io/zone
# whenUnsatisfiable: DoNotSchedule
priorityClassName: "" priorityClassName: ""
## Labels to set container specific security contexts ## Labels to set container specific security contexts
@ -943,6 +983,14 @@ repoServer:
tolerations: [] tolerations: []
affinity: {} affinity: {}
# Pod Topology Spread Constraints
# Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/
# If labelSelector is left out, it will default to the labelSelector configuration of the deployment
topologySpreadConstraints: []
# - maxSkew: 1
# topologyKey: topology.kubernetes.io/zone
# whenUnsatisfiable: DoNotSchedule
priorityClassName: "" priorityClassName: ""
## Labels to set container specific security contexts ## Labels to set container specific security contexts
@ -995,6 +1043,9 @@ repoServer:
## Automount API credentials for the Service Account ## Automount API credentials for the Service Account
automountServiceAccountToken: true automountServiceAccountToken: true
## Additional containers to be added to the repo server pod.
extraContainers: []
## Repo server rbac rules ## Repo server rbac rules
# rbac: # rbac:
# - apiGroups: # - apiGroups:

View file

@ -2,7 +2,7 @@ apiVersion: v2
appVersion: "v1.0.2" appVersion: "v1.0.2"
description: A Helm chart for Argo Rollouts description: A Helm chart for Argo Rollouts
name: argo-rollouts name: argo-rollouts
version: 2.0.1 version: 2.0.2
icon: https://argoproj.github.io/argo-rollouts/assets/logo.png icon: https://argoproj.github.io/argo-rollouts/assets/logo.png
home: https://github.com/argoproj/argo-helm home: https://github.com/argoproj/argo-helm
maintainers: maintainers:
@ -11,4 +11,4 @@ maintainers:
- name: jessesuen - name: jessesuen
annotations: annotations:
artifacthub.io/changes: | artifacthub.io/changes: |
- "[Fixed]: ServiceMonitor selector labels match metrics Service" - "[Fixed]: use image.tag in app labels if provided"

View file

@ -38,7 +38,7 @@ Common labels
helm.sh/chart: {{ include "argo-rollouts.chart" . }} helm.sh/chart: {{ include "argo-rollouts.chart" . }}
{{ include "argo-rollouts.selectorLabels" . }} {{ include "argo-rollouts.selectorLabels" . }}
{{- if .Chart.AppVersion }} {{- if .Chart.AppVersion }}
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }} app.kubernetes.io/version: {{ default .Chart.AppVersion $.Values.controller.image.tag | quote }}
{{- end }} {{- end }}
app.kubernetes.io/managed-by: {{ .Release.Service }} app.kubernetes.io/managed-by: {{ .Release.Service }}
app.kubernetes.io/part-of: argo-rollouts app.kubernetes.io/part-of: argo-rollouts

View file

@ -2,7 +2,7 @@ apiVersion: v2
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.5.1 version: 0.5.2
appVersion: "v3.1.8" appVersion: "v3.1.8"
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
@ -15,4 +15,4 @@ maintainers:
- name: benjaminws - name: benjaminws
annotations: annotations:
artifacthub.io/changes: | artifacthub.io/changes: |
- "[Added]: Add controller containerRuntimeExecutors param to configmap" - "[Added]: Add controller initialDelay param to configmap"

View file

@ -24,6 +24,9 @@ data:
{{- with .Values.controller.namespaceParallelism }} {{- with .Values.controller.namespaceParallelism }}
namespaceParallelism: {{ . }} namespaceParallelism: {{ . }}
{{- end }} {{- end }}
{{- with .Values.controller.initialDelay }}
initialDelay: {{ . }}
{{- end }}
{{- if or .Values.executor.resources .Values.executor.env .Values.executor.securityContext}} {{- if or .Values.executor.resources .Values.executor.env .Values.executor.securityContext}}
executor: executor:
{{- with .Values.executor.resources }} {{- with .Values.executor.resources }}

View file

@ -44,6 +44,8 @@ controller:
parallelism: parallelism:
# Limits the maximum number of incomplete workflows in a namespace # Limits the maximum number of incomplete workflows in a namespace
namespaceParallelism: namespaceParallelism:
# Resolves ongoing, uncommon AWS EKS bug: https://github.com/argoproj/argo-workflows/pull/4224
initialDelay:
# podAnnotations is an optional map of annotations to be applied to the controller Pods # podAnnotations is an optional map of annotations to be applied to the controller Pods
podAnnotations: {} podAnnotations: {}
# Optional labels to add to the controller pods # Optional labels to add to the controller pods

View file

@ -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.1.0 version: 0.2.0
appVersion: v0.10.1 appVersion: v0.10.1
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
@ -15,4 +15,4 @@ maintainers:
url: https://argoproj.github.io/ url: https://argoproj.github.io/
annotations: annotations:
artifacthub.io/changes: | artifacthub.io/changes: |
- "[Added]: First chart release" - "[Added]: Ability to provide custom environment variables"

View file

@ -67,6 +67,7 @@ The `config.registries` value can be used exactly as it looks in the documentati
| config.logLevel | string | `"info"` | ArgoCD Image Update log level | | config.logLevel | string | `"info"` | ArgoCD Image Update log level |
| config.registries | list | `[]` | ArgoCD Image Updater registries list configuration. More information [here](https://argocd-image-updater.readthedocs.io/en/stable/configuration/registries/) | | config.registries | list | `[]` | ArgoCD Image Updater registries list configuration. More information [here](https://argocd-image-updater.readthedocs.io/en/stable/configuration/registries/) |
| extraArgs | list | `[]` | Extra arguments for argocd-image-updater not defined in config.argocd | | extraArgs | list | `[]` | Extra arguments for argocd-image-updater not defined in config.argocd |
| extraEnv | list | `[]` | Extra environment variables for argocd-image-updater |
| fullnameOverride | string | `""` | Global fullname (argocd-image-updater.fullname in _helpers.tpl) override | | fullnameOverride | string | `""` | Global fullname (argocd-image-updater.fullname in _helpers.tpl) override |
| image.pullPolicy | string | `"Always"` | Default image pull policy | | image.pullPolicy | string | `"Always"` | Default image pull policy |
| image.repository | string | `"argoprojlabs/argocd-image-updater"` | Default image repository | | image.repository | string | `"argoprojlabs/argocd-image-updater"` | Default image repository |

View file

@ -51,6 +51,9 @@ spec:
optional: true optional: true
- name: IMAGE_UPDATER_LOGLEVEL - name: IMAGE_UPDATER_LOGLEVEL
value: {{ .Values.config.logLevel }} value: {{ .Values.config.logLevel }}
{{- with .Values.extraEnv }}
{{- toYaml . | nindent 10 }}
{{- end }}
securityContext: securityContext:
{{- toYaml .Values.securityContext | nindent 12 }} {{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
@ -74,6 +77,8 @@ spec:
volumeMounts: volumeMounts:
- mountPath: /app/config - mountPath: /app/config
name: registries-conf name: registries-conf
- mountPath: /tmp
name: tmp-dir
volumes: volumes:
- configMap: - configMap:
items: items:
@ -81,6 +86,8 @@ spec:
path: registries.conf path: registries.conf
name: argocd-image-updater-config name: argocd-image-updater-config
name: registries-conf name: registries-conf
- emptyDir: {}
name: tmp-dir
{{- with .Values.nodeSelector }} {{- with .Values.nodeSelector }}
nodeSelector: nodeSelector:
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}

View file

@ -27,6 +27,11 @@ extraArgs: []
# - --once # - --once
# - --registries-conf-path /app/config/registries.conf # - --registries-conf-path /app/config/registries.conf
# -- Extra environment variables for argocd-image-updater
extraEnv: []
# - name: AWS_REGION
# value: "us-west-1"
config: config:
# Described in detail here https://argocd-image-updater.readthedocs.io/en/stable/install/running/#flags # Described in detail here https://argocd-image-updater.readthedocs.io/en/stable/install/running/#flags
argocd: argocd: