From 88a326bacdffde9e065b08ba893a17149584e72e Mon Sep 17 00:00:00 2001 From: Saumit Date: Sat, 11 Oct 2025 02:34:38 +0530 Subject: platform: Adding argocd helm chart --- .../argocd-configs/externalredis-secret.yaml | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 astroshop-platform/argocd-helmchart/templates/argocd-configs/externalredis-secret.yaml (limited to 'astroshop-platform/argocd-helmchart/templates/argocd-configs/externalredis-secret.yaml') diff --git a/astroshop-platform/argocd-helmchart/templates/argocd-configs/externalredis-secret.yaml b/astroshop-platform/argocd-helmchart/templates/argocd-configs/externalredis-secret.yaml new file mode 100644 index 0000000..2cfefde --- /dev/null +++ b/astroshop-platform/argocd-helmchart/templates/argocd-configs/externalredis-secret.yaml @@ -0,0 +1,23 @@ +{{- if and (or .Values.externalRedis.username .Values.externalRedis.password) (not .Values.externalRedis.existingSecret) }} +apiVersion: v1 +kind: Secret +metadata: + name: argocd-redis + namespace: {{ include "argo-cd.namespace" . }} + labels: + {{- include "argo-cd.labels" (dict "context" $) | nindent 4 }} + {{- with .Values.externalRedis.secretAnnotations }} + annotations: + {{- range $key, $value := . }} + {{ $key }}: {{ $value | quote }} + {{- end }} + {{- end }} +type: Opaque +data: + {{- with .Values.externalRedis.username }} + redis-username: {{ . | b64enc }} + {{- end }} + {{- with .Values.externalRedis.password }} + redis-password: {{ . | b64enc }} + {{- end }} +{{- end }} -- cgit v1.2.3