apiVersion: apps/v1 kind: Deployment metadata: name: external-dns spec: template: spec: containers: - name: external-dns args: - --source=service - --source=ingress - --provider=digitalocean - --registry=txt - --txt-owner-id=external-dns - --txt-prefix=_owner. - --log-level=debug env: - name: DO_TOKEN valueFrom: secretKeyRef: name: digitalocean key: access-token