mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
feature(kibana): allow path element in ingress values (#9028)
* feature(kibana): allow path element in ingress values Signed-off-by: Adam Heinz <adam.heinz@fireeye.com> * Add tests for ingress hosts with and without paths. Signed-off-by: Adam Heinz <adam.heinz@fireeye.com>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
name: kibana
|
||||
version: 0.19.0
|
||||
version: 0.20.0
|
||||
appVersion: 6.5.0
|
||||
description: Kibana is an open source data visualization plugin for Elasticsearch
|
||||
icon: https://raw.githubusercontent.com/elastic/kibana/master/src/ui/public/icons/kibana-color.svg
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
ingress:
|
||||
hosts:
|
||||
- localhost.localdomain/kibana
|
||||
@@ -0,0 +1,3 @@
|
||||
ingress:
|
||||
hosts:
|
||||
- kibana.localhost.localdomain
|
||||
@@ -16,11 +16,12 @@ metadata:
|
||||
{{- end }}
|
||||
spec:
|
||||
rules:
|
||||
{{- range $host := .Values.ingress.hosts }}
|
||||
- host: {{ $host }}
|
||||
{{- range .Values.ingress.hosts }}
|
||||
{{- $url := splitList "/" . }}
|
||||
- host: {{ first $url }}
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
- path: /{{ rest $url | join "/" }}
|
||||
backend:
|
||||
serviceName: {{ $serviceName }}
|
||||
servicePort: {{ $servicePort }}
|
||||
|
||||
@@ -56,7 +56,8 @@ service:
|
||||
ingress:
|
||||
enabled: false
|
||||
# hosts:
|
||||
# - chart-example.local
|
||||
# - kibana.localhost.localdomain
|
||||
# - localhost.localdomain/kibana
|
||||
# annotations:
|
||||
# kubernetes.io/ingress.class: nginx
|
||||
# kubernetes.io/tls-acme: "true"
|
||||
|
||||
Reference in New Issue
Block a user