1
0
forked from k-space/kube
kube/bind/external-dns.yaml

61 lines
1017 B
YAML
Raw Normal View History

2023-08-19 18:31:30 +00:00
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: external-dns
rules:
2024-08-14 07:04:41 +00:00
- apiGroups:
- ""
resources:
- services
- endpoints
- pods
- nodes
verbs:
- get
- watch
- list
- apiGroups:
- extensions
- networking.k8s.io
resources:
- ingresses
verbs:
- get
- list
- watch
- apiGroups:
- externaldns.k8s.io
resources:
- dnsendpoints
verbs:
- get
- watch
- list
- apiGroups:
- externaldns.k8s.io
resources:
- dnsendpoints/status
verbs:
- update
2023-08-19 18:31:30 +00:00
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: external-dns
2024-08-14 07:04:41 +00:00
namespace: bind
2023-08-19 18:31:30 +00:00
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: external-dns-viewer
2024-08-14 07:04:41 +00:00
namespace: bind
2023-08-19 18:31:30 +00:00
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: external-dns
subjects:
2024-08-14 07:04:41 +00:00
- kind: ServiceAccount
name: external-dns
namespace: bind