Revert OCCM standard dnsPolicy to ClusterFirst and make dnsPolicy configurable to support 10618 (#11168)

pull/11177/head
Alexander 2024-05-13 12:25:09 +02:00 committed by GitHub
parent a00b0c48fe
commit cd459a04f3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 1 deletions

View File

@ -23,3 +23,4 @@ external_openstack_cacert: "{{ lookup('env', 'OS_CACERT') }}"
external_openstack_cloud_controller_extra_args: {} external_openstack_cloud_controller_extra_args: {}
external_openstack_cloud_controller_image_tag: "v1.28.2" external_openstack_cloud_controller_image_tag: "v1.28.2"
external_openstack_cloud_controller_bind_address: 127.0.0.1 external_openstack_cloud_controller_bind_address: 127.0.0.1
external_openstack_cloud_controller_dns_policy: ClusterFirst

View File

@ -81,7 +81,9 @@ spec:
- name: CLOUD_CONFIG - name: CLOUD_CONFIG
value: /etc/config/cloud.conf value: /etc/config/cloud.conf
hostNetwork: true hostNetwork: true
dnsPolicy: ClusterFirstWithHostNet {% if external_openstack_cloud_controller_dns_policy is defined %}
dnsPolicy: {{ external_openstack_cloud_controller_dns_policy }}
{% endif %}
volumes: volumes:
{% if kubelet_flexvolumes_plugins_dir is defined %} {% if kubelet_flexvolumes_plugins_dir is defined %}
- name: flexvolume-dir - name: flexvolume-dir