feat: Pin flux version in bootstrap script
This commit is contained in:
@@ -4,6 +4,7 @@ root=$(git rev-parse --show-toplevel)
|
|||||||
|
|
||||||
tools=(talosctl cilium-cli yq helm)
|
tools=(talosctl cilium-cli yq helm)
|
||||||
cilium_version=1.18.4
|
cilium_version=1.18.4
|
||||||
|
flux_version=2.7.5
|
||||||
|
|
||||||
for tool in "${tools[@]}"; do
|
for tool in "${tools[@]}"; do
|
||||||
command -v ${tool} > /dev/null || (echo "Missing: ${tool}" && exit -1)
|
command -v ${tool} > /dev/null || (echo "Missing: ${tool}" && exit -1)
|
||||||
@@ -129,4 +130,5 @@ flux bootstrap git \
|
|||||||
--branch=main \
|
--branch=main \
|
||||||
--private-key-file=clusters/${cluster_name}/deploy.key -s \
|
--private-key-file=clusters/${cluster_name}/deploy.key -s \
|
||||||
--path=clusters/${cluster_name} \
|
--path=clusters/${cluster_name} \
|
||||||
--components-extra=source-watcher
|
--components-extra=source-watcher \
|
||||||
|
--version v${flux_version}
|
||||||
|
|||||||
Reference in New Issue
Block a user