Skip to content
Snippets Groups Projects
Unverified Commit 2632f98b authored by Varac's avatar Varac
Browse files

Track current branch for flux2 manifests

parent c55cb1a3
No related branches found
No related tags found
No related merge requests found
......@@ -7,9 +7,13 @@ flux install \
--watch-all-namespaces=true \
--namespace=flux-system
# get current git branch name
branch=$(git branch --show-current) 2>/dev/null || branch=master
echo "Tracking branch $branch for https://open.greenhost.net/openappstack/openappstack flux repo"
flux create source git openappstack \
--url=https://open.greenhost.net/openappstack/openappstack \
--branch=master \
--branch=$branch \
--interval=1m
flux create kustomization openappstack \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment