From f93046f40f36613f9a5c140a4fde7e5c917ed7eb Mon Sep 17 00:00:00 2001 From: Matthew Mattox Date: Fri, 5 Mar 2021 07:31:48 -0600 Subject: [PATCH] [uptimerobot] Swapping from configMapKeyRef to secretKeyRef (#641) * Swapping from configMapKeyRef to secretKeyRef * bumping the chart verison --- charts/uptimerobot/Chart.yaml | 2 +- charts/uptimerobot/templates/deployment.yaml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/charts/uptimerobot/Chart.yaml b/charts/uptimerobot/Chart.yaml index 8d046c89..b9c447f0 100644 --- a/charts/uptimerobot/Chart.yaml +++ b/charts/uptimerobot/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: uptimerobot -version: 3.0.0 +version: 3.0.1 appVersion: 1.1.0 description: A tool to get statistics from Uptime Robot and log it into InfluxDB keywords: diff --git a/charts/uptimerobot/templates/deployment.yaml b/charts/uptimerobot/templates/deployment.yaml index 69bec6cf..a00d6bd0 100644 --- a/charts/uptimerobot/templates/deployment.yaml +++ b/charts/uptimerobot/templates/deployment.yaml @@ -39,14 +39,14 @@ spec: {{- if .Values.config.influxdb.username }} - name: INFLUX_USERNAME valueFrom: - configMapKeyRef: + secretKeyRef: name: {{ template "uptimerobot.fullname" . }} key: influxdb-username {{- end }} {{- if .Values.config.influxdb.password }} - name: INFLUX_PASSWORD valueFrom: - configMapKeyRef: + secretKeyRef: name: {{ template "uptimerobot.fullname" . }} key: influxdb-password {{- end }} @@ -73,4 +73,4 @@ spec: {{- if .Values.nodeSelector }} nodeSelector: {{ toYaml .Values.nodeSelector | indent 8 }} - {{- end }} \ No newline at end of file + {{- end }}