Fix ingress-nginx Makefile

This commit is contained in:
Marian Koreniuk
2024-04-17 23:25:06 +03:00
committed by GitHub
parent f3f65e9f9c
commit d3485eb0a3

View File

@@ -5,10 +5,10 @@ include ../../hack/package-system.mk
update:
rm -rf charts
helm repo add $(NAME) https://kubernetes.github.io/$(NAME)
helm repo update $(NAME)
helm pull $(NAME)/$(NAME) --untar --untardir charts
helm repo add ingress-nginx https://kubernetes.github.io/ingress-nginx
helm repo update ingress-nginx
helm pull ingress-nginx/ingress-nginx --untar --untardir charts
patch -p 3 < patches/add-metrics2.patch
rm -f charts/$(NAME)/templates/controller-deployment.yaml.orig
rm -rf charts/$(NAME)/changelog/
#sed -i '/ type:/a \ allocateLoadBalancerNodePorts: false' charts/$(NAME)/templates/controller-service.yaml
rm -f charts/ingress-nginx/templates/controller-deployment.yaml.orig
rm -rf charts/ingress-nginx/changelog/
#sed -i '/ type:/a \ allocateLoadBalancerNodePorts: false' charts/ingress-nginx/templates/controller-service.yaml