Remove unrequired mounts
parent
4e97225424
commit
3bb505d43f
|
@ -50,41 +50,11 @@ spec:
|
|||
securityContext:
|
||||
privileged: true
|
||||
volumeMounts:
|
||||
- mountPath: /etc/openvswitch
|
||||
name: etc-openvswitch
|
||||
readOnly: false
|
||||
- mountPath: /lib/modules
|
||||
name: lib-modules
|
||||
readOnly: false
|
||||
- mountPath: /var/run
|
||||
name: var-run
|
||||
readOnly: false
|
||||
- mountPath: /var/contiv
|
||||
name: var-contiv
|
||||
readOnly: false
|
||||
- mountPath: /etc/kubernetes/ssl
|
||||
name: etc-kubernetes-ssl
|
||||
readOnly: false
|
||||
- mountPath: /opt/cni/bin
|
||||
name: cni-bin-dir
|
||||
readOnly: false
|
||||
volumes:
|
||||
# Used by contiv-netmaster
|
||||
- name: etc-openvswitch
|
||||
hostPath:
|
||||
path: /etc/openvswitch
|
||||
- name: lib-modules
|
||||
hostPath:
|
||||
path: /lib/modules
|
||||
- name: var-run
|
||||
hostPath:
|
||||
path: /var/run
|
||||
- name: var-contiv
|
||||
hostPath:
|
||||
path: /var/contiv
|
||||
- name: etc-kubernetes-ssl
|
||||
hostPath:
|
||||
path: /etc/kubernetes/ssl
|
||||
- name: cni-bin-dir
|
||||
hostPath:
|
||||
path: /opt/cni/bin
|
||||
|
|
|
@ -75,12 +75,6 @@ spec:
|
|||
- mountPath: /var/contiv
|
||||
name: var-contiv
|
||||
readOnly: false
|
||||
- mountPath: /etc/kubernetes/pki
|
||||
name: etc-kubernetes-pki
|
||||
readOnly: false
|
||||
- mountPath: /etc/kubernetes/ssl
|
||||
name: etc-kubernetes-ssl
|
||||
readOnly: false
|
||||
- mountPath: /opt/cni/bin
|
||||
name: cni-bin-dir
|
||||
readOnly: false
|
||||
|
@ -101,12 +95,6 @@ spec:
|
|||
- name: var-contiv
|
||||
hostPath:
|
||||
path: /var/contiv
|
||||
- name: etc-kubernetes-pki
|
||||
hostPath:
|
||||
path: /etc/kubernetes/pki
|
||||
- name: etc-kubernetes-ssl
|
||||
hostPath:
|
||||
path: /etc/kubernetes/ssl
|
||||
# Used to install CNI.
|
||||
- name: cni-bin-dir
|
||||
hostPath:
|
||||
|
|
Loading…
Reference in New Issue