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.
|
||||
type: string
|
||||
default: ''
|
||||
|
||||
DesignateRndcKey:
|
||||
description: The rndc key secret for communication with BIND.
|
||||
type: string
|
||||
@ -84,6 +85,26 @@ parameters:
|
||||
on the external/public access network.
|
||||
type: number
|
||||
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:
|
||||
designate_workers_set:
|
||||
@ -215,6 +236,7 @@ outputs:
|
||||
alternate_bind: true
|
||||
designate_rndc_key: {get_param: DesignateRndcKey}
|
||||
minidns_proxy_base_port: {get_param: DesignateMdnsProxyBasePort}
|
||||
tripleo_external_bind_servers: {get_param: DesignateExternalBindServers}
|
||||
docker_config:
|
||||
# db sync runs before permissions set by kolla_config
|
||||
step_2:
|
||||
|
@ -53,6 +53,26 @@ parameters:
|
||||
description: The rndc key secret for communication with BIND.
|
||||
type: string
|
||||
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:
|
||||
designate_workers_zero: {equals : [{get_param: DesignateWorkers}, 0]}
|
||||
@ -144,6 +164,7 @@ outputs:
|
||||
name: designate_rndc_config
|
||||
vars:
|
||||
designate_rndc_key: {get_param: DesignateRndcKey}
|
||||
tripleo_external_bind_servers: {get_param: DesignateExternalBindServers}
|
||||
docker_config:
|
||||
step_4:
|
||||
designate_worker:
|
||||
|
@ -89,6 +89,26 @@ parameters:
|
||||
the request. It will only answer for queries using local
|
||||
information.
|
||||
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:
|
||||
@ -191,3 +211,4 @@ outputs:
|
||||
tripleo_unbound_forward_resolvers: {get_param: UnboundForwardResolvers}
|
||||
tripleo_unbound_forward_fallback: {get_param: UnboundForwardFallback}
|
||||
tripleo_unbound_allow_recursion: {get_param: UnboundAllowRecursion}
|
||||
tripleo_external_bind_servers: {get_param: DesignateExternalBindServers}
|
||||
|
Loading…
Reference in New Issue
Block a user