# helm_charts_secrets-webhookrelay.yaml
{{- if .Values.webhookRelay.enabled }}
apiVersion: v1
kind: Secret
metadata:
  name: {{ template "keel.fullname" . }}-webhookrelay
  labels:
    app: {{ template "keel.name" . }}
    chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
    release: "{{ .Release.Name }}"
    heritage: "{{ .Release.Service }}"
type: Opaque
data:
  key: {{ .Values.webhookRelay.key | b64enc }}
  secret:  {{ .Values.webhookRelay.secret | b64enc }}
{{- end }}