Fix mountflags and kubelet config

Add missing --require-kubeconfig to the if..else stanza.
Make sure certs dirs mounted in RO.

Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
This commit is contained in:
Bogdan Dobrelya
2016-11-15 11:18:53 +01:00
parent e68ec257a3
commit 876c4df1b6
3 changed files with 4 additions and 1 deletions

View File

@@ -33,6 +33,7 @@
mountPath: "/run/flannel"
- name: "etcd-certs"
mountPath: "{{ etcd_cert_dir }}"
readOnly: true
securityContext:
privileged: true
hostNetwork: true