'Error during helm upgrade - rejecting admission review because the request does not contains an Ingress resource but networking.k8s.io/v1
During helm upgrade, I am getting the below error,
'''Error: UPGRADE FAILED: failed to create resource: admission webhook "validate.nginx.ingress.kubernetes.io" denied the request: rejecting admission review because the request does not contains an Ingress resource but networking.k8s.io/v1, Resource=ingresses with name prometheus-grafana in namespace monitoring'''
This happened after the EKS has been upgraded from 1.18 to 1.19 version
Command used for helm upgrade,
'''helm upgrade --install -f /home/jenkins/agent/workspace/monitoring_build-snapshot_master/values.yaml -f /home/jenkins/agent/workspace/monitoring_build-snapshot_master/nonprod.yaml --namespace monitoring --registry-config /home/jenkins/agent/.config/helm/registry.json --repository-cache /home/jenkins/agent/.cache/helm/repository --repository-config home/jenkins/agent/.config/helm/repositories.yaml --version 16.5.0 prometheus prometheus-community/kube-prometheus-stack'''
Please help/guide in fixing this error
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
