refactor(server): indexer & worker & sync perf (#15504)
This commit is contained in:
7
.github/helm/affine/templates/_helpers.tpl
vendored
7
.github/helm/affine/templates/_helpers.tpl
vendored
@@ -60,3 +60,10 @@ Create the name of the service account to use
|
||||
{{- default "default" .Values.serviceAccount.name }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
{{/*
|
||||
Render the indexer runtime configuration shared by the Secret and Pod checksums.
|
||||
*/}}
|
||||
{{- define "affine.indexerConfig" -}}
|
||||
{{- dict "indexer" (dict "enabled" .Values.global.indexer.enabled "provider" (dict "type" .Values.global.indexer.provider "endpoint" .Values.global.indexer.endpoint "apiKey" .Values.global.indexer.apiKey "username" .Values.global.indexer.username "password" .Values.global.indexer.password)) | toJson -}}
|
||||
{{- end }}
|
||||
|
||||
Reference in New Issue
Block a user