Don't install vault-secrets-operator with terraform

This commit is contained in:
2023-11-06 08:02:30 +01:00
parent 13d8ca1e7f
commit 990f479bd2
@@ -10,9 +10,7 @@ chmod 600 /home/${admin_user}/.kube/config
chown -R ${admin_user}:${admin_user} /home/${admin_user}/.kube
/snap/bin/microk8s.helm3 repo add 2martens https://repo.2martens.de/charts/
/snap/bin/microk8s.helm3 repo add argo https://argoproj.github.io/argo-helm
/snap/bin/microk8s.helm3 repo add hashicorp https://helm.releases.hashicorp.com
/snap/bin/microk8s.helm3 install setup 2martens/cluster_setup --values /run/tmpfiles.d/cluster-setup-values.yaml
/snap/bin/microk8s.helm3 install vault-secrets-operator hashicorp/vault-secrets-operator -n vault-secrets-operator-system
%{ if high_availability ~}
/snap/bin/microk8s.helm3 install argo-cd argo/argo-cd --create-namespace -n argocd --values /run/tmpfiles.d/argocd-values-ha.yaml
%{ else ~}