Unverified Commit f6e07430 authored by tomklapka's avatar tomklapka Committed by GitHub

fix ingress host default value and template (#572)

parent d252c388
apiVersion: v1 apiVersion: v1
name: influxdb name: influxdb
version: 4.12.3 version: 4.12.4
appVersion: 1.8.10 appVersion: 1.8.10
description: Scalable datastore for metrics, events, and real-time analytics. description: Scalable datastore for metrics, events, and real-time analytics.
keywords: keywords:
......
...@@ -22,8 +22,12 @@ spec: ...@@ -22,8 +22,12 @@ spec:
ingressClassName: {{ .Values.ingress.className }} ingressClassName: {{ .Values.ingress.className }}
{{- end }} {{- end }}
rules: rules:
{{- if .Values.ingress.hostname }}
- host: {{ .Values.ingress.hostname | quote }} - host: {{ .Values.ingress.hostname | quote }}
http: http:
{{- else }}
- http:
{{- end }}
paths: paths:
- path: {{ .Values.ingress.path }} - path: {{ .Values.ingress.path }}
pathType: Prefix pathType: Prefix
......
...@@ -140,7 +140,7 @@ ingress: ...@@ -140,7 +140,7 @@ ingress:
enabled: false enabled: false
tls: false tls: false
# secretName: my-tls-cert # only needed if tls above is true # secretName: my-tls-cert # only needed if tls above is true
hostname: "*" hostname:
className: nginx className: nginx
annotations: {} annotations: {}
# nginx.ingress.kubernetes.io/rewrite-target: $1 # nginx.ingress.kubernetes.io/rewrite-target: $1
......
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