diff --git a/helm-charts/infisical-standalone-postgres/templates/infisical.yaml b/helm-charts/infisical-standalone-postgres/templates/infisical.yaml index 11ebb8f3d2..0baa8725b1 100644 --- a/helm-charts/infisical-standalone-postgres/templates/infisical.yaml +++ b/helm-charts/infisical-standalone-postgres/templates/infisical.yaml @@ -79,7 +79,7 @@ spec: - name: DB_CONNECTION_URI value: {{ include "infisical.postgresDBConnectionString" . }} {{- end }} - {{- if .Values.redis.enabled }} + {{- if and .Values.redis.enabled (not .Values.redis.auth.existingSecret) }} - name: REDIS_URL value: {{ include "infisical.redisConnectionString" . }} {{- end }} diff --git a/helm-charts/infisical-standalone-postgres/values.yaml b/helm-charts/infisical-standalone-postgres/values.yaml index 32b7a8d6fe..80584d3ffa 100644 --- a/helm-charts/infisical-standalone-postgres/values.yaml +++ b/helm-charts/infisical-standalone-postgres/values.yaml @@ -169,6 +169,12 @@ redis: auth: # -- Redis password password: "mysecretpassword" + # -- Redis existingSecret. The name of an existing secret to use for the redis password + # -- NOTE: When it's set, the previous `auth.password` parameter is ignored. You must add REDIS_URL to your env secret .. see kubeSecretRef + # existingSecret: "my-existing-secret" + # -- existingSecret password key. Password key to be retrieved from existing secret + # -- NOTE: ignored unless `auth.existingSecret` parameter is set + # existingSecretPasswordKey: "password" # -- Redis deployment type (e.g., standalone or cluster) architecture: standalone