diff --git a/templates/secret-redis.yaml b/templates/secret-redis.yaml index b1d8ac1..d65892f 100644 --- a/templates/secret-redis.yaml +++ b/templates/secret-redis.yaml @@ -7,6 +7,9 @@ metadata: name: {{ include "mastodon.redis.secretName" . }} labels: {{- include "mastodon.labels" . | nindent 4 }} + annotations: + helm.sh/hook: pre-install + helm.sh/hook-weight: "-10" type: Opaque data: redis-password: "{{ .Values.redis.auth.password | b64enc }}"