From e0994276334fab884d3f743239b1acd1a77f1ae3 Mon Sep 17 00:00:00 2001 From: xeruf <27jf@pm.me> Date: Sun, 21 Apr 2024 22:49:22 +0300 Subject: [PATCH] Temporarily disable truecharts Waiting for flux 2.2 in Stackspin for bootstrap override from gitea --- infrastructure/sources/truecharts.yaml | 8 -------- install.sh | 11 ++++++++--- 2 files changed, 8 insertions(+), 11 deletions(-) delete mode 100644 infrastructure/sources/truecharts.yaml diff --git a/infrastructure/sources/truecharts.yaml b/infrastructure/sources/truecharts.yaml deleted file mode 100644 index 04b23ac..0000000 --- a/infrastructure/sources/truecharts.yaml +++ /dev/null @@ -1,8 +0,0 @@ -apiVersion: source.toolkit.fluxcd.io/v1beta2 -kind: HelmRepository -metadata: - name: truecharts - namespace: flux-system -spec: - interval: 60m - url: https://charts.truecharts.org diff --git a/install.sh b/install.sh index 18f54bc..c9b82ed 100755 --- a/install.sh +++ b/install.sh @@ -4,7 +4,7 @@ kubectl get namespace stackspout 2>/dev/null || kubectl create namespace stacksp echo "Creating / Updating gitRepository stackspout" flux create source git stackspout \ - --url=https://open.greenhost.net/xeruf/stackspout.git \ + --url=https://forge.ftt.gmbh/polygon/stackspout.git \ --branch=main \ --interval=5m @@ -15,7 +15,12 @@ flux create kustomization stackspout \ --prune=true \ --interval=5m -flux bootstrap git \ - --url=https://open.greenhost.net/xeruf/stackspout.git \ +# 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