48 lines
1.3 KiB
YAML
48 lines
1.3 KiB
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
|
|
- --source=gateway-httproute
|
|
- --source=gateway-tlsroute
|
|
- --source=gateway-tcproute
|
|
- --source=gateway-udproute
|
|
- --gateway-namespace=projectcontour
|
|
- --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
|
|
- name: GOMEMLIMIT
|
|
valueFrom:
|
|
resourceFieldRef:
|
|
resource: limits.memory
|
|
resources:
|
|
requests:
|
|
cpu: 50m
|
|
memory: 128Mi
|
|
limits:
|
|
cpu: 100m
|
|
memory: 128Mi
|