Unverified Commit 3d2afb40 authored by Brandon Clifford's avatar Brandon Clifford Committed by GitHub

Allow TLS secretName to be option for ingress to support default certificates (#339)

parent 28f366bb
......@@ -5,7 +5,7 @@ name: influxdb2
description: A Helm chart for InfluxDB v2
home: https://www.influxdata.com/products/influxdb/
type: application
version: 2.0.6
version: 2.0.7
maintainers:
- name: rawkode
email: rawkode@influxdata.com
......
......@@ -16,7 +16,9 @@ spec:
tls:
- hosts:
- {{ .Values.ingress.hostname | quote }}
{{- if .Values.ingress.secretName }}
secretName: {{ .Values.ingress.secretName }}
{{- end -}}
{{- end }}
{{- if .Values.ingress.className }}
ingressClassName: {{ .Values.ingress.className }}
......
......@@ -121,7 +121,7 @@ ingress:
# See https://kubernetes.io/blog/2020/04/02/improvements-to-the-ingress-api-in-kubernetes-1.18/#specifying-the-class-of-an-ingress
# ingressClassName: nginx
tls: false
# secretName: my-tls-cert # only needed if tls above is true
# secretName: my-tls-cert # only needed if tls above is true or default certificate is not configured for Nginx
hostname: influxdb.foobar.com
annotations: {}
# kubernetes.io/ingress.class: "nginx"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment