Fix upgrade for canal and apiserver cert

Fixes #1573
This commit is contained in:
Matthew Mosesohn
2017-08-29 19:35:27 +01:00
parent 76b72338da
commit 13d08af054
3 changed files with 11 additions and 15 deletions

View File

@@ -3,6 +3,7 @@ kind: DaemonSet
apiVersion: extensions/v1beta1
metadata:
name: canal-node
namespace: {{ system_namespace }}
labels:
k8s-app: canal-node
spec:
@@ -180,3 +181,7 @@ spec:
- name: "canal-certs"
mountPath: "{{ canal_cert_dir }}"
readOnly: true
updateStrategy:
rollingUpdate:
maxUnavailable: 1
type: RollingUpdate