From e0af3046ca67675c401ff923cf75e83161cbadfc Mon Sep 17 00:00:00 2001 From: Jonas Juselius Date: Thu, 6 Jun 2024 08:50:41 +0200 Subject: [PATCH] fix: automatically create atlantis ns on vcluster spinup --- charts/vcluster/templates/vcluster.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/charts/vcluster/templates/vcluster.yaml b/charts/vcluster/templates/vcluster.yaml index 3be3e5f3..a4c9147b 100644 --- a/charts/vcluster/templates/vcluster.yaml +++ b/charts/vcluster/templates/vcluster.yaml @@ -161,6 +161,13 @@ spec: annotations: kubernetes.io/service-account.name: admin type: kubernetes.io/service-account-token + --- + apiVersion: v1 + kind: Namespace + metadata: + labels: + kubernetes.io/metadata.name: atlantis + name: atlantis # The contents of manifests-template will be templated using helm # this allows you to use helm values inside, e.g.: {{ .Release.Name }}