enable custom ingress labels (#16918)

Signed-off-by: Christoph Raaflaub <raaflaub@puzzle.ch>
This commit is contained in:
Christoph Raaflaub
2023-06-13 12:09:28 +02:00
committed by GitHub
parent 23373235c5
commit 0dd66f2516
4 changed files with 11 additions and 1 deletions

View File

@@ -27,4 +27,4 @@ maintainers:
name: sonarqube
sources:
- https://github.com/bitnami/charts/tree/main/bitnami/sonarqube
version: 3.2.2
version: 3.2.3

View File

@@ -208,6 +208,7 @@ The command removes all the Kubernetes components associated with the chart and
| `ingress.hostname` | Default host for the ingress record | `sonarqube.local` |
| `ingress.path` | Default path for the ingress record | `/` |
| `ingress.annotations` | Additional annotations for the Ingress resource. To enable certificate autogeneration, place here your cert-manager annotations. | `{}` |
| `ingress.labels` | Additional labels for the Ingress resource. | `{}` |
| `ingress.tls` | Enable TLS configuration for the host defined at `ingress.hostname` parameter | `false` |
| `ingress.selfSigned` | Create a TLS secret for this ingress record using self-signed certificates generated by Helm | `false` |
| `ingress.extraHosts` | An array with additional hostname(s) to be covered with the ingress record | `[]` |

View File

@@ -8,6 +8,9 @@ metadata:
{{- if .Values.commonLabels }}
{{- include "common.tplvalues.render" ( dict "value" .Values.commonLabels "context" $ ) | nindent 4 }}
{{- end }}
{{- if .Values.ingress.labels }}
{{- include "common.tplvalues.render" ( dict "value" .Values.ingress.labels "context" $ ) | nindent 4 }}
{{- end }}
{{- if or .Values.ingress.annotations .Values.commonAnnotations }}
annotations:
{{- if .Values.ingress.annotations }}

View File

@@ -516,6 +516,12 @@ ingress:
## cert-manager.io/cluster-issuer: cluster-issuer-name
##
annotations: {}
## @param ingress.labels Additional labels for the Ingress resource.
## e.g:
## labels:
## app: sonarqube
##
labels: {}
## @param ingress.tls Enable TLS configuration for the host defined at `ingress.hostname` parameter
## TLS certificates will be retrieved from a TLS secret with name: `{{- printf "%s-tls" .Values.ingress.hostname }}`
## You can: