From 3b0ecff008926338636e08717e1f05d7030a40d1 Mon Sep 17 00:00:00 2001
From: Varac <varac@varac.net>
Date: Sun, 5 Sep 2021 22:56:59 +0200
Subject: [PATCH] Update flux to 0.17.0

---
 Dockerfile                     | 2 +-
 ansible/group_vars/all/oas.yml | 2 +-
 install/flux-version-check.sh  | 4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/Dockerfile b/Dockerfile
index acf87328a..008df6608 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -8,7 +8,7 @@ ENV TAIKO_SKIP_CHROMIUM_DOWNLOAD=true
 ENV TAIKO_BROWSER_PATH=/usr/bin/chromium-browser
 ENV TAIKO_BROWSER_ARGS=--no-sandbox,--start-maximized,--disable-dev-shm-usage,--ignore-certificate-errors
 
-ADD https://github.com/fluxcd/flux2/releases/download/v0.16.1/flux_0.16.1_linux_amd64.tar.gz /tmp/
+ADD https://github.com/fluxcd/flux2/releases/download/v0.17.0/flux_0.17.0_linux_amd64.tar.gz /tmp/
 # Download kubectl until it's packaged in alpine > 3.14
 ADD https://dl.k8s.io/release/v1.21.0/bin/linux/amd64/kubectl /usr/local/bin/
 COPY ./test/pytest/le-staging-bundle.pem /usr/local/share/ca-certificates/le-staging-bundle.pem
diff --git a/ansible/group_vars/all/oas.yml b/ansible/group_vars/all/oas.yml
index 0d3e123a1..cfda507df 100644
--- a/ansible/group_vars/all/oas.yml
+++ b/ansible/group_vars/all/oas.yml
@@ -9,7 +9,7 @@ ansible_python_interpreter: "/usr/bin/env python3"
 # Application versions
 flux:
   # https://github.com/fluxcd/flux2/releases
-  version: 0.16.1
+  version: 0.17.0
 
 k3s:
   # https://github.com/k3s-io/k3s/releases
diff --git a/install/flux-version-check.sh b/install/flux-version-check.sh
index 91c66dbd4..883006444 100644
--- a/install/flux-version-check.sh
+++ b/install/flux-version-check.sh
@@ -1,4 +1,4 @@
-if [ "$(flux --version)" != "flux version 0.16.1" ]; then
-    echo "The OpenAppStack installation only works with Flux version 0.16.1"
+if [ "$(flux --version)" != "flux version 0.17.0" ]; then
+    echo "The OpenAppStack installation only works with Flux version 0.17.0"
     exit 1;
 fi
-- 
GitLab