39 lines
No EOL
989 B
YAML
39 lines
No EOL
989 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:
|
|
serviceAccountName: external-dns
|
|
containers:
|
|
- name: external-dns
|
|
image: external-dns
|
|
args:
|
|
- --source=ingress
|
|
- --domain-filter=icb4dc0.de
|
|
- --zone-id-filter=ee5cd581559fcf20384856ed5b1b2f0b
|
|
- --provider=cloudflare
|
|
- --cloudflare-dns-records-per-page=5000
|
|
- --exclude-target-net=172.23.2.0/24
|
|
env:
|
|
- name: CF_API_TOKEN
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: external-dns-secrets
|
|
key: CF_API_TOKEN
|
|
resources:
|
|
requests:
|
|
cpu: 50m
|
|
memory: 128Mi
|
|
limits:
|
|
cpu: 100m
|
|
memory: 128Mi |