2021-08-16 15:23:02 +00:00
|
|
|
---
|
|
|
|
apiVersion: v1
|
|
|
|
kind: ConfigMap
|
|
|
|
metadata:
|
|
|
|
labels:
|
|
|
|
{{- include "argocd-image-updater.labels" . | nindent 4 }}
|
2025-01-25 13:31:37 +00:00
|
|
|
name: {{ .Values.config.name }}
|
2024-03-01 08:41:23 +00:00
|
|
|
namespace: {{ include "argocd-image-updater.namespace" . | quote }}
|
2021-08-16 15:23:02 +00:00
|
|
|
data:
|
2021-11-22 07:18:26 +00:00
|
|
|
{{- with .Values.config.applicationsAPIKind }}
|
2024-03-20 23:52:58 +00:00
|
|
|
applications_api: {{ . | quote }}
|
|
|
|
{{- if eq . "argocd" }}
|
|
|
|
argocd.grpc_web: {{ $.Values.config.argocd.grpcWeb | quote }}
|
|
|
|
{{- with $.Values.config.argocd.serverAddress }}
|
|
|
|
argocd.server_addr: {{ . | quote }}
|
2021-11-22 07:18:26 +00:00
|
|
|
{{- end }}
|
2024-03-20 23:52:58 +00:00
|
|
|
argocd.insecure: {{ $.Values.config.argocd.insecure | quote }}
|
|
|
|
argocd.plaintext: {{ $.Values.config.argocd.plaintext | quote }}
|
|
|
|
{{- end -}}
|
2021-11-22 07:18:26 +00:00
|
|
|
{{- end }}
|
|
|
|
{{- with .Values.config.logLevel }}
|
2024-03-20 23:52:58 +00:00
|
|
|
log.level: {{ . | quote }}
|
2021-11-22 07:18:26 +00:00
|
|
|
{{- end }}
|
|
|
|
{{- with .Values.config.gitCommitUser }}
|
2024-03-20 23:52:58 +00:00
|
|
|
git.user: {{ . | quote }}
|
2021-11-22 07:18:26 +00:00
|
|
|
{{- end }}
|
|
|
|
{{- with .Values.config.gitCommitMail }}
|
2024-03-20 23:52:58 +00:00
|
|
|
git.email: {{ . | quote }}
|
2021-11-22 07:18:26 +00:00
|
|
|
{{- end }}
|
|
|
|
{{- with .Values.config.gitCommitTemplate }}
|
|
|
|
git.commit-message-template: |
|
|
|
|
{{- nindent 4 . }}
|
|
|
|
{{- end }}
|
2024-07-09 21:31:36 +00:00
|
|
|
{{- with .Values.config.gitCommitSigningKey }}
|
|
|
|
git.commit-signing-key: {{ . | quote }}
|
|
|
|
{{- end }}
|
|
|
|
{{- with .Values.config.gitCommitSignOff }}
|
|
|
|
git.commit-sign-off: {{ . | quote }}
|
|
|
|
{{- end }}
|
|
|
|
{{- with .Values.config.gitCommitSigningMethod }}
|
|
|
|
git.commit-signing-method: {{ . | quote }}
|
|
|
|
{{- end }}
|
2021-11-22 07:18:26 +00:00
|
|
|
kube.events: {{ .Values.config.disableKubeEvents | quote }}
|
2024-03-20 23:52:58 +00:00
|
|
|
{{- with .Values.config.registries }}
|
2021-08-16 15:23:02 +00:00
|
|
|
registries.conf: |
|
2024-03-20 23:52:58 +00:00
|
|
|
registries:
|
|
|
|
{{- toYaml . | nindent 6 }}
|
|
|
|
{{- end }}
|