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