Kibana: use endpoints section and lookups to set port
This PS moves kibana to use the endpoints section and lookups to set the port it serves on. Change-Id: I710428f92e80faf6ac5bb444f938447248e99217
This commit is contained in:
parent
d681396412
commit
4f67560c5d
@ -58,7 +58,7 @@ spec:
|
||||
- start
|
||||
ports:
|
||||
- name: http
|
||||
containerPort: 80
|
||||
containerPort: {{ tuple "kibana" "internal" "http" . | include "helm-toolkit.endpoints.endpoint_port_lookup" }}
|
||||
env:
|
||||
- name: KIBANA_PORT
|
||||
value: {{ tuple "kibana" "internal" "kibana" . | include "helm-toolkit.endpoints.endpoint_port_lookup" | quote }}
|
||||
@ -97,7 +97,7 @@ spec:
|
||||
- start
|
||||
ports:
|
||||
- name: kibana
|
||||
containerPort: {{ .Values.network.kibana.port }}
|
||||
containerPort: {{ tuple "kibana" "internal" "kibana" . | include "helm-toolkit.endpoints.endpoint_port_lookup" }}
|
||||
env:
|
||||
- name: ELASTICSEARCH_URL
|
||||
value: {{ tuple "elasticsearch" "default" "client" . | include "helm-toolkit.endpoints.keystone_endpoint_uri_lookup" }}
|
||||
|
@ -23,7 +23,7 @@ metadata:
|
||||
spec:
|
||||
ports:
|
||||
- name: http
|
||||
port: 80
|
||||
port: {{ tuple "kibana" "internal" "http" . | include "helm-toolkit.endpoints.endpoint_port_lookup" }}
|
||||
{{ if .Values.network.kibana.node_port.enabled }}
|
||||
nodePort: {{ .Values.network.kibana.node_port.port }}
|
||||
{{ end }}
|
||||
|
@ -169,6 +169,8 @@ endpoints:
|
||||
port:
|
||||
kibana:
|
||||
default: 5601
|
||||
http:
|
||||
default: 80
|
||||
|
||||
network:
|
||||
kibana:
|
||||
|
Loading…
Reference in New Issue
Block a user