Allow Set managed_resource_email on designate config.

With this patch managed_resource_email can be set via charm
with juju config managed-resource-email = email@domain.com
functional for auto generated SOA records. that came from
Floating IP.

Closes-Bug: #1940864
Change-Id: I9f55564316fdb559481909dd7b196ef8fd9fe612
This commit is contained in:
Jose Phillips 2021-09-02 01:24:49 -05:00
parent 3ae0be599b
commit 0ac8aefbb8
4 changed files with 9 additions and 3 deletions

View File

@ -109,6 +109,12 @@ options:
description: | description: |
Defines the time (in seconds) between retries for the SOA record if the Defines the time (in seconds) between retries for the SOA record if the
slave (secondary) fails to contact the master when refresh has expired. slave (secondary) fails to contact the master when refresh has expired.
managed-resource-email:
type: string
default: hostmaster@example.com
description: |
Define a email to use for managed resources like domains created by the
FloatingIP.
default-ttl: default-ttl:
type: int type: int
default: default:

View File

@ -84,7 +84,7 @@ workers = {{ options.workers }}
## Managed resources settings ## Managed resources settings
# Email to use for managed resources like domains created by the FloatingIP API # Email to use for managed resources like domains created by the FloatingIP API
#managed_resource_email = hostmaster@example.com. managed_resource_email = {{ options.managed_resource_email }}
# Tenant ID to own all managed resources - like auto-created records etc. # Tenant ID to own all managed resources - like auto-created records etc.
#managed_resource_tenant_id = 123456 #managed_resource_tenant_id = 123456

View File

@ -87,7 +87,7 @@ workers = {{ options.workers }}
## Managed resources settings ## Managed resources settings
# Email to use for managed resources like domains created by the FloatingIP API # Email to use for managed resources like domains created by the FloatingIP API
#managed_resource_email = hostmaster@example.com. managed_resource_email = {{ options.managed_resource_email }}
# Tenant ID to own all managed resources - like auto-created records etc. # Tenant ID to own all managed resources - like auto-created records etc.
#managed_resource_tenant_id = 123456 #managed_resource_tenant_id = 123456

View File

@ -87,7 +87,7 @@ workers = {{ options.workers }}
## Managed resources settings ## Managed resources settings
# Email to use for managed resources like domains created by the FloatingIP API # Email to use for managed resources like domains created by the FloatingIP API
#managed_resource_email = hostmaster@example.com. managed_resource_email = {{ options.managed_resource_email }}
# Tenant ID to own all managed resources - like auto-created records etc. # Tenant ID to own all managed resources - like auto-created records etc.
#managed_resource_tenant_id = 123456 #managed_resource_tenant_id = 123456