Browse Source

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
changes/44/585944/1
Nobuto Murata 11 months ago
parent
commit
af9f3e79b5
2 changed files with 33 additions and 0 deletions
  1. 31
    0
      src/README.md
  2. 2
    0
      src/metadata.yaml

+ 31
- 0
src/README.md View File

@@ -10,6 +10,37 @@ designate-bind relies on designate charm.
10 10
     juju deploy designate
11 11
     juju add-relation designate designate-bind
12 12
 
13
+# Network Space support
14
+
15
+This charm supports the use of Juju Network Spaces, allowing the charm
16
+to be bound to network space configurations managed directly by Juju.
17
+This is only supported with Juju 2.0 and above.
18
+
19
+A network space to be used for communication with Designate can be
20
+specified by "dns-backend" binding.
21
+
22
+Extra binding can be specified with "dns-frontend" binding for an
23
+additional network space to bind DNS server for clients outside of the
24
+Juju model.
25
+
26
+To use this feature, use the --bind option when deploying the charm:
27
+
28
+    juju deploy designate-bind --bind "default-space dns-frontend=public-space dns-backend=internal-space"
29
+
30
+alternatively these can also be provided as part of a juju native
31
+bundle configuration:
32
+
33
+    designate-bind:
34
+      charm: cs:designate-bind
35
+      num_units: 1
36
+      bindings:
37
+        '': default-space
38
+        dns-frontend: public-space
39
+        dns-backend: internal-space
40
+
41
+NOTE: Spaces must be configured in the underlying provider prior to
42
+attempting to use them.
43
+
13 44
 # Bugs
14 45
 
15 46
 Please report bugs on [Launchpad](https://bugs.launchpad.net/charm-designate-bind/+filebug).

+ 2
- 0
src/metadata.yaml View File

@@ -17,6 +17,8 @@ series:
17 17
   - bionic
18 18
   - cosmic
19 19
 subordinate: false
20
+extra-bindings:
21
+  dns-frontend:
20 22
 provides:
21 23
   dns-backend:
22 24
     interface: bind-rndc

Loading…
Cancel
Save