去掉后缀
This commit is contained in:
20
kibana/templates/configmap.yaml
Normal file
20
kibana/templates/configmap.yaml
Normal file
@ -0,0 +1,20 @@
|
||||
{{- if and (not .Values.configurationCM) (and .Values.elasticsearch.hosts .Values.elasticsearch.port) }}
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: {{ include "common.names.fullname" . }}-conf
|
||||
labels: {{- include "common.labels.standard" . | nindent 4 }}
|
||||
data:
|
||||
kibana.yml: |
|
||||
pid.file: /opt/bitnami/kibana/tmp/kibana.pid
|
||||
server.host: "::"
|
||||
server.port: {{ .Values.containerPort }}
|
||||
elasticsearch.hosts: [{{ include "kibana.elasticsearch.url" . }}]
|
||||
{{- if .Values.configuration.server.basePath }}
|
||||
server.basePath: {{ .Values.configuration.server.basePath | quote }}
|
||||
{{- end }}
|
||||
server.rewriteBasePath: {{ .Values.configuration.server.rewriteBasePath }}
|
||||
{{- if .Values.extraConfiguration }}
|
||||
{{- tpl (toYaml .Values.extraConfiguration) $ | nindent 4 }}
|
||||
{{- end }}
|
||||
{{- end }}
|
Reference in New Issue
Block a user