apps/external-dns/resources/deployment.yaml

44 lines
1.2 KiB
YAML
Raw Normal View History

2024-02-14 20:45:58 +00:00
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
2024-02-21 07:12:13 +00:00
- --source=gateway-httproute
- --source=gateway-tlsroute
- --source=gateway-tcproute
- --source=gateway-udproute
- --gateway-namespace=projectcontour
2024-02-14 20:45:58 +00:00
- --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