From 7a9af8430070f052ea587cc12d91144b6d4eb47c Mon Sep 17 00:00:00 2001 From: ilyes Ajroud Date: Mon, 6 May 2024 20:48:21 +0100 Subject: [PATCH] fix syntax on cloudflare externalDNS --- docs/tutorials/cloudflare.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/tutorials/cloudflare.md b/docs/tutorials/cloudflare.md index 487f190385..f283602acb 100644 --- a/docs/tutorials/cloudflare.md +++ b/docs/tutorials/cloudflare.md @@ -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. @@ -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: @@ -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) @@ -184,7 +184,7 @@ spec: valueFrom: secretKeyRef: name: cloudflare-api-key - key: YOUR_CLOUDFLARE_EMAIL + key: email ``` ## Deploying an Nginx Service