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

20 lines
582 B
YAML

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