pipeline-config.yaml 580 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
apiVersion: v1
kind: ConfigMap
metadata:
  name: {{ template "logstash.fullname" . }}-pipeline
  labels:
    app: {{ template "logstash.name" . }}
    chart: {{ template "logstash.chart" . }}
    release: {{ .Release.Name }}
    heritage: {{ .Release.Service }}
data:
{{- range $key, $value := .Values.inputs }}
  input_{{ $key }}: |-
{{ $value | indent 4 }}
{{- end }}

{{- range $key, $value := .Values.filters }}
  filter_{{ $key }}: |-
{{ $value | indent 4 }}
{{- end }}

{{- range $key, $value := .Values.outputs }}
  output_{{ $key }}: |-
{{ $value | indent 4 }}
{{- end }}