From 87b4154b056af0dc4d2218d59646680c71321a98 Mon Sep 17 00:00:00 2001 From: Edward Cheng Date: Mon, 15 Jul 2024 02:21:45 +1000 Subject: [PATCH] auto create namespace --- projects/k3s-cluster-app.yaml | 1 + projects/k3s-cluster-infra.yaml | 1 + projects/k3s-cluster-res.yaml | 1 + root.yaml | 1 + 4 files changed, 4 insertions(+) diff --git a/projects/k3s-cluster-app.yaml b/projects/k3s-cluster-app.yaml index 3987395..1eb4660 100644 --- a/projects/k3s-cluster-app.yaml +++ b/projects/k3s-cluster-app.yaml @@ -66,4 +66,5 @@ spec: allowEmpty: true prune: true selfHeal: true + createNamespace: true status: {} \ No newline at end of file diff --git a/projects/k3s-cluster-infra.yaml b/projects/k3s-cluster-infra.yaml index e09f6aa..27278b1 100644 --- a/projects/k3s-cluster-infra.yaml +++ b/projects/k3s-cluster-infra.yaml @@ -66,4 +66,5 @@ spec: allowEmpty: true prune: true selfHeal: true + createNamespace: true status: {} \ No newline at end of file diff --git a/projects/k3s-cluster-res.yaml b/projects/k3s-cluster-res.yaml index f7b34f3..e7e9a41 100644 --- a/projects/k3s-cluster-res.yaml +++ b/projects/k3s-cluster-res.yaml @@ -66,4 +66,5 @@ spec: allowEmpty: true prune: true selfHeal: true + createNamespace: true status: {} \ No newline at end of file diff --git a/root.yaml b/root.yaml index b1f4577..95ab52b 100644 --- a/root.yaml +++ b/root.yaml @@ -29,6 +29,7 @@ spec: selfHeal: true syncOptions: - allowEmpty=true + - CreateNamespace=true status: health: {} summary: {}