From 76c8884a3c172e292ebd2978a678047d6ac3af84 Mon Sep 17 00:00:00 2001 From: Michel Hollands Date: Wed, 22 May 2024 16:49:02 +0100 Subject: [PATCH] Add pre-install hook Signed-off-by: Michel Hollands --- charts/meta-monitoring/templates/minio/secret.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/charts/meta-monitoring/templates/minio/secret.yaml b/charts/meta-monitoring/templates/minio/secret.yaml index 9eece43..fe812ae 100644 --- a/charts/meta-monitoring/templates/minio/secret.yaml +++ b/charts/meta-monitoring/templates/minio/secret.yaml @@ -4,6 +4,9 @@ kind: Secret metadata: name: minio namespace: {{ $.Release.Namespace }} +annotations: + "helm.sh/hook": pre-install + "helm.sh/hook-weight": "-5" data: rootUser: dmFsdWUtMg0KDQo= rootPassword: dmFsdWUtMg0KDQo=