mirror of
https://github.com/bitnami/charts.git
synced 2026-02-20 12:07:40 +08:00
feat: tls hostname template support (#9359)
This commit is contained in:
@@ -24,4 +24,4 @@ name: influxdb
|
||||
sources:
|
||||
- https://github.com/bitnami/bitnami-docker-influxdb
|
||||
- https://www.influxdata.com/products/influxdb-overview/
|
||||
version: 4.0.0
|
||||
version: 4.0.1
|
||||
|
||||
@@ -287,7 +287,7 @@ The command removes all the Kubernetes components associated with the chart and
|
||||
| `ingress.tls` | Create TLS Secret | `false` |
|
||||
| `ingress.pathType` | Ingress path type | `ImplementationSpecific` |
|
||||
| `ingress.apiVersion` | Force Ingress API version (automatically detected if not set) | `""` |
|
||||
| `ingress.hostname` | Default host for the ingress resource | `influxdb.local` |
|
||||
| `ingress.hostname` | Default host for the ingress resource (evaluated as template) | `influxdb.local` |
|
||||
| `ingress.path` | Ingress path*' in order to use this | `/` |
|
||||
| `ingress.annotations` | Additional annotations for the Ingress resource. To enable certificate autogeneration, place here your cert-manager annotations. | `{}` |
|
||||
| `ingress.extraHosts` | The list of additional hostnames to be covered with this ingress record. | `[]` |
|
||||
|
||||
@@ -92,7 +92,7 @@ Note: Since NetworkPolicy is enabled, only pods with label "{{ include "common.n
|
||||
To connect to your database from outside the cluster execute the following commands:
|
||||
|
||||
{{- if .Values.ingress.enabled }}
|
||||
{{- $ingressHost := .Values.ingress.hostname }}
|
||||
{{- $ingressHost := (tpl .Values.ingress.hostname .) }}
|
||||
{{- if .Values.ingress.extraHosts }}
|
||||
You should be able to access your new InfluxDB™ server(s) through:
|
||||
{{- end }}
|
||||
|
||||
@@ -27,7 +27,7 @@ spec:
|
||||
{{- end }}
|
||||
rules:
|
||||
{{- if .Values.ingress.hostname }}
|
||||
- host: {{ .Values.ingress.hostname }}
|
||||
- host: {{ (tpl .Values.ingress.hostname .) }}
|
||||
http:
|
||||
paths:
|
||||
{{- if .Values.ingress.extraPaths }}
|
||||
@@ -48,7 +48,7 @@ spec:
|
||||
backend: {{- include "common.ingress.backend" (dict "serviceName" (include "common.names.fullname" .) "servicePort" "http" "context" $) | nindent 14 }}
|
||||
{{- end }}
|
||||
{{- range .Values.ingress.extraHosts }}
|
||||
- host: {{ .name | quote }}
|
||||
- host: {{ (tpl .name $) | quote }}
|
||||
http:
|
||||
paths:
|
||||
{{- if $.Values.ingress.extraPaths }}
|
||||
@@ -72,8 +72,8 @@ spec:
|
||||
tls:
|
||||
{{- if and .Values.ingress.tls (or .Values.ingress.certManager .Values.ingress.selfSigned) }}
|
||||
- hosts:
|
||||
- {{ .Values.ingress.hostname | quote }}
|
||||
secretName: {{ printf "%s-tls" .Values.ingress.hostname }}
|
||||
- {{ (tpl .Values.ingress.hostname .) | quote }}
|
||||
secretName: {{ printf "%s-tls" (tpl .Values.ingress.hostname .) }}
|
||||
{{- end }}
|
||||
{{- if .Values.ingress.extraTls }}
|
||||
{{- include "common.tplvalues.render" (dict "value" .Values.ingress.extraTls "context" $) | nindent 4 }}
|
||||
|
||||
@@ -865,7 +865,7 @@ ingress:
|
||||
##
|
||||
enabled: false
|
||||
## @param ingress.tls Create TLS Secret
|
||||
## TLS certificates will be retrieved from a TLS secret with name: {{- printf "%s-tls" .Values.ingress.hostname }}
|
||||
## TLS certificates will be retrieved from a TLS secret with name: {{- printf "%s-tls" (tpl .Values.ingress.hostname .) }}
|
||||
## You can use the ingress.secrets parameter to create this TLS secret or relay on cert-manager to create it
|
||||
##
|
||||
tls: false
|
||||
@@ -879,7 +879,7 @@ ingress:
|
||||
## @param ingress.apiVersion Force Ingress API version (automatically detected if not set)
|
||||
##
|
||||
apiVersion: ""
|
||||
## @param ingress.hostname Default host for the ingress resource
|
||||
## @param ingress.hostname Default host for the ingress resource (evaluated as template)
|
||||
##
|
||||
hostname: influxdb.local
|
||||
## @param ingress.path Ingress path*' in order to use this
|
||||
|
||||
Reference in New Issue
Block a user