apiVersion: v1
kind: Secret
metadata:
  name: {{ template "xray.fullname" . }}-master-key
  labels:
    app: {{ template "xray.name" . }}
    chart: {{ template "xray.chart" . }}
    heritage: {{ .Release.Service }}
    release: {{ .Release.Name }}
type: Opaque
data:
  master-key: {{ .Values.common.masterKey | b64enc | quote }}

