25 lines
647 B
YAML
25 lines
647 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: external-dns
|
|
spec:
|
|
strategy:
|
|
type: Recreate
|
|
selector:
|
|
matchLabels:
|
|
app: external-dns
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: external-dns
|
|
spec:
|
|
containers:
|
|
- name: external-dns
|
|
image: registry.k8s.io/external-dns/external-dns:v0.14.0
|
|
args:
|
|
- --source=service # ingress is also possible
|
|
- --domain-filter=futureporn.net # (optional) limit to only example.com domains; change to match the zone created above.
|
|
- --provider=vultr
|
|
env:
|
|
- name: VULTR_API_KEY
|
|
value: "YOU_VULTR_API_KEY" |