Commit 24782383 authored by Philipp Marmet's avatar Philipp Marmet Committed by k8s-ci-robot

stable/influxdb: fix password generation (#4136)

* stable/influxdb: fix password generation The randAscii function can create passwords containing single quoutes which lead to broken installations when installing with auth enabled. This is a possible fix for #4132 * stable/influxdb: increase version for green checks
parent 378c0e3e
name: influxdb name: influxdb
version: 0.8.2 version: 0.8.3
description: Scalable datastore for metrics, events, and real-time analytics. description: Scalable datastore for metrics, events, and real-time analytics.
keywords: keywords:
- influxdb - influxdb
......
...@@ -12,7 +12,7 @@ data: ...@@ -12,7 +12,7 @@ data:
{{- if .Values.setDefaultUser.user.password }} {{- if .Values.setDefaultUser.user.password }}
influxdb-password: {{ .Values.setDefaultUser.user.password | b64enc | quote }} influxdb-password: {{ .Values.setDefaultUser.user.password | b64enc | quote }}
{{- else }} {{- else }}
influxdb-password: {{ randAscii 10 | b64enc | quote }} influxdb-password: {{ randAlphaNum 10 | b64enc | quote }}
{{- end }} {{- end }}
influxdb-user: {{ .Values.setDefaultUser.user.username | b64enc | quote }} influxdb-user: {{ .Values.setDefaultUser.user.username | b64enc | quote }}
{{- end -}} {{- end -}}
...@@ -60,7 +60,8 @@ setDefaultUser: ...@@ -60,7 +60,8 @@ setDefaultUser:
username: "admin" username: "admin"
## User password ## User password
## Default: (Randomly generated 10 characters of Ascii) ## single quotes must be escaped (\')
## Default: (Randomly generated 10 characters of AlphaNum)
# password: # password:
## User privileges ## User privileges
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment