Install specific version of ingress-nginx using helm

Viewed 71

I just want to install a specific version ingress-nginx 0.22.0 using helm. But it says the cart is not found in the repository mentioned in the documentaiton https://kubernetes.github.io/ingress-nginx/deploy/#quick-start

Below is the command I tried and the response for it.

helm upgrade --install ingress-nginx ingress-nginx   --repo https://kubernetes.github.io/ingress-nginx   --namespace ingress-nginx --create-namespace --version 0.22.0
Release "ingress-nginx" does not exist. Installing it now.
Error: chart "ingress-nginx" version "0.22.0" not found in https://kubernetes.github.io/ingress-nginx repository

Anyone familiar with a repo that I can provide here?

1 Answers

To install a specific version follow the below steps:

  1. Clone the repo of ingress Nginx.
  2. cd to that repo. Check out the specific tag.
  3. Run helm install ingress-nginx charts/ingress-nginx.

It seems the version of the ingress-nginx helm chart you are trying to install, they didn't implement a chart for that version. So you have to implement a helm chart on your own in your local machine. Then you can install the chart with the command mentioned above! For reference, you can take help from the latest branch's helm chart.

  • Here is the official documentation of the helm chart!

  • Nginx-ingress latest branch's helm chart

Related