feat: add possibility to set ingress class name in Helm chart (#17252)

* add possibility to set ingress class name

* remove ingress class annotation comment

Co-authored-by: Piotr Kostrzeński <piotr.kostrzenski@samba.tv>
This commit is contained in:
Jolcik 2021-10-28 16:11:10 +02:00 committed by GitHub
parent be6cca561d
commit 37909aace0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 2 deletions

View File

@ -22,7 +22,7 @@ maintainers:
- name: craig-rueda
email: craig@craigrueda.com
url: https://github.com/craig-rueda
version: 0.3.11
version: 0.3.12
dependencies:
- name: postgresql
version: 10.2.0

View File

@ -30,6 +30,9 @@ metadata:
{{ toYaml . | indent 4 }}
{{- end }}
spec:
{{- if .Values.ingress.ingressClassName }}
ingressClassName: {{ .Values.ingress.ingressClassName }}
{{- end }}
{{- if .Values.ingress.tls }}
tls:
{{- range .Values.ingress.tls }}

View File

@ -165,8 +165,8 @@ service:
ingress:
enabled: false
# ingressClassName: nginx
annotations: {}
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
## Extend timeout to allow long running queries.
# nginx.ingress.kubernetes.io/proxy-connect-timeout: "300"