# grafana_charts_secret-license.yaml
{{- if not .Values.useExternalLicense -}}
apiVersion: v1
kind: Secret
metadata:
  name: enterprise-logs-license
  labels:
    {{- include "enterprise-logs.labels" . | nindent 4 }}
data:
  license.jwt: {{ .Values.license.contents | b64enc }}
{{- end }}