feat(argocd-image-updater): Allow defining extraEnvFrom for the deployment (#2646)
Signed-off-by: bakito <github@bakito.ch>
This commit is contained in:
parent
8abf55a807
commit
a12dbf812c
4 changed files with 15 additions and 7 deletions
|
@ -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.9.6
|
version: 0.9.7
|
||||||
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
|
||||||
|
@ -18,9 +18,5 @@ annotations:
|
||||||
fingerprint: 2B8F22F57260EFA67BE1C5824B11F800CD9D2252
|
fingerprint: 2B8F22F57260EFA67BE1C5824B11F800CD9D2252
|
||||||
url: https://argoproj.github.io/argo-helm/pgp_keys.asc
|
url: https://argoproj.github.io/argo-helm/pgp_keys.asc
|
||||||
artifacthub.io/changes: |
|
artifacthub.io/changes: |
|
||||||
- kind: fixed
|
- kind: added
|
||||||
description: Properly quoting the config map values
|
description: Allow defining extraEnvFrom for the deployment
|
||||||
- kind: fixed
|
|
||||||
description: Only adding a data field to argocd-image-updater-ssh-config when there's data to be added
|
|
||||||
- kind: changed
|
|
||||||
description: Only include config.argocd if config.applicationsAPIKind is set to 'argocd'
|
|
||||||
|
|
|
@ -86,6 +86,7 @@ The `config.registries` value can be used exactly as it looks in the documentati
|
||||||
| config.sshConfig | object | `{}` | Argo CD Image Updater ssh client parameter configuration. |
|
| config.sshConfig | object | `{}` | Argo CD Image Updater ssh client parameter configuration. |
|
||||||
| extraArgs | list | `[]` | Extra arguments for argocd-image-updater not defined in `config.argocd`. If a flag contains both key and value, they need to be split to a new entry |
|
| extraArgs | list | `[]` | Extra arguments for argocd-image-updater not defined in `config.argocd`. If a flag contains both key and value, they need to be split to a new entry |
|
||||||
| extraEnv | list | `[]` | Extra environment variables for argocd-image-updater |
|
| extraEnv | list | `[]` | Extra environment variables for argocd-image-updater |
|
||||||
|
| extraEnvFrom | list | `[]` | Extra envFrom to pass to argocd-image-updater |
|
||||||
| extraObjects | list | `[]` | Extra K8s manifests to deploy for argocd-image-updater |
|
| extraObjects | list | `[]` | Extra K8s manifests to deploy 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 |
|
||||||
|
|
|
@ -104,6 +104,10 @@ spec:
|
||||||
{{- with .Values.extraEnv }}
|
{{- with .Values.extraEnv }}
|
||||||
{{- toYaml . | nindent 10 }}
|
{{- toYaml . | nindent 10 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- with .Values.extraEnvFrom }}
|
||||||
|
envFrom:
|
||||||
|
{{- toYaml . | nindent 12 }}
|
||||||
|
{{- 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 }}"
|
||||||
|
|
|
@ -44,6 +44,13 @@ extraEnv: []
|
||||||
# - name: AWS_REGION
|
# - name: AWS_REGION
|
||||||
# value: "us-west-1"
|
# value: "us-west-1"
|
||||||
|
|
||||||
|
# -- Extra envFrom to pass to argocd-image-updater
|
||||||
|
extraEnvFrom: []
|
||||||
|
# - configMapRef:
|
||||||
|
# name: config-map-name
|
||||||
|
# - secretRef:
|
||||||
|
# name: secret-name
|
||||||
|
|
||||||
# -- Extra K8s manifests to deploy for argocd-image-updater
|
# -- Extra K8s manifests to deploy for argocd-image-updater
|
||||||
## Note: Supports use of custom Helm templates
|
## Note: Supports use of custom Helm templates
|
||||||
extraObjects: []
|
extraObjects: []
|
||||||
|
|
Loading…
Reference in a new issue