Skip to content

Commit

Permalink
Revert OCCM standard dnsPolicy to ClusterFirst and make dnsPolicy con…
Browse files Browse the repository at this point in the history
…figurable to support 10618 (#11168)
  • Loading branch information
Payback159 committed May 13, 2024
1 parent a00b0c4 commit cd459a0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cd459a0

Please sign in to comment.