mirror of
https://github.com/wahyd4/charts.git
synced 2026-08-18 01:25:58 +10:00
[bitnami/grafana-operator] Adding support for IngressClassName (#7851)
This commit is contained in:
@@ -25,4 +25,4 @@ name: grafana-operator
|
||||
sources:
|
||||
- https://github.com/integr8ly/grafana-operator
|
||||
- https://github.com/bitnami/bitnami-docker-grafana-operator
|
||||
version: 1.2.0
|
||||
version: 1.3.0
|
||||
|
||||
@@ -173,6 +173,7 @@ For more information, refer to the [documentation on the differences between the
|
||||
| `grafana.client.preferService` | If the API should be used via Ingress or via the internal service | `true` |
|
||||
| `grafana.labels` | Add additional labels to the grafana deployment, service and ingress resources | `{}` |
|
||||
| `grafana.ingress.enabled` | If an ingress or OpenShift Route should be created | `false` |
|
||||
| `grafana.ingress.ingressClassName` | IngressClass that will be be used to implement the Ingress (Kubernetes 1.18+) | `""` |
|
||||
| `grafana.ingress.hostname` | The hostname under which the grafana instance should be reachable | `grafana.local` |
|
||||
| `grafana.ingress.path` | The path for the ingress instance to forward to the grafana app | `/` |
|
||||
| `grafana.ingress.labels` | Additional Labels for the ingress resource | `{}` |
|
||||
|
||||
@@ -117,6 +117,9 @@ spec:
|
||||
{{- end }}
|
||||
ingress:
|
||||
enabled: {{ .Values.grafana.ingress.enabled }}
|
||||
{{- if and .Values.grafana.ingress.ingressClassName (include "common.ingress.supportsIngressClassname" .) }}
|
||||
ingressClassName: {{ .Values.grafana.ingress.ingressClassName | quote }}
|
||||
{{- end }}
|
||||
hostname: {{ include "common.tplvalues.render" (dict "value" .Values.grafana.ingress.hostname "context" $) }}
|
||||
tlsEnabled: {{ .Values.grafana.ingress.tls }}
|
||||
tlsSecretName: {{ .Values.grafana.ingress.tlsSecret }}
|
||||
|
||||
@@ -405,6 +405,11 @@ grafana:
|
||||
## @param grafana.ingress.enabled If an ingress or OpenShift Route should be created
|
||||
##
|
||||
enabled: false
|
||||
## @param grafana.ingress.ingressClassName IngressClass that will be be used to implement the Ingress (Kubernetes 1.18+)
|
||||
## This is supported in Kubernetes 1.18+ and required if you have more than one IngressClass marked as the default for your cluster.
|
||||
## ref: https://kubernetes.io/blog/2020/04/02/improvements-to-the-ingress-api-in-kubernetes-1.18/
|
||||
##
|
||||
ingressClassName: ""
|
||||
## @param grafana.ingress.hostname The hostname under which the grafana instance should be reachable
|
||||
##
|
||||
hostname: grafana.local
|
||||
|
||||
Reference in New Issue
Block a user