feat(argocd-image-updater): Add support for pod labels (#1944)

Signed-off-by: drfaust92 <ilia.lazebnik@gmail.com>
pull/1947/head argocd-image-updater-0.8.5
Ilia Lazebnik 2023-04-06 16:52:19 +03:00 committed by GitHub
parent a012bd41c9
commit c3759febbd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 2 deletions

View File

@ -2,7 +2,7 @@ apiVersion: v2
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
type: application
version: 0.8.4
version: 0.8.5
appVersion: v0.12.2
home: https://github.com/argoproj-labs/argocd-image-updater
icon: https://argocd-image-updater.readthedocs.io/en/stable/assets/logo.png
@ -16,4 +16,4 @@ maintainers:
annotations:
artifacthub.io/changes: |
- kind: changed
description: Update Argo CD Image Updater to v0.12.2
description: Added support for pod labels

View File

@ -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 |
| nodeSelector | object | `{}` | Kubernetes nodeSelector settings 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 |
| 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. |

View File

@ -19,6 +19,9 @@ spec:
{{- end }}
checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
labels:
{{- with .Values.podLabels }}
{{- toYaml . | nindent 8 }}
{{- end }}
{{- include "argocd-image-updater.selectorLabels" . | nindent 8 }}
spec:
{{- with .Values.imagePullSecrets }}

View File

@ -156,6 +156,9 @@ serviceAccount:
# -- Pod Annotations for the deployment
podAnnotations: {}
# -- Pod Labels for the deployment
podLabels: {}
# -- Pod security context settings for the deployment
podSecurityContext: {}
# fsGroup: 2000