[incubator/sentry-kubernetes] Allow specifying priorityClassName (#17192)

* adding priorityClassName to values.yaml

Signed-off-by: pam- <pam.assogba@gmail.com>

* bumping version

Signed-off-by: pam- <pam.assogba@gmail.com>

* updating README.md

Signed-off-by: pam- <pam.assogba@gmail.com>

* adding priorityClassName to deployment.yaml

Signed-off-by: pam- <pam.assogba@gmail.com>
This commit is contained in:
Pam Assogba
2019-09-25 05:10:00 -07:00
committed by Kubernetes Prow Robot
parent 8476276679
commit 07759f2845
4 changed files with 9 additions and 2 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
apiVersion: v1
description: A Helm chart for sentry-kubernetes (https://github.com/getsentry/sentry-kubernetes)
name: sentry-kubernetes
version: 0.2.1
version: 0.2.2
appVersion: latest
icon: https://sentry-brand.storage.googleapis.com/sentry-glyph-white.png
home: https://github.com/getsentry/sentry-kubernetes
+2 -1
View File
@@ -15,7 +15,7 @@ The following table lists the configurable parameters of the sentry-kubernetes c
| Parameter | Description | Default |
| ----------------------- | --------------------------------------------------------------------------------------------------------------------------- | ----------------------------- |
| `sentry.dsn` | Sentry dsn | Empty |
| `existingSecret` | Existing secret to read DSN from | Empty |
| `existingSecret` | Existing secret to read DSN from | Empty |
| `sentry.environment` | Sentry environment | Empty |
| `sentry.release` | Sentry release | Empty |
| `sentry.logLevel` | Sentry log level | Empty |
@@ -24,3 +24,4 @@ The following table lists the configurable parameters of the sentry-kubernetes c
| `rbac.create` | If `true`, create and use RBAC resources | `true` |
| `serviceAccount.name` | Service account to be used. If not set and serviceAccount.create is `true`, a name is generated using the fullname template | `` |
| `serviceAccount.create` | If true, create a new service account | `true` |
| `priorityClassName` | pod priorityClassName | Empty |
@@ -16,6 +16,9 @@ spec:
app: {{ template "sentry-kubernetes.name" . }}
release: {{.Release.Name }}
spec:
{{- if .Values.priorityClassName }}
priorityClassName: "{{ .Values.priorityClassName }}"
{{- end }}
containers:
- name: {{ .Chart.Name }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
+3
View File
@@ -27,3 +27,6 @@ serviceAccount:
rbac:
# Specifies whether RBAC resources should be created
create: true
# Set priorityCLassName in deployment
# priorityClassName: ""