apiVersion: v1
kind: Secret
metadata:
  name: "{{ template "fluent-bit.fullname" . }}-es-tls-secret"
  labels:
    app: {{ template "fluent-bit.fullname" . }}
    chart: {{ .Chart.Name }}-{{ .Chart.Version }}
    heritage: {{ .Release.Service }}
    release: {{ .Release.Name }}
type: Opaque
data:
  es-tls-ca.crt: {{ .Values.backend.es.tls_ca | b64enc | quote }}
