Browse Source

ensure post-upgrade purge ones only once

pull/1153/head
Matthew Mosesohn 7 years ago
parent
commit
57ee304260
1 changed files with 1 additions and 0 deletions
  1. 1
      roles/kubernetes/master/tasks/post-upgrade.yml

1
roles/kubernetes/master/tasks/post-upgrade.yml

@ -4,4 +4,5 @@
environment: environment:
ETCDCTL_API: 2 ETCDCTL_API: 2
delegate_to: "{{groups['etcd'][0]}}" delegate_to: "{{groups['etcd'][0]}}"
run_once: true
when: kube_apiserver_storage_backend == "etcd3" and needs_etcd_migration|bool|default(false) when: kube_apiserver_storage_backend == "etcd3" and needs_etcd_migration|bool|default(false)
Loading…
Cancel
Save