mirror of
https://github.com/wahyd4/charts.git
synced 2026-08-17 09:06:36 +10:00
feat: aspnet-core health ingressClassName option (#8814)
Signed-off-by: christianacca <christian.crowhurst@gmail.com>
This commit is contained in:
@@ -22,4 +22,4 @@ name: aspnet-core
|
||||
sources:
|
||||
- https://github.com/bitnami/bitnami-docker-aspnet-core
|
||||
- https://dotnet.microsoft.com/apps/aspnet
|
||||
version: 3.0.4
|
||||
version: 3.1.0
|
||||
|
||||
@@ -211,6 +211,7 @@ The command removes all the Kubernetes components associated with the chart and
|
||||
| `healthIngress.hostname` | When the health ingress is enabled, a host pointing to this will be created | `aspnet-core.local` |
|
||||
| `healthIngress.annotations` | Additional annotations for the Ingress resource. To enable certificate autogeneration, place here your cert-manager annotations. | `{}` |
|
||||
| `healthIngress.tls` | Enable TLS configuration for the host defined at `ingress.hostname` parameter | `false` |
|
||||
| `healthIngress.ingressClassName` | IngressClass that will be be used to implement the Ingress (Kubernetes 1.18+) | `""` |
|
||||
| `healthIngress.extraHosts` | n array with additional hostname(s) to be covered with the ingress record | `[]` |
|
||||
| `healthIngress.extraTls` | TLS configuration for additional hostname(s) to be covered with this ingress record | `[]` |
|
||||
| `healthIngress.secrets` | Custom TLS certificates as secrets | `[]` |
|
||||
|
||||
@@ -18,6 +18,9 @@ metadata:
|
||||
{{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
{{- if and .Values.healthIngress.ingressClassName (include "common.ingress.supportsIngressClassname" .) }}
|
||||
ingressClassName: {{ .Values.healthIngress.ingressClassName | quote }}
|
||||
{{- end }}
|
||||
rules:
|
||||
{{- if .Values.healthIngress.hostname }}
|
||||
- host: {{ .Values.healthIngress.hostname }}
|
||||
|
||||
@@ -615,7 +615,11 @@ healthIngress:
|
||||
## DEPRECATED: Use healthIngress.annotations instead of healthIngress.certManager
|
||||
## certManager: false
|
||||
##
|
||||
|
||||
## @param healthIngress.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 healthIngress.extraHosts n array with additional hostname(s) to be covered with the ingress record
|
||||
## Most likely the hostname above will be enough, but in the event more hosts are needed, this is an array
|
||||
## extraHosts:
|
||||
|
||||
Reference in New Issue
Block a user