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 11.DS_Store
22.idea
3+ ** .tgz
34
Original file line number Diff line number Diff line change @@ -125,6 +125,35 @@ spec:
125125 securityContext :
126126{{ toYaml .Values.symbolicator.api.containerSecurityContext | indent 12 }}
127127{{- 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 }}
128157{{- if .Values.symbolicator.api.sidecars }}
129158{{ toYaml .Values.symbolicator.api.sidecars | indent 6 }}
130159{{- end }}
Original file line number Diff line number Diff line change @@ -126,6 +126,30 @@ spec:
126126 securityContext :
127127{{ toYaml .Values.symbolicator.api.containerSecurityContext | indent 12 }}
128128{{- 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 }}
129153 {{- if .Values.serviceAccount.enabled }}
130154 serviceAccountName : {{ .Values.serviceAccount.name }}-symbolicator-api
131155 {{- end }}
Original file line number Diff line number Diff line change @@ -1786,7 +1786,7 @@ hooks:
17861786 podAnnotations : {}
17871787 resources :
17881788 limits :
1789- memory : 2048Mi
1789+ memory : 2560Mi
17901790 requests :
17911791 cpu : 300m
17921792 memory : 2048Mi
@@ -1850,6 +1850,9 @@ mail:
18501850symbolicator :
18511851 enabled : false
18521852 api :
1853+ cleaner :
1854+ enabled : true
1855+ sleepInterval : 3600
18531856 usedeployment : true # Set true to use Deployment, false for StatefulSet
18541857 persistence :
18551858 enabled : true # Set true for using PersistentVolumeClaim, false for emptyDir
You can’t perform that action at this time.
0 commit comments