RIC-919 Upgrade influxdb helm chart v1.8 > v2.2
[ric-plt/ric-dep.git] / helm / 3rdparty / influxdb / templates / NOTES.txt
1 InfluxDB 2 is deployed as a StatefulSet on your cluster.
2
3 You can access it by using the service name: {{ template "influxdb.fullname" . }}
4
5 To retrieve the password for the '{{ .Values.adminUser.user}}' user:
6
7 {{- if .Values.adminUser.existingSecret }}
8
9   echo $(kubectl get secret {{ .Values.adminUser.existingSecret }} -o "jsonpath={.data['admin-password']}" --namespace {{ .Release.Namespace }} | base64 --decode)
10
11 {{- else }}
12
13   echo $(kubectl get secret {{ include "influxdb.fullname" . }}-auth -o "jsonpath={.data['admin-password']}" --namespace {{ .Release.Namespace }} | base64 --decode)
14
15 {{- end }}
16
17 Note: with enabled persistence, admin password is only set once during the initial deployment. The password is not changed when InfluxDB 2 is re-deployed with different password.