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

Remove flux install from ansible

Fixes: #927
parent 5013458c
No related branches found
No related tags found
No related merge requests found
......@@ -327,6 +327,7 @@ setup-openappstack:
- sed "s/1.2.3.4/$IP_ADDRESS/; s/example.org/$FQDN/; s/acme_staging=false/acme_staging=true/; s/acme-v02/acme-staging-v02/; /^\s*#.*$/d; /^\s*$/d" install/.flux.env.example >> ${CLUSTER_DIR}/.flux.env
# Deploy secret/oas-cluster-variables
- cp install/kustomization.yaml ${CLUSTER_DIR}
- kubectl create namespace flux-system
- kubectl apply -k ${CLUSTER_DIR}
- bash ./install/install-openappstack.sh
# TODO: Should also be removed or made up-to-date
......
......@@ -32,13 +32,3 @@
dest: /usr/local/bin/
remote_src: yes
when: flux_version.stdout != flux.version
- name: Install flux into cluster
tags:
- flux
shell: |
flux install \
--network-policy=false \
--watch-all-namespaces=true \
--namespace=flux-system \
--components="source-controller,kustomize-controller,helm-controller"
# See https://open.greenhost.net/openappstack/openappstack/-/issues/879 for
# context why OAS doesn't work with newer flux versions.
if [ "$(flux --version)" != "flux version 0.14.2" ]; then
echo "The OpenAppStack installation only works with Flux version 0.14.2"
exit 1;
......
......@@ -7,7 +7,8 @@ set -euo pipefail
flux install \
--network-policy=false \
--watch-all-namespaces=true \
--namespace=flux-system
--namespace=flux-system \
--components="source-controller,kustomize-controller,helm-controller"
# get current git branch name
branch=${CI_COMMIT_REF_NAME:-}
......
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