Skip to content

Commit 68dfa11

Browse files
committed
docs: make external-dns example to 0.7.2+ working in AWS China
1 parent fbbeffc commit 68dfa11

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

docs/examples/external-dns.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ rules:
2020
- apiGroups: [""]
2121
resources: ["nodes"]
2222
verbs: ["list"]
23+
- apiGroups: [""]
24+
resources: ["endpoints"]
25+
verbs: ["get","watch","list"]
2326
---
2427
apiVersion: rbac.authorization.k8s.io/v1beta1
2528
kind: ClusterRoleBinding
@@ -52,7 +55,11 @@ spec:
5255
serviceAccountName: external-dns
5356
containers:
5457
- name: external-dns
55-
image: bitnami/external-dns:0.7.1
58+
image: bitnami/external-dns:0.7.4
59+
# must specify env AWS_REGION in AWS china regions
60+
# env:
61+
# - name: AWS_REGION
62+
# value: cn-north-1
5663
args:
5764
- --source=service
5865
- --source=ingress

0 commit comments

Comments
 (0)