Skip to content
Snippets Groups Projects
Commit b7298ef5 authored by Spencer Smith's avatar Spencer Smith Committed by GitHub
Browse files

Merge pull request #1313 from rsmitty/centos-cert-path

add direct path for cert in AWS with RHEL family
parents 11c774b0 7e2aafcc
No related branches found
No related tags found
No related merge requests found
...@@ -105,6 +105,11 @@ spec: ...@@ -105,6 +105,11 @@ spec:
- mountPath: {{ etcd_cert_dir }} - mountPath: {{ etcd_cert_dir }}
name: etcd-certs name: etcd-certs
readOnly: true readOnly: true
{% if cloud_provider == 'aws' and ansible_os_family == 'RedHat' %}
- mountPath: /etc/ssl/certs/ca-bundle.crt
name: rhel-ca-bundle
readOnly: true
{% endif %}
volumes: volumes:
- hostPath: - hostPath:
path: {{ kube_config_dir }} path: {{ kube_config_dir }}
...@@ -115,3 +120,8 @@ spec: ...@@ -115,3 +120,8 @@ spec:
- hostPath: - hostPath:
path: {{ etcd_cert_dir }} path: {{ etcd_cert_dir }}
name: etcd-certs name: etcd-certs
{% if cloud_provider == 'aws' and ansible_os_family == 'RedHat' %}
- hostPath:
path: /etc/ssl/certs/ca-bundle.crt
name: rhel-ca-bundle
{% endif %}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment