{{- if and .Values.pro.enabled .Values.pro.licenseKey.secret.create -}}
apiVersion: v1
kind: Secret
metadata:
  name: ambassador-pro-license-key
type: Opaque
data:
  key: {{ .Values.pro.licenseKey.value | b64enc }}
{{- end -}}
