Skip to content
This repository has been archived by the owner on Jun 24, 2022. It is now read-only.

Commit

Permalink
Merge pull request #340 from victtsl/victtsl-patch-1
Browse files Browse the repository at this point in the history
Fix ingress "wrong type for value" error
  • Loading branch information
rjkernick authored Jun 1, 2022
2 parents 9270fa0 + 60d27ac commit 26c057e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/sonarqube/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
name: sonarqube
description: SonarQube is an open sourced code quality scanning tool
version: 9.10.2
version: 9.10.3
appVersion: 8.9.7-community
keywords:
- coverage
Expand Down
2 changes: 1 addition & 1 deletion charts/sonarqube/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ spec:
{{- end }}
{{- if .Values.ingress.annotations }}
{{- range $key, $value := .Values.ingress.annotations }}
{{- if and (eq $key "kubernetes.io/ingress.class") (contains $value "gce") }}
{{- if and (eq $key "kubernetes.io/ingress.class") (contains (toString $value) "gce") }}
backend:
serviceName: {{ default $serviceName .serviceName }}
servicePort: {{ default $servicePort .servicePort }}
Expand Down

0 comments on commit 26c057e

Please sign in to comment.