From 7186e122eda1b8b20d0b25615b846b458aeb1408 Mon Sep 17 00:00:00 2001 From: xeruf <27jf@pm.me> Date: Mon, 19 May 2025 21:38:12 +0200 Subject: [PATCH] install: prune installation steps --- install.sh | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/install.sh b/install.sh index c9b82ed..8c49c99 100755 --- a/install.sh +++ b/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