18 lines
615 B
YAML
18 lines
615 B
YAML
apiVersion: v1
|
|
kind: Secret
|
|
metadata:
|
|
name: {{ template "artifactory-ha.fullname" . }}
|
|
labels:
|
|
app: {{ template "artifactory-ha.name" . }}
|
|
chart: {{ template "artifactory-ha.chart" . }}
|
|
heritage: {{ .Release.Service }}
|
|
release: {{ .Release.Name }}
|
|
type: Opaque
|
|
data:
|
|
{{- if and .Values.artifactory.masterKey (not .Values.artifactory.masterKeySecretName) }}
|
|
master-key: {{ .Values.artifactory.masterKey | b64enc | quote }}
|
|
{{- end }}
|
|
{{- if and .Values.artifactory.joinKey (not .Values.artifactory.joinKeySecretName) }}
|
|
join-key: {{ .Values.artifactory.joinKey | b64enc | quote }}
|
|
{{- end }}
|