From 9d212d3ae9cc3c07701b8454f93d63b051fe6d66 Mon Sep 17 00:00:00 2001 From: kory33 Date: Fri, 22 Sep 2023 03:13:15 +0900 Subject: [PATCH] fix: do not override namespace of argocd-scoped resources --- .../bungeecord/kustomization.yaml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/seichi-onp-k8s/manifests/seichi-kubernetes/apps/seichi-debug-gateway/bungeecord/kustomization.yaml b/seichi-onp-k8s/manifests/seichi-kubernetes/apps/seichi-debug-gateway/bungeecord/kustomization.yaml index e9568f07c..3e64f1101 100644 --- a/seichi-onp-k8s/manifests/seichi-kubernetes/apps/seichi-debug-gateway/bungeecord/kustomization.yaml +++ b/seichi-onp-k8s/manifests/seichi-kubernetes/apps/seichi-debug-gateway/bungeecord/kustomization.yaml @@ -1,6 +1,15 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization -namespace: seichi-debug-gateway + +transformers: + - |- + apiVersion: builtin + kind: NamespaceTransformer + metadata: + name: ns-transformer + namespace: seichi-debug-gateway + unsetOnly: true + resources: - "../../../app-templates/minecraft-gateway-bungeecord" - "./bungeesemaphore-redis.yaml"