feat: aspnet-core health ingressClassName option (#8814)

Signed-off-by: christianacca <christian.crowhurst@gmail.com>
This commit is contained in:
Christian Crowhurst
2022-01-28 10:37:08 +01:00
committed by GitHub
parent 4d4841fa77
commit dba585ea70
4 changed files with 10 additions and 2 deletions
+1 -1
View File
@@ -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
+1
View File
@@ -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 }}
+5 -1
View File
@@ -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: