20 lines
591 B
YAML
20 lines
591 B
YAML
{{- if and .Values.artifactory.customSecrets (not .Values.artifactory.unifiedSecretInstallation) }}
|
|
{{- range .Values.artifactory.customSecrets }}
|
|
---
|
|
apiVersion: v1
|
|
kind: Secret
|
|
metadata:
|
|
name: {{ template "artifactory-ha.fullname" $ }}-{{ .name }}
|
|
labels:
|
|
app: "{{ template "artifactory-ha.name" $ }}"
|
|
chart: "{{ template "artifactory-ha.chart" $ }}"
|
|
component: "{{ $.Values.artifactory.name }}"
|
|
heritage: {{ $.Release.Service | quote }}
|
|
release: {{ $.Release.Name | quote }}
|
|
type: Opaque
|
|
stringData:
|
|
{{ .key }}: |
|
|
{{ .data | indent 4 -}}
|
|
{{- end -}}
|
|
{{- end -}}
|