configmap.yaml 311 B

12345678910111213
  1. {{- if .Values.kibanaConfig }}
  2. ---
  3. apiVersion: v1
  4. kind: ConfigMap
  5. metadata:
  6. name: {{ template "kibana.fullname" . }}-config
  7. labels: {{ include "kibana.labels" . | nindent 4 }}
  8. data:
  9. {{- range $path, $config := .Values.kibanaConfig }}
  10. {{ $path }}: |
  11. {{ tpl $config $ | indent 4 -}}
  12. {{- end -}}
  13. {{- end -}}