Skip to content
This repository was archived by the owner on Jun 24, 2022. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions charts/sonarqube/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ The following table lists the configurable parameters of the Sonarqube chart and
| `ingress.enabled` | Flag for enabling ingress | false |
| `ingress.labels` | Ingress additional labels | `{}` |
| `ingress.hosts[0].name` | Hostname to your SonarQube installation | `sonar.organization.com` |
| `ingress.hosts[0].alb_ssl_redirect` | Whether the ssl-redirect should be included (needed for setting up the SSL redirect with the ALB controller) | `false` |
| `ingress.hosts[0].path` | Path within the URL structure | / |
| `ingress.hosts[0].serviceName` | Optional field to override the default serviceName of a path | None |
| `ingress.hosts[0].servicePort` | Optional field to override the default servicePort of a path | None |
Expand Down
6 changes: 6 additions & 0 deletions charts/sonarqube/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,12 @@ spec:
- host: {{ .name }}
http:
paths:
{{- if .alb_ssl_redirect }}
- path: /*
backend:
serviceName: ssl-redirect
servicePort: use-annotation
{{- end }}
- path: {{ .path}}
backend:
serviceName: {{ default $serviceName .serviceName }}
Expand Down
1 change: 1 addition & 0 deletions charts/sonarqube/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ ingress:
# Used to create an Ingress record.
hosts:
- name: sonar.organization.com
# alb_ssl_redirect: true
# Different clouds or configurations might need /* as the default path
path: /
# For additional control over serviceName and servicePort
Expand Down