From 64bcd6260a0fece98bc279795cf8b7125e535570 Mon Sep 17 00:00:00 2001 From: Roberto Santalla Date: Thu, 14 Sep 2023 18:35:36 +0200 Subject: [PATCH] helm: fix influxdb token secret name --- .../scrutiny/charts/{web => collector}/templates/secret.yaml | 4 ++-- charts/scrutiny/values.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) rename charts/scrutiny/charts/{web => collector}/templates/secret.yaml (67%) diff --git a/charts/scrutiny/charts/web/templates/secret.yaml b/charts/scrutiny/charts/collector/templates/secret.yaml similarity index 67% rename from charts/scrutiny/charts/web/templates/secret.yaml rename to charts/scrutiny/charts/collector/templates/secret.yaml index cdb1f5e..3492b86 100644 --- a/charts/scrutiny/charts/web/templates/secret.yaml +++ b/charts/scrutiny/charts/collector/templates/secret.yaml @@ -4,5 +4,5 @@ metadata: name: {{ include "collector.fullname" . }}-credentials labels: {{- include "collector.labels" . | nindent 4 }} -stringData: - SCRUTINY_WEB_INFLUXDB_TOKEN: {{ .Values.influxdbToken }} +data: + SCRUTINY_WEB_INFLUXDB_TOKEN: {{ .Values.influxdbToken | b64enc }} diff --git a/charts/scrutiny/values.yaml b/charts/scrutiny/values.yaml index d92015e..f769170 100644 --- a/charts/scrutiny/values.yaml +++ b/charts/scrutiny/values.yaml @@ -17,5 +17,5 @@ influxdb2: # hostPath: # path: /some/host/path -web: +collector: influxdbToken: CHANGE_ME