Skip to content
This repository is currently being migrated. It's locked while the migration is in progress.

Commit

Permalink
updated ingress-nginx (digitalocean#205)
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Anunda authored Mar 15, 2021
1 parent f6f24dd commit 459afd5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 31 deletions.
31 changes: 1 addition & 30 deletions stacks/ingress-nginx/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,33 +2,4 @@

set -e

################################################################################
# repo
################################################################################
helm repo add ingress-nginx https://kubernetes.github.io/ingress-nginx
helm repo update > /dev/null

################################################################################
# chart
################################################################################
STACK="ingress-nginx"
CHART="ingress-nginx/ingress-nginx"
CHART_VERSION="3.20.1"
NAMESPACE="ingress-nginx"

if [ -z "${MP_KUBERNETES}" ]; then
# use local version of values.yml
ROOT_DIR=$(git rev-parse --show-toplevel)
values="$ROOT_DIR/stacks/ingress-nginx/values.yml"
else
# use github hosted master version of values.yml
values="https://raw.githubusercontent.com/digitalocean/marketplace-kubernetes/master/stacks/ingress-nginx/values.yml"
fi

helm upgrade "$STACK" "$CHART" \
--atomic \
--create-namespace \
--install \
--namespace "$NAMESPACE" \
--values "$values" \
--version "$CHART_VERSION"
kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v0.44.0/deploy/static/provider/do/deploy.yaml
1 change: 0 additions & 1 deletion stacks/ingress-nginx/values.yml

This file was deleted.

0 comments on commit 459afd5

Please sign in to comment.