Move to flux-system namespace
This commit is contained in:
parent
32c5ab85d3
commit
5a0a500265
|
@ -2,7 +2,7 @@ apiVersion: kustomize.toolkit.fluxcd.io/v1beta1
|
|||
kind: Kustomization
|
||||
metadata:
|
||||
name: sources
|
||||
namespace: stackspout
|
||||
namespace: flux-system
|
||||
spec:
|
||||
interval: 5m
|
||||
sourceRef:
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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 \
|
||||
|
|
Loading…
Reference in New Issue