File tree Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -817,6 +817,7 @@ openstack_deploy_prep: export BRIDGE_NAME=${NNCP_BRIDGE}
817817openstack_deploy_prep : export CTLPLANE_IP_ADDRESS_PREFIX=${NNCP_CTLPLANE_IPV6_ADDRESS_PREFIX}
818818ifeq ($(NETWORK_ISOLATION_IPV4 ) , true)
819819openstack_deploy_prep : export IPV4_ENABLED=true
820+ openstack_deploy_prep : export CTLPLANE_IPV4_DNS_SERVER=${NNCP_DNS_SERVER}
820821endif
821822ifeq ($(NETWORK_ISOLATION_IPV6 ) , true)
822823openstack_deploy_prep : export IPV6_ENABLED=true
Original file line number Diff line number Diff line change @@ -504,6 +504,23 @@ if [[ "${KIND}" == "OpenStackControlPlane" ]]; then
504504 patch: |-
505505 - op: remove
506506 path: /spec/dns/template/options/0/values/0
507+ EOF
508+ else
509+ cat <<EOF >>kustomization.yaml
510+ - patch: |-
511+ apiVersion: core.openstack.org/v1beta1
512+ kind: ${KIND}
513+ metadata:
514+ name: unused
515+ spec:
516+ dns:
517+ template:
518+ options:
519+ - key: server
520+ values:
521+ - ${CTLPLANE_IPV4_DNS_SERVER}
522+ target:
523+ kind: ${KIND}
507524EOF
508525 fi
509526
You can’t perform that action at this time.
0 commit comments