Update to v1.32
This commit is contained in:
@ -18,7 +18,7 @@ spec:
|
||||
effect: NoSchedule
|
||||
containers:
|
||||
- name: etcd
|
||||
image: {{.vars.etcd.image}}:{{.vars.etcd.version}}
|
||||
image: {{.vars.etcd_image}}:{{.vars.etcd_version}}
|
||||
command:
|
||||
- etcd
|
||||
- --name={{ .host.name }}
|
||||
@ -38,13 +38,13 @@ spec:
|
||||
- --initial-advertise-peer-urls=https://{{ .host.ip }}:2380
|
||||
env:
|
||||
- name: ETCD_INITIAL_CLUSTER
|
||||
value: {{ range $i, $host := hosts_by_group "master" }}{{ if gt $i 0 }},{{end}}{{$host.name}}=https://{{$host.ip}}:2380{{end}}
|
||||
value: {{ range $i, $host := hosts_by_group .vars.master_group }}{{ if gt $i 0 }},{{end}}{{$host.name}}=https://{{$host.ip}}:2380{{end}}
|
||||
- name: ETCD_INITIAL_CLUSTER_STATE
|
||||
value: {{ .vars.etcd.cluster_state }}
|
||||
value: {{ .vars.etcd_cluster_state }}
|
||||
- name: ETCD_INITIAL_CLUSTER_TOKEN
|
||||
value: '{{ token "etcd-initial-cluster" }}'
|
||||
- name: ETCDCTL_ENDPOINTS
|
||||
value: {{ range $i, $host := hosts_by_group "master" }}{{ if gt $i 0 }},{{end}}https://{{$host.ip}}:2379{{end}}
|
||||
value: {{ range $i, $host := hosts_by_group .vars.master_group }}{{ if gt $i 0 }},{{end}}https://{{$host.ip}}:2379{{end}}
|
||||
- name: ETCDCTL_CACERT
|
||||
value: /tls/etcd-peer/ca.crt
|
||||
- name: ETCDCTL_CERT
|
||||
|
||||
Reference in New Issue
Block a user