feat(argocd-image-updater): Add missing config map key for git commit-message-template (#986)

* [v0.2.2] Add missing config map key for git commit-message-template

Signed-off-by: Niklas Jönsson <niklas@pej.se>

* Sync some other things from upstream manifests

Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>

* Quote bools

Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>

* fix: Rerun helm-docs

Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>

Co-authored-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
This commit is contained in:
Niklas Jönsson 2021-11-22 08:18:26 +01:00 committed by GitHub
parent bdb42a55cc
commit aa41896292
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 101 additions and 11 deletions

View file

@ -35,14 +35,36 @@ spec:
{{- toYaml . | nindent 12 }}
{{- end }}
env:
- name: APPLICATIONS_API
valueFrom:
configMapKeyRef:
key: applications_api
name: argocd-image-updater-config
optional: true
- name: ARGOCD_GRPC_WEB
value: {{ .Values.config.argocd.grpcWeb | quote }}
valueFrom:
configMapKeyRef:
key: argocd.grpc_web
name: argocd-image-updater-config
optional: true
- name: ARGOCD_SERVER
value: {{ .Values.config.argocd.serverAddress }}
valueFrom:
configMapKeyRef:
key: argocd.server_addr
name: argocd-image-updater-config
optional: true
- name: ARGOCD_INSECURE
value: {{ .Values.config.argocd.insecure | quote }}
valueFrom:
configMapKeyRef:
key: argocd.insecure
name: argocd-image-updater-config
optional: true
- name: ARGOCD_PLAINTEXT
value: {{ .Values.config.argocd.plaintext | quote }}
valueFrom:
configMapKeyRef:
key: argocd.plaintext
name: argocd-image-updater-config
optional: true
- name: ARGOCD_TOKEN
valueFrom:
secretKeyRef:
@ -50,7 +72,29 @@ spec:
name: argocd-image-updater-secret
optional: true
- name: IMAGE_UPDATER_LOGLEVEL
value: {{ .Values.config.logLevel }}
valueFrom:
configMapKeyRef:
key: log.level
name: argocd-image-updater-config
optional: true
- name: GIT_COMMIT_USER
valueFrom:
configMapKeyRef:
key: git.user
name: argocd-image-updater-config
optional: true
- name: GIT_COMMIT_EMAIL
valueFrom:
configMapKeyRef:
key: git.email
name: argocd-image-updater-config
optional: true
- name: IMAGE_UPDATER_KUBE_EVENTS
valueFrom:
configMapKeyRef:
key: kube.events
name: argocd-image-updater-config
optional: true
{{- with .Values.extraEnv }}
{{- toYaml . | nindent 10 }}
{{- end }}
@ -81,7 +125,7 @@ spec:
{{- toYaml .Values.resources | nindent 12 }}
volumeMounts:
- mountPath: /app/config
name: registries-conf
name: image-updater-conf
- mountPath: /tmp
name: tmp-dir
{{- if .Values.authScripts.enabled }}
@ -93,8 +137,11 @@ spec:
items:
- key: registries.conf
path: registries.conf
- key: git.commit-message-template
path: commit.template
name: argocd-image-updater-config
name: registries-conf
optional: true
name: image-updater-conf
{{- if .Values.authScripts.enabled }}
- configMap:
defaultMode: 0777