Grafana cannot be enabled with ingress disabled
Summary
When Grafana subchart is enabled, there is no option to disable the ingress creation.
I am trying to deploy Gitlab to an EKS cluster using an AWS ALB load balancer.
The best option for me is disabling nginx ingress completely and create the ALB ingress external, because there are lot of problems I will found in other case.
If I try to enable grafana, helm will fail because it is trying to add its ingress and there is not a way to avoid it, since grafana ingress creation is controlled by global.grafana.enabled
.
Steps to reproduce
Install with grafana enabled and ingress disabled
Configuration used
global:
ingress:
configureCertmanager: false
enabled: false
grafana:
enabled: true
Current behavior
Grafana will add an ingress which will raise an error:
Error: admission webhook "vingress.elbv2.k8s.aws" denied the request: invalid ingress class: IngressClass.networking.k8s.io "gitlab-nginx" not found
Expected behavior
No ingress is created.
Versions
- Chart: 5.6.2
- Platform:
- Cloud: EKS
- Kubernetes:
- Client: v1.23.1
- Server: v1.21.2-eks-06eac09
- Helm:
- Client: v3.7.0