Application-gateway-kubernetes-ingress: Unable to install application-gateway-kubernetes-ingress/ingress-azure Using HELM

Created on 23 Jun 2020  路  4Comments  路  Source: Azure/application-gateway-kubernetes-ingress

Hey guys I麓m having this error while creating ingress controller with helm:

helm install -f  helm-dev.yml application-gateway-kubernetes-ingress/ingress-azure --generate-name
Error: apiVersion "apps/v1beta2" in ingress-azure/templates/deployment.yaml is not available

This is first time I麓m having this issue with Helm 3 Version. Already installed it with no issues some weeks ago.

k8s Version is: 1.16.8

Helm yml was downloaded from here. In step 2 of : Install Ingress Controller as a Helm Chart

Is there a new issue? Was reading this document and it麓s suggesting to change yml file, but no api version is specified in this Helm YML file I just downloaded.-

thanks!

Most helpful comment

You are definitely using wrong/old helm chart. Check the history of the deployment.yaml and you can find out there was a commit that fixed api version. You could easily use the latest helm chart from the repo or just use _--version 1.2.0-rc3_ that you forgot to add (required by k8s >= 1.16 // Without specifying the version, helm fetch/helm install operate with 1.0.0 version 'cause it's the latest stable release, and older template files and etc.) :

helm install ingress-azure \
-f helm-config.yaml \
application-gateway-kubernetes-ingress/ingress-azure \
--version 1.2.0-rc3

All 4 comments

You are definitely using wrong/old helm chart. Check the history of the deployment.yaml and you can find out there was a commit that fixed api version. You could easily use the latest helm chart from the repo or just use _--version 1.2.0-rc3_ that you forgot to add (required by k8s >= 1.16 // Without specifying the version, helm fetch/helm install operate with 1.0.0 version 'cause it's the latest stable release, and older template files and etc.) :

helm install ingress-azure \
-f helm-config.yaml \
application-gateway-kubernetes-ingress/ingress-azure \
--version 1.2.0-rc3

Correct. This issue is resolved in the latest RC - 1.2.0-rc3.

thanks guys that was the issue. I though that by default you got the latest version. I tried first with : helm search -l application-gateway-kubernetes-ingress to check available versions but in HELM 3 this is not working anymore .

Helm 3 requires --devel flag for listing RC/beta releases.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

MarkDNL picture MarkDNL  路  5Comments

rhollins picture rhollins  路  3Comments

galvesribeiro picture galvesribeiro  路  6Comments

andrewCluey picture andrewCluey  路  6Comments

marc-mueller picture marc-mueller  路  4Comments