We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9373444 commit 32377e6Copy full SHA for 32377e6
deploy/helm/kubernetes/templates/etcd-statefulset.yaml
@@ -79,7 +79,7 @@ spec:
79
- --data-dir=/var/lib/etcd
80
- --initial-advertise-peer-urls=https://$(POD_NAME).{{ $fullName }}-etcd:{{ .Values.etcd.ports.peer }}
81
- --initial-cluster={{ template "kubernetes.etcdInitialCluster" . }}
82
- - --initial-cluster-state=new
+ - --initial-cluster-state={{ ternary "new" "existing" .Release.IsInstall }}
83
- --initial-cluster-token={{ $fullName }}-etcd
84
- --key-file=/pki/etcd/server/tls.key
85
- --listen-client-urls=https://0.0.0.0:{{ .Values.etcd.ports.client }}
0 commit comments