|
|
@ -105,9 +105,14 @@ spec: |
|
|
|
- mountPath: {{ kube_config_dir }} |
|
|
|
name: kubernetes-config |
|
|
|
readOnly: true |
|
|
|
- mountPath: /etc/ssl/certs |
|
|
|
- mountPath: /etc/ssl |
|
|
|
name: ssl-certs-host |
|
|
|
readOnly: true |
|
|
|
{% for dir in ssl_ca_dirs %} |
|
|
|
- mountPath: {{ dir }} |
|
|
|
name: {{ dir | regex_replace('^/(.*)$', '\\1' ) | regex_replace('/', '-') }} |
|
|
|
readOnly: true |
|
|
|
{% endfor %} |
|
|
|
- mountPath: {{ etcd_cert_dir }} |
|
|
|
name: etcd-certs |
|
|
|
readOnly: true |
|
|
@ -120,9 +125,14 @@ spec: |
|
|
|
- hostPath: |
|
|
|
path: {{ kube_config_dir }} |
|
|
|
name: kubernetes-config |
|
|
|
- hostPath: |
|
|
|
path: /etc/ssl/certs/ |
|
|
|
name: ssl-certs-host |
|
|
|
- name: ssl-certs-host |
|
|
|
hostPath: |
|
|
|
path: /etc/ssl |
|
|
|
{% for dir in ssl_ca_dirs %} |
|
|
|
- name: {{ dir | regex_replace('^/(.*)$', '\\1' ) | regex_replace('/', '-') }} |
|
|
|
hostPath: |
|
|
|
path: {{ dir }} |
|
|
|
{% endfor %} |
|
|
|
- hostPath: |
|
|
|
path: {{ etcd_cert_dir }} |
|
|
|
name: etcd-certs |
|
|
|