Add dns-frontend extra binding

Another network space can be added to offer DNS service to clients
outside of the Juju model.

Change-Id: Ida1dd81bc4e2a2f1778ffa5d747a88c860164def
Closes-Bug: #1783678
This commit is contained in:
Nobuto Murata 2018-07-26 13:23:55 +09:00
parent cd14d5a18e
commit af9f3e79b5
2 changed files with 33 additions and 0 deletions

View File

@ -10,6 +10,37 @@ designate-bind relies on designate charm.
juju deploy designate
juju add-relation designate designate-bind
# Network Space support
This charm supports the use of Juju Network Spaces, allowing the charm
to be bound to network space configurations managed directly by Juju.
This is only supported with Juju 2.0 and above.
A network space to be used for communication with Designate can be
specified by "dns-backend" binding.
Extra binding can be specified with "dns-frontend" binding for an
additional network space to bind DNS server for clients outside of the
Juju model.
To use this feature, use the --bind option when deploying the charm:
juju deploy designate-bind --bind "default-space dns-frontend=public-space dns-backend=internal-space"
alternatively these can also be provided as part of a juju native
bundle configuration:
designate-bind:
charm: cs:designate-bind
num_units: 1
bindings:
'': default-space
dns-frontend: public-space
dns-backend: internal-space
NOTE: Spaces must be configured in the underlying provider prior to
attempting to use them.
# Bugs
Please report bugs on [Launchpad](https://bugs.launchpad.net/charm-designate-bind/+filebug).

View File

@ -17,6 +17,8 @@ series:
- bionic
- cosmic
subordinate: false
extra-bindings:
dns-frontend:
provides:
dns-backend:
interface: bind-rndc