Co-authored-by: w33dw0r7d <w33dw0r7d@gmail.com>
This commit is contained in:
parent
9869b46432
commit
fbbbd90732
1 changed files with 4 additions and 0 deletions
|
@ -59,8 +59,10 @@ spec:
|
||||||
name: openstack-cacert
|
name: openstack-cacert
|
||||||
readOnly: true
|
readOnly: true
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% if kubelet_flexvolumes_plugins_dir is defined %}
|
||||||
- mountPath: /usr/libexec/kubernetes/kubelet-plugins/volume/exec
|
- mountPath: /usr/libexec/kubernetes/kubelet-plugins/volume/exec
|
||||||
name: flexvolume-dir
|
name: flexvolume-dir
|
||||||
|
{% endif %}
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 200m
|
cpu: 200m
|
||||||
|
@ -69,10 +71,12 @@ spec:
|
||||||
value: /etc/config/cloud.conf
|
value: /etc/config/cloud.conf
|
||||||
hostNetwork: true
|
hostNetwork: true
|
||||||
volumes:
|
volumes:
|
||||||
|
{% if kubelet_flexvolumes_plugins_dir is defined %}
|
||||||
- hostPath:
|
- hostPath:
|
||||||
path: "{{ kubelet_flexvolumes_plugins_dir }}"
|
path: "{{ kubelet_flexvolumes_plugins_dir }}"
|
||||||
type: DirectoryOrCreate
|
type: DirectoryOrCreate
|
||||||
name: flexvolume-dir
|
name: flexvolume-dir
|
||||||
|
{% endif %}
|
||||||
- hostPath:
|
- hostPath:
|
||||||
path: /etc/kubernetes/pki
|
path: /etc/kubernetes/pki
|
||||||
type: DirectoryOrCreate
|
type: DirectoryOrCreate
|
||||||
|
|
Loading…
Reference in a new issue