Revert OCCM standard dnsPolicy to ClusterFirst and make dnsPolicy configurable to support 10618 (#11168)
parent
a00b0c48fe
commit
cd459a04f3
|
@ -23,3 +23,4 @@ external_openstack_cacert: "{{ lookup('env', 'OS_CACERT') }}"
|
|||
external_openstack_cloud_controller_extra_args: {}
|
||||
external_openstack_cloud_controller_image_tag: "v1.28.2"
|
||||
external_openstack_cloud_controller_bind_address: 127.0.0.1
|
||||
external_openstack_cloud_controller_dns_policy: ClusterFirst
|
||||
|
|
|
@ -81,7 +81,9 @@ spec:
|
|||
- name: CLOUD_CONFIG
|
||||
value: /etc/config/cloud.conf
|
||||
hostNetwork: true
|
||||
dnsPolicy: ClusterFirstWithHostNet
|
||||
{% if external_openstack_cloud_controller_dns_policy is defined %}
|
||||
dnsPolicy: {{ external_openstack_cloud_controller_dns_policy }}
|
||||
{% endif %}
|
||||
volumes:
|
||||
{% if kubelet_flexvolumes_plugins_dir is defined %}
|
||||
- name: flexvolume-dir
|
||||
|
|
Loading…
Reference in New Issue