-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix cinder & external_openstack cacert deployment
The CA cert was only deployed on master nodes
- Loading branch information
Showing
4 changed files
with
34 additions
and
10 deletions.
There are no files selected for viewing
12 changes: 12 additions & 0 deletions
12
roles/kubernetes-apps/csi_driver/cinder/tasks/cinder-write-cacert.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
# include to workaround mitogen issue | ||
# https://github.com/dw/mitogen/issues/663 | ||
|
||
- name: Cinder CSI Driver | Write cacert file | ||
copy: | ||
src: "{{ cinder_cacert }}" | ||
dest: "{{ kube_config_dir }}/cinder-cacert.pem" | ||
group: "{{ kube_cert_group }}" | ||
mode: 0640 | ||
tags: cinder-csi-driver | ||
delegate_to: "{{ delegate_host_to_write_cacert }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
roles/kubernetes-apps/external_cloud_controller/openstack/tasks/openstack-write-cacert.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
# include to workaround mitogen issue | ||
# https://github.com/dw/mitogen/issues/663 | ||
|
||
- name: External OpenStack Cloud Controller | Write cacert file | ||
copy: | ||
src: "{{ external_openstack_cacert }}" | ||
dest: "{{ kube_config_dir }}/external-openstack-cacert.pem" | ||
group: "{{ kube_cert_group }}" | ||
mode: 0640 | ||
tags: external-openstack | ||
delegate_to: "{{ delegate_host_to_write_cacert }}" |