From 5b69611fed13d8a422f83c7cb208ccc169de3cda Mon Sep 17 00:00:00 2001 From: Marcus Noble Date: Sat, 3 Apr 2021 09:26:52 +0100 Subject: [PATCH] Auto create namespace --- manifests/11-year-anniversary/11-year-anniversary.yaml | 5 ----- manifests/_apps/11-year-anniversary.yaml | 4 +++- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/manifests/11-year-anniversary/11-year-anniversary.yaml b/manifests/11-year-anniversary/11-year-anniversary.yaml index 56a35dd..f4c295c 100644 --- a/manifests/11-year-anniversary/11-year-anniversary.yaml +++ b/manifests/11-year-anniversary/11-year-anniversary.yaml @@ -1,9 +1,4 @@ apiVersion: v1 -kind: Namespace -metadata: - name: anniversary ---- -apiVersion: v1 kind: Secret metadata: name: docker-config diff --git a/manifests/_apps/11-year-anniversary.yaml b/manifests/_apps/11-year-anniversary.yaml index 267d755..d70a2a6 100644 --- a/manifests/_apps/11-year-anniversary.yaml +++ b/manifests/_apps/11-year-anniversary.yaml @@ -14,5 +14,7 @@ spec: path: manifests/11-year-anniversary repoURL: "https://git.cluster.fun/AverageMarcus/cluster.fun.git" targetRevision: HEAD - # syncPolicy: + syncPolicy: # automated: {} + syncOptions: + - CreateNamespace=true