Move to flux-system namespace

This commit is contained in:
xeruf 2022-06-29 23:11:29 +01:00
parent 32c5ab85d3
commit 5a0a500265
9 changed files with 3 additions and 5 deletions

View File

@ -2,7 +2,7 @@ apiVersion: kustomize.toolkit.fluxcd.io/v1beta1
kind: Kustomization
metadata:
name: sources
namespace: stackspout
namespace: flux-system
spec:
interval: 5m
sourceRef:

View File

@ -1,8 +1,8 @@
apiVersion: kustomize.toolkit.fluxcd.io/v1beta1
kind: Kustomization
metadata:
name: overrides
namespace: stackspout
name: stackspout-overrides
namespace: flux-system
spec:
interval: 2m
sourceRef:

View File

@ -4,14 +4,12 @@ kubectl get namespace stackspout 2>/dev/null || kubectl create namespace stacksp
echo "Creating / updating gitRepository stackspout in namespace stackspout"
flux create source git stackspout \
--namespace=stackspout \
--url=https://open.greenhost.net/xeruf/stackspout.git \
--branch=main \
--interval=3m
echo "Creating / updating kustomization stackspout in namespace stackspout"
flux create kustomization stackspout \
--namespace=stackspout \
--source=GitRepository/stackspout \
--path="./basic/clusters/production/" \
--prune=true \