Closed IgorGee closed 3 years ago
Error: UPGRADE FAILED: template: sonar/charts/sonarqube/templates/ingress.yaml:47:32: executing "sonar/charts/sonarqube/templates/ingress.yaml" at <.Capabilities.APIVersions.Has>: nil pointer evaluating interface {}.APIVersions
it must be {{- if $.Capabilities.APIVersions.Has "networking.k8s.io/v1" }} as @Mikaciu pointed out.
{{- if $.Capabilities.APIVersions.Has "networking.k8s.io/v1" }}
Originally posted by @EvgeniGordeev in https://github.com/Oteemo/charts/issues/306#issuecomment-922362141
Error: UPGRADE FAILED: template: sonar/charts/sonarqube/templates/ingress.yaml:47:32: executing "sonar/charts/sonarqube/templates/ingress.yaml" at <.Capabilities.APIVersions.Has>: nil pointer evaluating interface {}.APIVersions
it must be
{{- if $.Capabilities.APIVersions.Has "networking.k8s.io/v1" }}
as @Mikaciu pointed out.Originally posted by @EvgeniGordeev in https://github.com/Oteemo/charts/issues/306#issuecomment-922362141