mirror of
https://github.com/bitnami/charts.git
synced 2026-03-13 14:57:24 +08:00
* [bitnami/logstash] Add missing namespace metadata Signed-off-by: Miguel Ruiz <miruiz@vmware.com> * ServiceMonitor namespace Signed-off-by: Miguel Ruiz <miruiz@vmware.com> * CommonAnnotations Signed-off-by: Miguel Ruiz <miruiz@vmware.com> * Fix VIB upload image reference Signed-off-by: Miguel Ruiz <miruiz@vmware.com> * Replace template with include Signed-off-by: Miguel Ruiz <miruiz@vmware.com>
40 lines
1.4 KiB
YAML
40 lines
1.4 KiB
YAML
{{ if and (or .Values.input .Values.filter .Values.output) (not .Values.existingConfiguration) }}
|
|
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: {{ include "common.names.fullname" . }}
|
|
namespace: {{ include "common.names.namespace" . | quote }}
|
|
labels: {{- include "common.labels.standard" . | nindent 4 }}
|
|
{{- if .Values.commonLabels }}
|
|
{{- include "common.tplvalues.render" ( dict "value" .Values.commonLabels "context" $ ) | nindent 4 }}
|
|
{{- end }}
|
|
{{- if or .Values.ingress.annotations .Values.commonAnnotations }}
|
|
annotations:
|
|
{{- if .Values.ingress.annotations }}
|
|
{{- include "common.tplvalues.render" ( dict "value" .Values.ingress.annotations "context" $) | nindent 4 }}
|
|
{{- end }}
|
|
{{- if .Values.commonAnnotations }}
|
|
{{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
|
|
{{- end }}
|
|
{{- end }}
|
|
data:
|
|
{{- if (or .Values.input .Values.filter .Values.output) }}
|
|
logstash.conf: |-
|
|
{{- if .Values.input }}
|
|
input {
|
|
{{- include "common.tplvalues.render" (dict "value" .Values.input "context" $) | nindent 6 }}
|
|
}
|
|
{{- end }}
|
|
{{- if .Values.filter }}
|
|
filter {
|
|
{{- include "common.tplvalues.render" (dict "value" .Values.filter "context" $) | nindent 6 }}
|
|
}
|
|
{{- end }}
|
|
{{- if .Values.output }}
|
|
output {
|
|
{{- include "common.tplvalues.render" (dict "value" .Values.output "context" $) | nindent 6 }}
|
|
}
|
|
{{- end }}
|
|
{{- end }}
|
|
{{- end }}
|