{{- if not .Values.artifactory.persistence.googleStorage.gcpServiceAccount.customSecretName }} {{- if and (.Values.artifactory.persistence.googleStorage.gcpServiceAccount.enabled) (not .Values.artifactory.unifiedSecretInstallation) }} kind: Secret apiVersion: v1 metadata: name: {{ template "artifactory-ha.fullname" . }}-gcpcreds labels: app: {{ template "artifactory-ha.name" . }} chart: {{ template "artifactory-ha.chart" . }} heritage: {{ .Release.Service }} release: {{ .Release.Name }} stringData: gcp.credentials.json: |- {{ tpl .Values.artifactory.persistence.googleStorage.gcpServiceAccount.config . | indent 4 }} {{- end }} {{- end }}