Closed tomberget closed 3 years ago
For both sonarqube charts, there is an error checking for APIversion capabilities:
{{- if .Capabilities.APIVersions.Has "networking.k8s.io/v1/Ingress" -}} apiVersion: networking.k8s.io/v1 {{- else if .Capabilities.APIVersions.Has "networking.k8s.io/v1beta1/Ingress" -}} apiVersion: networking.k8s.io/v1beta1 {{- else -}} apiVersion: extensions/v1beta1 {{- end }}
/Ingress needs to be dropped, as that is part of Kind:.
/Ingress
Kind:
So it would be something like this:
{{- if .Capabilities.APIVersions.Has "networking.k8s.io/v1" -}} apiVersion: networking.k8s.io/v1 {{- else if .Capabilities.APIVersions.Has "networking.k8s.io/v1beta1" -}} apiVersion: networking.k8s.io/v1beta1 {{- else -}} apiVersion: extensions/v1beta1 {{- end }}
As it is now, both charts fail on deployment.
Thanks, missed that in the review and didn't get a chance to test it out. Fixing it now
@rjkernick Will this fix be deployed soon?
For both sonarqube charts, there is an error checking for APIversion capabilities:
/Ingress
needs to be dropped, as that is part ofKind:
.So it would be something like this:
As it is now, both charts fail on deployment.