{{- if .Values.cvat.backend.server.secret.create }} apiVersion: v1 kind: Secret metadata: name: "{{ .Release.Name }}-{{ .Values.cvat.backend.server.secret.name }}" namespace: {{ .Release.Namespace }} type: generic stringData: googleClientId: {{ .Values.cvat.backend.server.secret.socialAccountAuthentication.googleClientId | b64enc }} googleClientSecret: {{ .Values.cvat.backend.server.secret.socialAccountAuthentication.googleClientSecret | b64enc }} githubClientId: {{ .Values.cvat.backend.server.secret.socialAccountAuthentication.githubClientId | b64enc }} githubClientSecret: {{ .Values.cvat.backend.server.secret.socialAccountAuthentication.githubClientSecret | b64enc }} {{- end }}