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