changes to script

This commit is contained in:
bom 2021-12-01 12:02:22 +01:00
parent a7e1b2f882
commit efd71a689a

View file

@ -24,8 +24,9 @@ function main()
export ENDPOINT=$(kubectl get ingress ingress-localstack -o=jsonpath="{.status.loadBalancer.ingress[0].ip}") export ENDPOINT=$(kubectl get ingress ingress-localstack -o=jsonpath="{.status.loadBalancer.ingress[0].ip}")
sudo bash -c "echo \"$ENDPOINT k3stesthost cloudhost\" >> /etc/hosts" # Remove this, works for testing, but fills your /etc/hosts sudo bash -c "echo \"$ENDPOINT k3stesthost cloudhost\" >> /etc/hosts" # Remove this, works for testing, but fills your /etc/hosts
cd ../../../../
lein uberjar lein uberjar
java -jar ../../../../target/uberjar/c4k-nextcloud-standalone.jar ../../../../config-local.edn ../../../../auth-local.edn | kubectl apply -f - java -jar target/uberjar/c4k-nextcloud-standalone.jar config-local.edn auth-local.edn | kubectl apply -f -
kubectl scale deployment backup-restore --replicas 1 kubectl scale deployment backup-restore --replicas 1
echo echo