mirror of
https://github.com/kubernetes-sigs/external-dns.git
synced 2026-05-05 06:36:11 +02:00
Add spaces
This commit is contained in:
parent
a6585190f4
commit
c3e8e0997c
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user