Skip to content
Snippets Groups Projects
Commit 4b0f24c0 authored by Marco Lorini's avatar Marco Lorini
Browse files

2020-11-3 ML: change externalDNS namespace

parent e6f7281f
No related branches found
No related tags found
No related merge requests found
...@@ -3,7 +3,7 @@ apiVersion: apps/v1 ...@@ -3,7 +3,7 @@ apiVersion: apps/v1
kind: Deployment kind: Deployment
metadata: metadata:
name: external-dns name: external-dns
namespace: fed-namespace namespace: external-dns
spec: spec:
strategy: strategy:
type: Recreate type: Recreate
...@@ -30,4 +30,4 @@ spec: ...@@ -30,4 +30,4 @@ spec:
- --registry=txt - --registry=txt
- --txt-prefix=cname - --txt-prefix=cname
- --domain-filter=<domain> # will make ExternalDNS see only the zones matching provided domain; omit to process all available zones in PowerDNS - --domain-filter=<domain> # will make ExternalDNS see only the zones matching provided domain; omit to process all available zones in PowerDNS
- --policy=upsert-only # would prevent ExternalDNS from deleting any records, omit to enable full synchronization # - --policy=upsert-only # would prevent ExternalDNS from deleting any records, omit to enable full synchronization
...@@ -3,13 +3,13 @@ apiVersion: v1 ...@@ -3,13 +3,13 @@ apiVersion: v1
kind: ServiceAccount kind: ServiceAccount
metadata: metadata:
name: external-dns name: external-dns
namespace: fed-namespace namespace: external-dns
--- ---
apiVersion: rbac.authorization.k8s.io/v1beta1 apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRole kind: ClusterRole
metadata: metadata:
name: external-dns name: external-dns
namespace: fed-namespace namespace: external-dns
rules: rules:
- apiGroups: [""] - apiGroups: [""]
resources: ["services","endpoints","pods"] resources: ["services","endpoints","pods"]
...@@ -28,7 +28,7 @@ apiVersion: rbac.authorization.k8s.io/v1beta1 ...@@ -28,7 +28,7 @@ apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRoleBinding kind: ClusterRoleBinding
metadata: metadata:
name: external-dns-viewer name: external-dns-viewer
namespace: fed-namespace namespace: external-dns
roleRef: roleRef:
apiGroup: rbac.authorization.k8s.io apiGroup: rbac.authorization.k8s.io
kind: ClusterRole kind: ClusterRole
...@@ -36,4 +36,4 @@ roleRef: ...@@ -36,4 +36,4 @@ roleRef:
subjects: subjects:
- kind: ServiceAccount - kind: ServiceAccount
name: external-dns name: external-dns
namespace: fed-namespace namespace: external-dns
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment