From edc556b074eb0d0f7f2785edae0b2a1dc6616526 Mon Sep 17 00:00:00 2001 From: Michel Hollands Date: Tue, 14 May 2024 11:38:53 +0100 Subject: [PATCH] Add default secret for testing Signed-off-by: Michel Hollands --- charts/meta-monitoring/ci/local-values.yaml | 1 + charts/meta-monitoring/templates/minio/secret.yaml | 10 ++++++++++ charts/meta-monitoring/values.yaml | 1 + 3 files changed, 12 insertions(+) create mode 100644 charts/meta-monitoring/templates/minio/secret.yaml diff --git a/charts/meta-monitoring/ci/local-values.yaml b/charts/meta-monitoring/ci/local-values.yaml index 9184903..1b72d99 100644 --- a/charts/meta-monitoring/ci/local-values.yaml +++ b/charts/meta-monitoring/ci/local-values.yaml @@ -12,6 +12,7 @@ local: enabled: true minio: enabled: true + createSecret: true cloud: logs: diff --git a/charts/meta-monitoring/templates/minio/secret.yaml b/charts/meta-monitoring/templates/minio/secret.yaml new file mode 100644 index 0000000..9eece43 --- /dev/null +++ b/charts/meta-monitoring/templates/minio/secret.yaml @@ -0,0 +1,10 @@ +{{- if .Values.local.minio.createSecret }} +apiVersion: v1 +kind: Secret +metadata: + name: minio + namespace: {{ $.Release.Namespace }} +data: + rootUser: dmFsdWUtMg0KDQo= + rootPassword: dmFsdWUtMg0KDQo= +{{- end }} \ No newline at end of file diff --git a/charts/meta-monitoring/values.yaml b/charts/meta-monitoring/values.yaml index e363acd..fdfaf8e 100644 --- a/charts/meta-monitoring/values.yaml +++ b/charts/meta-monitoring/values.yaml @@ -27,6 +27,7 @@ local: enabled: false minio: enabled: false # This should be set to true if any of the previous is enabled + createSecret: false # This is used for testing, do not use in production grafana: version: 10.4.2 # Gateway ingress configuration