From c3e8e0997c8bb3105fd5c567eaed8fde2ac1ffae Mon Sep 17 00:00:00 2001 From: Omer Date: Sat, 27 Apr 2024 00:23:55 +0300 Subject: [PATCH] Add spaces --- docs/tutorials/digitalocean.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/tutorials/digitalocean.md b/docs/tutorials/digitalocean.md index c10bd3505..57d43d532 100644 --- a/docs/tutorials/digitalocean.md +++ b/docs/tutorials/digitalocean.md @@ -23,9 +23,11 @@ The environment variable `DO_TOKEN` will be needed to run ExternalDNS with Digit Connect your `kubectl` client to the cluster you want to test ExternalDNS with. Begin by creating a Kubernetes secret to securely store your DigitalOcean API key. This key will enable ExternalDNS to authenticate with DigitalOcean: + ```shell kubectl create secret generic DO_TOKEN --from-literal=DO_TOKEN=YOUR_DIGITALOCEAN_API_KEY ``` + Ensure to replace YOUR_DIGITALOCEAN_API_KEY with your actual DigitalOcean API key. Then apply one of the following manifests file to deploy ExternalDNS. @@ -33,6 +35,7 @@ Then apply one of the following manifests file to deploy ExternalDNS. ## Using Helm Create a values.yaml file to configure ExternalDNS to use DigitalOcean as the DNS provider. This file should include the necessary environment variables: + ```shell provider: name: digitalocean @@ -45,6 +48,7 @@ env: ``` ### Manifest (for clusters without RBAC enabled) + ```yaml apiVersion: apps/v1 kind: Deployment