update_deployment.sh 352 Bytes
Newer Older
Dominik Hebeler's avatar
Dominik Hebeler committed
1
2
3
#!/bin/bash

helm -n $KUBE_NAMESPACE upgrade --install \
Dominik Hebeler's avatar
Dominik Hebeler committed
4
    $HELM_RELEASE_NAME \
Dominik Hebeler's avatar
Dominik Hebeler committed
5
6
    chart/ \
    -f $DEPLOYMENT_HELM_VALUES \
Dominik Hebeler's avatar
Dominik Hebeler committed
7
    --set environment=$APP_ENV \
Dominik Hebeler's avatar
Dominik Hebeler committed
8
    --set ingress.hosts[0].host="$DEPLOYMENT_URL" \
9
    --set image.fpm.tag=$DOCKER_FPM_IMAGE_TAG \
Dominik Hebeler's avatar
Dominik Hebeler committed
10
    --set image.nginx.tag=$DOCKER_NGINX_IMAGE_TAG \
Dominik Hebeler's avatar
Dominik Hebeler committed
11
    --set app_url=$APP_URL \
Dominik Hebeler's avatar
Dominik Hebeler committed
12
    --wait