apiVersion: v1
kind: Secret
metadata:
  name: "{{ template "sumologic-fluentd.fullname-secrets" . }}"
  labels:
    app: {{ template "sumologic-fluentd.name" . }}
    chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
    release: "{{ .Release.Name }}"
    heritage: "{{ .Release.Service }}"
  annotations:
    "helm.sh/hook": pre-install,pre-upgrade
type: Opaque
data:
  collector-url: {{ default "MISSING" .Values.sumologic.collectorUrl | b64enc | quote }}
