Commit 4b0f24c0 authored by Marco Lorini's avatar Marco Lorini
Browse files

2020-11-3 ML: change externalDNS namespace

parent e6f7281f
......@@ -3,7 +3,7 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: external-dns
namespace: fed-namespace
namespace: external-dns
spec:
strategy:
type: Recreate
......@@ -30,4 +30,4 @@ spec:
- --registry=txt
- --txt-prefix=cname
- --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
kind: ServiceAccount
metadata:
name: external-dns
namespace: fed-namespace
namespace: external-dns
---
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRole
metadata:
name: external-dns
namespace: fed-namespace
namespace: external-dns
rules:
- apiGroups: [""]
resources: ["services","endpoints","pods"]
......@@ -28,7 +28,7 @@ apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRoleBinding
metadata:
name: external-dns-viewer
namespace: fed-namespace
namespace: external-dns
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
......@@ -36,4 +36,4 @@ roleRef:
subjects:
- kind: ServiceAccount
name: external-dns
namespace: fed-namespace
namespace: external-dns
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment