install: prune installation steps
This commit is contained in:
parent
2e274e6084
commit
7186e122ed
1 changed files with 6 additions and 13 deletions
19
install.sh
19
install.sh
|
@ -1,12 +1,15 @@
|
|||
#!/usr/bin/env bash
|
||||
#!/bin/sh -x
|
||||
|
||||
kubectl get namespace stackspout 2>/dev/null || kubectl create namespace stackspout
|
||||
kubectl get namespace stackspout 2>/dev/null ||
|
||||
kubectl create namespace stackspout
|
||||
|
||||
echo "Creating / Updating gitRepository stackspout"
|
||||
flux create source git stackspout \
|
||||
--url=https://forge.ftt.gmbh/polygon/stackspout.git \
|
||||
--url=https://open.greenhost.net/xeruf/stackspout.git \
|
||||
--branch=main \
|
||||
--interval=5m
|
||||
# Don't depend on a repo hosted by this cluster
|
||||
#url=https://forge.ftt.gmbh/polygon/stackspout.git \
|
||||
|
||||
echo "Creating / Updating kustomization stackspout"
|
||||
flux create kustomization stackspout \
|
||||
|
@ -14,13 +17,3 @@ flux create kustomization stackspout \
|
|||
--path="./infrastructure/kustomizations/" \
|
||||
--prune=true \
|
||||
--interval=5m
|
||||
|
||||
# Required for oversized truecharts repo
|
||||
export GITEA_TOKEN=$(pass business/ftt/stackspout)
|
||||
flux bootstrap gitea \
|
||||
--token-auth \
|
||||
--branch=main \
|
||||
--hostname=forge.ftt.gmbh \
|
||||
--owner=polygon \
|
||||
--repository=stackspout \
|
||||
--path=util/flux
|
||||
|
|
Loading…
Add table
Reference in a new issue