fix(bitnami/etcd): right path for existingSecret

The `statefulset.yaml` template was expecting `auth.existingSecret` but in the `values.yaml` and the documentation it asks for `auth.rbac.existingSecret`.

Fixes #1041.
This commit is contained in:
nrxr
2019-02-02 10:52:23 -05:00
committed by GitHub
parent 23610d40d0
commit e0bd1bd3ef
+1 -1
View File
@@ -200,7 +200,7 @@ spec:
- name: ETCD_ROOT_PASSWORD
valueFrom:
secretKeyRef:
name: {{ if .Values.auth.existingSecret }}{{ .Values.auth.existingSecret }}{{ else }}{{ template "etcd.fullname" . }}{{ end }}
name: {{ if .Values.auth.rbac.existingSecret }}{{ .Values.auth.rbac.existingSecret }}{{ else }}{{ template "etcd.fullname" . }}{{ end }}
key: etcd-root-password
{{- end }}