secret-redis.yaml 429 B

12345678910111213141516
  1. {{- if not .Values.redis.enabled }}
  2. {{- if and (not .Values.redis.auth.existingSecret) (not .Values.redis.existingSecret) }}
  3. {{- if .Values.redis.auth.password }}
  4. apiVersion: v1
  5. kind: Secret
  6. metadata:
  7. name: {{ include "mastodon.redis.secretName" . }}
  8. labels:
  9. {{- include "mastodon.labels" . | nindent 4 }}
  10. type: Opaque
  11. data:
  12. redis-password: "{{ .Values.redis.auth.password | b64enc }}"
  13. {{- end }}
  14. {{- end }}
  15. {{- end }}