File tree Expand file tree Collapse file tree 3 files changed +17
-15
lines changed
Expand file tree Collapse file tree 3 files changed +17
-15
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.1.1
6+ version: 1.0.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 @@ -32,14 +32,15 @@ spec:
3232 - name: compress
3333 image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
3434 imagePullPolicy: {{ .Values.image.pullPolicy }}
35- args:
36- - 'synapse_auto_compressor'
37- - '-p'
38- - '$DATABASE_URL'
35+ command:
36+ - '/bin/sh'
3937 - '-c'
40- - {{ .Values.cmdArgs.chunkSize | quote }}
41- - '-n'
42- - {{ .Values.cmdArgs.minStateGroups | quote }}
38+ args:
39+ - |
40+ /usr/local/bin/synapse_auto_compressor \
41+ -p $DATABASE_URL \
42+ -c {{ .Values.cmdArgs.chunkSize }} \
43+ -n {{ .Values.cmdArgs.minStateGroups }}
4344 envFrom:
4445 - secretRef:
4546 {{- if .Values.existingSecret.name }}
Original file line number Diff line number Diff line change @@ -23,14 +23,15 @@ spec:
2323 - name: compress
2424 image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
2525 imagePullPolicy: {{ .Values.image.pullPolicy }}
26- args:
27- - 'synapse_auto_compressor'
28- - '-p'
29- - '$DATABASE_URL'
26+ command:
27+ - '/bin/sh'
3028 - '-c'
31- - {{ .Values.cmdArgs.chunkSize | quote }}
32- - '-n'
33- - {{ .Values.cmdArgs.minStateGroups | quote }}
29+ args:
30+ - |
31+ /usr/local/bin/synapse_auto_compressor \
32+ -p $DATABASE_URL \
33+ -c {{ .Values.cmdArgs.chunkSize }} \
34+ -n {{ .Values.cmdArgs.minStateGroups }}
3435 envFrom:
3536 - secretRef:
3637 {{- if .Values.existingSecret.name }}
You can’t perform that action at this time.
0 commit comments