File tree Expand file tree Collapse file tree 4 files changed +58
-1
lines changed Expand file tree Collapse file tree 4 files changed +58
-1
lines changed Original file line number Diff line number Diff line change 1
1
.DS_Store
2
2
.idea
3
+ ** .tgz
3
4
Original file line number Diff line number Diff line change @@ -125,6 +125,35 @@ spec:
125
125
securityContext :
126
126
{{ toYaml .Values.symbolicator.api.containerSecurityContext | indent 12 }}
127
127
{{- end }}
128
+ {{- if .Values.symbolicator.api.cleaner.enabled }}
129
+ - name : {{ .Chart.Name }}-symbolicator-cleaner
130
+ image : " {{ template " symbolicator.image" . }}"
131
+ imagePullPolicy : {{ default "IfNotPresent" .Values.images.symbolicator.pullPolicy }}
132
+ command :
133
+ - /bin/sh
134
+ - -c
135
+ args :
136
+ - |
137
+ while true; do
138
+ symbolicator cleanup -c /etc/symbolicator/config.yml;
139
+ sleep {{ .Values.symbolicator.api.cleaner.sleepInterval }};
140
+ done
141
+ env :
142
+ {{ if and (eq .Values.filestore.backend "gcs") .Values.filestore.gcs.secretName }}
143
+ - name : GOOGLE_APPLICATION_CREDENTIALS
144
+ value : /var/run/secrets/google/{{ .Values.filestore.gcs.credentialsFile }}
145
+ {{ end }}
146
+ volumeMounts :
147
+ - mountPath : /etc/symbolicator
148
+ name : config
149
+ readOnly : true
150
+ - mountPath : /data
151
+ name : symbolicator-data
152
+ {{- if and (eq .Values.filestore.backend "gcs") .Values.filestore.gcs.secretName }}
153
+ - name : sentry-google-cloud-key
154
+ mountPath : /var/run/secrets/google
155
+ {{ end }}
156
+ {{- end }}
128
157
{{- if .Values.symbolicator.api.sidecars }}
129
158
{{ toYaml .Values.symbolicator.api.sidecars | indent 6 }}
130
159
{{- end }}
Original file line number Diff line number Diff line change @@ -126,6 +126,30 @@ spec:
126
126
securityContext :
127
127
{{ toYaml .Values.symbolicator.api.containerSecurityContext | indent 12 }}
128
128
{{- end }}
129
+ {{- if .Values.symbolicator.api.cleaner.enabled }}
130
+ - name : {{ .Chart.Name }}-symbolicator-cleaner
131
+ image : " {{ template " symbolicator.image" . }}"
132
+ imagePullPolicy : {{ default "IfNotPresent" .Values.images.symbolicator.pullPolicy }}
133
+ command :
134
+ - /bin/sh
135
+ - -c
136
+ args :
137
+ - |
138
+ while true; do
139
+ symbolicator cleanup -c /etc/symbolicator/config.yml;
140
+ sleep {{ .Values.symbolicator.api.cleaner.sleepInterval }};
141
+ done
142
+ volumeMounts :
143
+ - mountPath : /etc/symbolicator
144
+ name : config
145
+ readOnly : true
146
+ - mountPath : /data
147
+ name : symbolicator-data
148
+ {{- if and (eq .Values.filestore.backend "gcs") .Values.filestore.gcs.secretName }}
149
+ - name : sentry-google-cloud-key
150
+ mountPath : /var/run/secrets/google
151
+ {{ end }}
152
+ {{- end }}
129
153
{{- if .Values.serviceAccount.enabled }}
130
154
serviceAccountName : {{ .Values.serviceAccount.name }}-symbolicator-api
131
155
{{- end }}
Original file line number Diff line number Diff line change @@ -1786,7 +1786,7 @@ hooks:
1786
1786
podAnnotations : {}
1787
1787
resources :
1788
1788
limits :
1789
- memory : 2048Mi
1789
+ memory : 2560Mi
1790
1790
requests :
1791
1791
cpu : 300m
1792
1792
memory : 2048Mi
@@ -1850,6 +1850,9 @@ mail:
1850
1850
symbolicator :
1851
1851
enabled : false
1852
1852
api :
1853
+ cleaner :
1854
+ enabled : true
1855
+ sleepInterval : 3600
1853
1856
usedeployment : true # Set true to use Deployment, false for StatefulSet
1854
1857
persistence :
1855
1858
enabled : true # Set true for using PersistentVolumeClaim, false for emptyDir
You can’t perform that action at this time.
0 commit comments