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 }}