Designate: support configuring non-ooo-deployed binds
Colloquially referred to as "bring your own bind", this allows designate to be configured with external bind instances. Depends-On: https://review.opendev.org/c/openstack/tripleo-ansible/+/847803 Change-Id: I797ae348065cc70ecafd72440c01773a6c9c8764
This commit is contained in:
parent
da95fac558
commit
f03115cf28
@ -75,6 +75,7 @@ parameters:
|
|||||||
unset results in service defaults being used.
|
unset results in service defaults being used.
|
||||||
type: string
|
type: string
|
||||||
default: ''
|
default: ''
|
||||||
|
|
||||||
DesignateRndcKey:
|
DesignateRndcKey:
|
||||||
description: The rndc key secret for communication with BIND.
|
description: The rndc key secret for communication with BIND.
|
||||||
type: string
|
type: string
|
||||||
@ -84,6 +85,26 @@ parameters:
|
|||||||
on the external/public access network.
|
on the external/public access network.
|
||||||
type: number
|
type: number
|
||||||
default: 16000
|
default: 16000
|
||||||
|
DesignateExternalBindServers:
|
||||||
|
description: >
|
||||||
|
Used to configure desginate with bind servers managed
|
||||||
|
externally to the overcloud. Example format:
|
||||||
|
[ {
|
||||||
|
# entry with minimal required values
|
||||||
|
"host": "10.4.22.99",
|
||||||
|
"rndc_key": "FJOdVqZr5gVXbU9kIagY0IJVDq7CV/mDVb/M7mlLMgY="
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"host": "10.5.22.99",
|
||||||
|
"port": "53",
|
||||||
|
"rndc_host": "10.5.22.98",
|
||||||
|
"rndc_port": "953",
|
||||||
|
"rndc_key": "FJOdVqZr5gVXbU9kIagY0IJVDq7CV/mDVb/M7mlLMgY="
|
||||||
|
}
|
||||||
|
]
|
||||||
|
type: json
|
||||||
|
default: []
|
||||||
|
hidden: true
|
||||||
|
|
||||||
conditions:
|
conditions:
|
||||||
designate_workers_set:
|
designate_workers_set:
|
||||||
@ -215,6 +236,7 @@ outputs:
|
|||||||
alternate_bind: true
|
alternate_bind: true
|
||||||
designate_rndc_key: {get_param: DesignateRndcKey}
|
designate_rndc_key: {get_param: DesignateRndcKey}
|
||||||
minidns_proxy_base_port: {get_param: DesignateMdnsProxyBasePort}
|
minidns_proxy_base_port: {get_param: DesignateMdnsProxyBasePort}
|
||||||
|
tripleo_external_bind_servers: {get_param: DesignateExternalBindServers}
|
||||||
docker_config:
|
docker_config:
|
||||||
# db sync runs before permissions set by kolla_config
|
# db sync runs before permissions set by kolla_config
|
||||||
step_2:
|
step_2:
|
||||||
|
@ -53,6 +53,26 @@ parameters:
|
|||||||
description: The rndc key secret for communication with BIND.
|
description: The rndc key secret for communication with BIND.
|
||||||
type: string
|
type: string
|
||||||
hidden: true
|
hidden: true
|
||||||
|
DesignateExternalBindServers:
|
||||||
|
description: >
|
||||||
|
Used to configure desginate with bind servers managed
|
||||||
|
externally to the overcloud. Example format:
|
||||||
|
[ {
|
||||||
|
# entry with minimal required values
|
||||||
|
"host": "10.4.22.99",
|
||||||
|
"rndc_key": "FJOdVqZr5gVXbU9kIagY0IJVDq7CV/mDVb/M7mlLMgY="
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"host": "10.5.22.99",
|
||||||
|
"port": "53",
|
||||||
|
"rndc_host": "10.5.22.98",
|
||||||
|
"rndc_port": "953",
|
||||||
|
"rndc_key": "FJOdVqZr5gVXbU9kIagY0IJVDq7CV/mDVb/M7mlLMgY="
|
||||||
|
}
|
||||||
|
]
|
||||||
|
type: json
|
||||||
|
default: []
|
||||||
|
hidden: true
|
||||||
|
|
||||||
conditions:
|
conditions:
|
||||||
designate_workers_zero: {equals : [{get_param: DesignateWorkers}, 0]}
|
designate_workers_zero: {equals : [{get_param: DesignateWorkers}, 0]}
|
||||||
@ -144,6 +164,7 @@ outputs:
|
|||||||
name: designate_rndc_config
|
name: designate_rndc_config
|
||||||
vars:
|
vars:
|
||||||
designate_rndc_key: {get_param: DesignateRndcKey}
|
designate_rndc_key: {get_param: DesignateRndcKey}
|
||||||
|
tripleo_external_bind_servers: {get_param: DesignateExternalBindServers}
|
||||||
docker_config:
|
docker_config:
|
||||||
step_4:
|
step_4:
|
||||||
designate_worker:
|
designate_worker:
|
||||||
|
@ -89,6 +89,26 @@ parameters:
|
|||||||
the request. It will only answer for queries using local
|
the request. It will only answer for queries using local
|
||||||
information.
|
information.
|
||||||
type: boolean
|
type: boolean
|
||||||
|
DesignateExternalBindServers:
|
||||||
|
description: >
|
||||||
|
Used to configure desginate with bind servers managed
|
||||||
|
externally to the overcloud. Example format:
|
||||||
|
[ {
|
||||||
|
# entry with minimal required values
|
||||||
|
"host": "10.4.22.99",
|
||||||
|
"rndc_key": "FJOdVqZr5gVXbU9kIagY0IJVDq7CV/mDVb/M7mlLMgY="
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"host": "10.5.22.99",
|
||||||
|
"port": "53",
|
||||||
|
"rndc_host": "10.5.22.98",
|
||||||
|
"rndc_port": "953",
|
||||||
|
"rndc_key": "FJOdVqZr5gVXbU9kIagY0IJVDq7CV/mDVb/M7mlLMgY="
|
||||||
|
}
|
||||||
|
]
|
||||||
|
type: json
|
||||||
|
default: []
|
||||||
|
hidden: true
|
||||||
|
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
@ -191,3 +211,4 @@ outputs:
|
|||||||
tripleo_unbound_forward_resolvers: {get_param: UnboundForwardResolvers}
|
tripleo_unbound_forward_resolvers: {get_param: UnboundForwardResolvers}
|
||||||
tripleo_unbound_forward_fallback: {get_param: UnboundForwardFallback}
|
tripleo_unbound_forward_fallback: {get_param: UnboundForwardFallback}
|
||||||
tripleo_unbound_allow_recursion: {get_param: UnboundAllowRecursion}
|
tripleo_unbound_allow_recursion: {get_param: UnboundAllowRecursion}
|
||||||
|
tripleo_external_bind_servers: {get_param: DesignateExternalBindServers}
|
||||||
|
Loading…
Reference in New Issue
Block a user