Skip to content

Commit 283c00d

Browse files
authored
Merge pull request #4436 from ilyesAj/patch-1
fix syntax on cloudflare externalDNS
2 parents fa17f9d + 7a9af84 commit 283c00d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/tutorials/cloudflare.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Connect your `kubectl` client to the cluster you want to test ExternalDNS with.
3838
Begin by creating a Kubernetes secret to securely store your CloudFlare API key. This key will enable ExternalDNS to authenticate with CloudFlare:
3939

4040
```shell
41-
kubectl create secret generic cloudflare-api-key --from-literal=API_KEY=YOUR_API_KEY ---from-literal=CF_API_EMAIL=YOUR_CLOUDFLARE_EMAIL
41+
kubectl create secret generic cloudflare-api-key --from-literal=apiKey=YOUR_API_KEY --from-literal=email=YOUR_CLOUDFLARE_EMAIL
4242
```
4343

4444
Ensure to replace YOUR_API_KEY with your actual CloudFlare API key and YOUR_CLOUDFLARE_EMAIL with the email associated with your CloudFlare account.
@@ -62,7 +62,7 @@ env:
6262
valueFrom:
6363
secretKeyRef:
6464
name: cloudflare-api-key
65-
key: YOUR_CLOUDFLARE_EMAIL
65+
key: email
6666
```
6767

6868
Finally, install the ExternalDNS chart with Helm using the configuration specified in your values.yaml file:
@@ -104,12 +104,12 @@ spec:
104104
valueFrom:
105105
secretKeyRef:
106106
name: cloudflare-api-key
107-
key: API_KEY
107+
key: apiKey
108108
- name: CF_API_EMAIL
109109
valueFrom:
110110
secretKeyRef:
111111
name: cloudflare-api-key
112-
key: YOUR_CLOUDFLARE_EMAIL
112+
key: email
113113
```
114114
115115
### Manifest (for clusters with RBAC enabled)
@@ -184,7 +184,7 @@ spec:
184184
valueFrom:
185185
secretKeyRef:
186186
name: cloudflare-api-key
187-
key: YOUR_CLOUDFLARE_EMAIL
187+
key: email
188188
```
189189
190190
## Deploying an Nginx Service

0 commit comments

Comments
 (0)