mirror of
https://github.com/bitnami/charts.git
synced 2026-04-02 07:17:26 +08:00
Add support for ingressClassName (#8644)
This commit is contained in:
@@ -25,4 +25,4 @@ name: moodle
|
||||
sources:
|
||||
- https://github.com/bitnami/bitnami-docker-moodle
|
||||
- https://www.moodle.org/
|
||||
version: 11.3.1
|
||||
version: 11.4.0
|
||||
|
||||
@@ -161,6 +161,7 @@ The command removes all the Kubernetes components associated with the chart and
|
||||
| `service.nodePorts.https` | Kubernetes HTTPS node port | `""` |
|
||||
| `service.externalTrafficPolicy` | Enable client source IP preservation | `Cluster` |
|
||||
| `ingress.enabled` | Set to true to enable ingress record generation | `false` |
|
||||
| `ingress.ingressClassName` | Name of the ingress class (Kubernetes 1.18+) | `""` |
|
||||
| `ingress.pathType` | Ingress Path type | `ImplementationSpecific` |
|
||||
| `ingress.apiVersion` | Override API Version (automatically detected if not set) | `""` |
|
||||
| `ingress.hostname` | When the ingress is enabled, a host pointing to this will be created | `minio.local` |
|
||||
|
||||
@@ -18,6 +18,9 @@ metadata:
|
||||
{{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
{{- if .Values.ingress.ingressClassName }}
|
||||
ingressClassName: {{ .Values.ingress.ingressClassName }}
|
||||
{{- end }}
|
||||
rules:
|
||||
{{- if .Values.ingress.hostname }}
|
||||
- host: {{ .Values.ingress.hostname }}
|
||||
|
||||
@@ -386,7 +386,11 @@ ingress:
|
||||
## DEPRECATED: Use ingress.annotations instead of ingress.certManager
|
||||
## certManager: false
|
||||
##
|
||||
|
||||
## @param 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 ingress.pathType Ingress Path type
|
||||
##
|
||||
pathType: ImplementationSpecific
|
||||
|
||||
Reference in New Issue
Block a user