mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
Sentry add hook pod tolerations (#22648)
Signed-off-by: Kien Bui <doankien.bui@gmail.com>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
apiVersion: v1
|
||||
description: Sentry is a cross-platform crash reporting and aggregation platform.
|
||||
name: sentry
|
||||
version: 4.2.1
|
||||
version: 4.2.3
|
||||
appVersion: 9.1.2
|
||||
keywords:
|
||||
- debugging
|
||||
|
||||
@@ -194,6 +194,7 @@ Parameter | Description
|
||||
`metrics.serviceMonitor.interval` | How frequently to scrape metrics (use by default, falling back to Prometheus' default) | `nil`
|
||||
`metrics.serviceMonitor.selector` | Default to kube-prometheus install (CoreOS recommended), but should be set according to Prometheus install | `{ prometheus: kube-prometheus }`
|
||||
`hooks.affinity` | Affinity settings for hooks pods | `{}`
|
||||
`hooks.tolerations` | Toleration labels for hook pod assignment | `[]`
|
||||
`hooks.dbInit.enabled` | Boolean to enable the dbInit job using a hook | `true`
|
||||
`hooks.dbInit.resources.limits` | Hook job resource limits | `{memory: 3200Mi}`
|
||||
`hooks.dbInit.resources.requests` | Hook job resource requests | `{memory: 3000Mi}`
|
||||
|
||||
@@ -31,6 +31,10 @@ spec:
|
||||
{{- with .Values.hooks.affinity }}
|
||||
affinity:
|
||||
{{ toYaml . | indent 8 }}
|
||||
{{- end }}
|
||||
{{- if .Values.hooks.tolerations }}
|
||||
tolerations:
|
||||
{{ toYaml .Values.hooks.tolerations | indent 8 }}
|
||||
{{- end }}
|
||||
restartPolicy: Never
|
||||
{{- if .Values.image.imagePullSecrets }}
|
||||
|
||||
@@ -30,6 +30,10 @@ spec:
|
||||
{{- with .Values.hooks.affinity }}
|
||||
affinity:
|
||||
{{ toYaml . | indent 8 }}
|
||||
{{- end }}
|
||||
{{- if .Values.hooks.tolerations }}
|
||||
tolerations:
|
||||
{{ toYaml .Values.hooks.tolerations | indent 8 }}
|
||||
{{- end }}
|
||||
restartPolicy: Never
|
||||
{{- if .Values.image.imagePullSecrets }}
|
||||
|
||||
@@ -315,6 +315,7 @@ metrics:
|
||||
# Provide affinity for hooks if needed
|
||||
hooks:
|
||||
affinity: {}
|
||||
tolerations: []
|
||||
dbInit:
|
||||
enabled: true
|
||||
resources:
|
||||
|
||||
Reference in New Issue
Block a user