Skip to content

Commit e791c64

Browse files
rboRobert Bohne
authored andcommitted
Added missing secret createion
1 parent 586d201 commit e791c64

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

  • content/cluster-configuration/external-dns

content/cluster-configuration/external-dns/index.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,12 @@ based on [Configuring RFC2136 provider](https://github.com/kubernetes-sigs/exter
106106
107107
??? example "Deployment"
108108
109+
Create a secret with the tsig key `c3LyD11u....xX6WA==`
110+
111+
```bash
112+
oc create secret generic external-dns-rfc2136-tsig-secret \
113+
--from-literal=EXTERNAL_DNS_RFC2136_TSIG_SECRET="c3LyD11u....xX6WA=="
114+
```
109115
=== "YAML"
110116
111117
```yaml
@@ -139,6 +145,6 @@ oc apply -f {{ page.canonical_url }}../../deploy/deployment-simple-nginx.yaml
139145
140146
oc patch service/simple-nginx --type merge -p '{"spec":{"type":"LoadBalancer"}}'
141147
142-
oc annotate service/simple-nginx external-dns.alpha.kubernetes.io/hostname="external-dns-demo.disco.local"
143-
oc annotate service/simple-nginx external-dns.alpha.kubernetes.io/ttl: '60'
148+
oc annotate service/simple-nginx external-dns.alpha.kubernetes.io/hostname='external-dns-demo.disco.local'
149+
oc annotate service/simple-nginx external-dns.alpha.kubernetes.io/ttl='60'
144150
```

0 commit comments

Comments
 (0)