Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix syntax on cloudflare externalDNS #4436

Merged
merged 1 commit into from
May 7, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions docs/tutorials/cloudflare.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Connect your `kubectl` client to the cluster you want to test ExternalDNS with.
Begin by creating a Kubernetes secret to securely store your CloudFlare API key. This key will enable ExternalDNS to authenticate with CloudFlare:

```shell
kubectl create secret generic cloudflare-api-key --from-literal=API_KEY=YOUR_API_KEY ---from-literal=CF_API_EMAIL=YOUR_CLOUDFLARE_EMAIL
kubectl create secret generic cloudflare-api-key --from-literal=apiKey=YOUR_API_KEY --from-literal=email=YOUR_CLOUDFLARE_EMAIL
```

Ensure to replace YOUR_API_KEY with your actual CloudFlare API key and YOUR_CLOUDFLARE_EMAIL with the email associated with your CloudFlare account.
Expand All @@ -62,7 +62,7 @@ env:
valueFrom:
secretKeyRef:
name: cloudflare-api-key
key: YOUR_CLOUDFLARE_EMAIL
key: email
```

Finally, install the ExternalDNS chart with Helm using the configuration specified in your values.yaml file:
Expand Down Expand Up @@ -104,12 +104,12 @@ spec:
valueFrom:
secretKeyRef:
name: cloudflare-api-key
key: API_KEY
key: apiKey
- name: CF_API_EMAIL
valueFrom:
secretKeyRef:
name: cloudflare-api-key
key: YOUR_CLOUDFLARE_EMAIL
key: email
```
### Manifest (for clusters with RBAC enabled)
Expand Down Expand Up @@ -184,7 +184,7 @@ spec:
valueFrom:
secretKeyRef:
name: cloudflare-api-key
key: YOUR_CLOUDFLARE_EMAIL
key: email
```
## Deploying an Nginx Service
Expand Down