Files
devops-infra-helm-charts-gcp/helm-templates/jfrog/templates/artifactory-license-secret.yaml
T
2026-08-26 03:39:42 +05:30

16 lines
465 B
YAML

{{ if (not .Values.artifactory.unifiedSecretInstallation) }}
{{- with .Values.artifactory.license.licenseKey }}
apiVersion: v1
kind: Secret
metadata:
name: {{ template "artifactory.fullname" $ }}-license
labels:
app: {{ template "artifactory.name" $ }}
chart: {{ template "artifactory.chart" $ }}
heritage: {{ $.Release.Service }}
release: {{ $.Release.Name }}
type: Opaque
data:
artifactory.lic: {{ . | b64enc | quote }}
{{- end }}
{{- end }}