Skip to content

Commit

Permalink
Add spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
omerap12 committed Apr 26, 2024
1 parent a658519 commit c3e8e09
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/tutorials/digitalocean.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,19 @@ 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.

## 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
Expand All @@ -45,6 +48,7 @@ env:
```

### Manifest (for clusters without RBAC enabled)

```yaml
apiVersion: apps/v1
kind: Deployment
Expand Down

0 comments on commit c3e8e09

Please sign in to comment.