File tree Expand file tree Collapse file tree 4 files changed +15
-14
lines changed
Expand file tree Collapse file tree 4 files changed +15
-14
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ apiVersion: v2
33name : compress-state
44description : Run rust-synapse-compress-state as a Kubernetes Job/CronJob
55type : application
6- version : 0.0.4
6+ version : 0.1.0
77appVersion : " v0.1.4"
88sources :
99 - https://github.com/matrix-org/rust-synapse-compress-state
Original file line number Diff line number Diff line change @@ -33,12 +33,13 @@ spec:
3333 image : " {{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
3434 imagePullPolicy : {{ .Values.image.pullPolicy }}
3535 args :
36- - " --postgres-url=${DATABASE_URL}"
37- - " --chunk-size={{ .Values.cmdArgs.chunkSize }}"
38- - " --min-state-groups={{ .Values.cmdArgs.minStateGroups }}"
39- {{- if .Values.cmdArgs.progress }}
40- - " --progress"
41- {{- end }}
36+ - ' synapse_auto_compressor'
37+ - ' -p'
38+ - ' ${DATABASE_URL}'
39+ - ' -c'
40+ - {{ .Values.cmdArgs.chunkSize | quote }}
41+ - ' -n'
42+ - {{ .Values.cmdArgs.minStateGroups | quote }}
4243 envFrom :
4344 - secretRef :
4445 {{- if .Values.existingSecret.name }}
Original file line number Diff line number Diff line change @@ -24,12 +24,13 @@ spec:
2424 image : " {{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
2525 imagePullPolicy : {{ .Values.image.pullPolicy }}
2626 args :
27- - " --postgres-url=${DATABASE_URL}"
28- - " --chunk-size={{ .Values.cmdArgs.chunkSize }}"
29- - " --min-state-groups={{ .Values.cmdArgs.minStateGroups }}"
30- {{- if .Values.cmdArgs.progress }}
31- - " --progress"
32- {{- end }}
27+ - ' synapse_auto_compressor'
28+ - ' -p'
29+ - ' ${DATABASE_URL}'
30+ - ' -c'
31+ - {{ .Values.cmdArgs.chunkSize | quote }}
32+ - ' -n'
33+ - {{ .Values.cmdArgs.minStateGroups | quote }}
3334 envFrom :
3435 - secretRef :
3536 {{- if .Values.existingSecret.name }}
Original file line number Diff line number Diff line change @@ -16,7 +16,6 @@ existingSecret:
1616cmdArgs :
1717 chunkSize : 500
1818 minStateGroups : 100
19- progress : true
2019
2120# choose one of Job or CronJob
2221cron :
You can’t perform that action at this time.
0 commit comments