rancher-partner-charts/charts/jfrog/artifactory-ha/107.77.11/templates/artifactory-access-config.yaml

16 lines
501 B
YAML

{{- if and .Values.access.accessConfig (not .Values.artifactory.unifiedSecretInstallation) }}
apiVersion: v1
kind: Secret
metadata:
name: {{ template "artifactory-ha.fullname" . }}-access-config
labels:
app: {{ template "artifactory-ha.name" . }}
chart: {{ template "artifactory-ha.chart" . }}
heritage: {{ .Release.Service }}
release: {{ .Release.Name }}
type: Opaque
stringData:
access.config.patch.yml: |
{{ tpl (toYaml .Values.access.accessConfig) . | indent 4 }}
{{- end }}