From 92386c0dca5928d45d4481c6c8330435ae11554d Mon Sep 17 00:00:00 2001 From: Sheogorath <sheogorath@shivering-isles.com> Date: Sat, 24 Feb 2024 21:18:44 +0100 Subject: [PATCH] fix(external-dns): Fix namespace creation --- infrastructure/base/external-dns/kustomization.yaml | 7 +++++-- infrastructure/base/external-dns/namespace.yaml | 5 +++++ 2 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 infrastructure/base/external-dns/namespace.yaml diff --git a/infrastructure/base/external-dns/kustomization.yaml b/infrastructure/base/external-dns/kustomization.yaml index d683674f9..99f055ea3 100644 --- a/infrastructure/base/external-dns/kustomization.yaml +++ b/infrastructure/base/external-dns/kustomization.yaml @@ -1,6 +1,6 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization -namespace: longhorn-system +namespace: external-dns-system resources: - namespace.yaml - repository.yaml @@ -8,4 +8,7 @@ resources: - ../../../shared/networkpolicies/allow-from-monitoring.yaml commonLabels: - app.kubernetes.io/name: external-dns \ No newline at end of file + app.kubernetes.io/name: external-dns + +components: + - ../../../shared/components/namespace-restricted \ No newline at end of file diff --git a/infrastructure/base/external-dns/namespace.yaml b/infrastructure/base/external-dns/namespace.yaml new file mode 100644 index 000000000..fc5040c0a --- /dev/null +++ b/infrastructure/base/external-dns/namespace.yaml @@ -0,0 +1,5 @@ +apiVersion: v1 +kind: Namespace +metadata: + name: external-dns-system + labels: {} -- GitLab