diff options
Diffstat (limited to 'astroshop-platform/argocd-helmchart/templates/argocd-configs/argocd-cm.yaml')
| -rw-r--r-- | astroshop-platform/argocd-helmchart/templates/argocd-configs/argocd-cm.yaml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/astroshop-platform/argocd-helmchart/templates/argocd-configs/argocd-cm.yaml b/astroshop-platform/argocd-helmchart/templates/argocd-configs/argocd-cm.yaml new file mode 100644 index 0000000..6bd19f5 --- /dev/null +++ b/astroshop-platform/argocd-helmchart/templates/argocd-configs/argocd-cm.yaml @@ -0,0 +1,17 @@ +{{- if .Values.configs.cm.create }} +apiVersion: v1 +kind: ConfigMap +metadata: + name: argocd-cm + namespace: {{ include "argo-cd.namespace" . }} + labels: + {{- include "argo-cd.labels" (dict "context" . "component" .Values.server.name "name" "cm") | nindent 4 }} + {{- with .Values.configs.cm.annotations }} + annotations: + {{- range $key, $value := . }} + {{ $key }}: {{ $value | quote }} + {{- end }} + {{- end }} +data: + {{- include "argo-cd.config.cm" . | trim | nindent 2 }} +{{- end }} |
