From d2d8db2923f39abbc60039fd18950f41c95b017d Mon Sep 17 00:00:00 2001 From: Jason Gilfoil Date: Thu, 29 Feb 2024 03:09:54 +0000 Subject: [PATCH] add namespace selector --- kubernetes/apps/network/vpn-gateway/app/helmrelease.yaml | 2 ++ kubernetes/apps/testing/namespace.yaml | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/kubernetes/apps/network/vpn-gateway/app/helmrelease.yaml b/kubernetes/apps/network/vpn-gateway/app/helmrelease.yaml index bb8a621c..d8c4f7d6 100644 --- a/kubernetes/apps/network/vpn-gateway/app/helmrelease.yaml +++ b/kubernetes/apps/network/vpn-gateway/app/helmrelease.yaml @@ -139,3 +139,5 @@ spec: gatewayDefault: false gatewayLabel: setGateway gatewayAnnotation: setGateway + namespaceSelector: + label: "vpn-routed-gateway" diff --git a/kubernetes/apps/testing/namespace.yaml b/kubernetes/apps/testing/namespace.yaml index c3735f4e..9f9e5d7d 100644 --- a/kubernetes/apps/testing/namespace.yaml +++ b/kubernetes/apps/testing/namespace.yaml @@ -3,5 +3,5 @@ apiVersion: v1 kind: Namespace metadata: name: testing - # labels: - # kustomize.toolkit.fluxcd.io/prune: disabled + labels: + vpn-routed-gateway: "true"