[bitnami/grafana] Add priority class name (#5380)

* Add priority class name

* Fix version number

Co-authored-by: Carlos Rodríguez Hernández <carrodher1179@gmail.com>

* Add quotes to values

Co-authored-by: Carlos Rodríguez Hernández <carrodher1179@gmail.com>

Co-authored-by: Connor Earl <connor.earl@sirkit.pro>
Co-authored-by: Carlos Rodríguez Hernández <carrodher1179@gmail.com>
This commit is contained in:
connorearl
2021-02-03 09:16:37 -07:00
committed by GitHub
parent 2f4c7cbc04
commit e163354876
4 changed files with 10 additions and 1 deletions

View File

@@ -24,4 +24,4 @@ name: grafana
sources:
- https://github.com/bitnami/bitnami-docker-grafana
- https://grafana.com/
version: 5.1.1
version: 5.2.0

View File

@@ -192,6 +192,7 @@ The following tables lists the configurable parameters of the grafana chart and
| `replicaCount` | Number of Grafana nodes | `1` |
| `updateStrategy` | Update strategy for the deployment | `{type: "RollingUpdate"}` |
| `schedulerName` | Alternative scheduler | `nil` |
| `priorityClassName` | Priority class name | `nil` |
| `podLabels` | Grafana pod labels | `{}` (evaluated as a template) |
| `podAnnotations` | Grafana Pod annotations | `{}` (evaluated as a template) |
| `podAffinityPreset` | Pod affinity preset. Ignored if `affinity` is set. Allowed values: `soft` or `hard` | `""` |

View File

@@ -38,6 +38,9 @@ spec:
{{- if .Values.schedulerName }}
schedulerName: {{ .Values.schedulerName | quote }}
{{- end }}
{{- if .Values.priorityClassName }}
priorityClassName: {{ .Values.priorityClassName | quote }}
{{- end }}
{{- if .Values.affinity }}
affinity: {{- include "common.tplvalues.render" (dict "value" .Values.affinity "context" $) | nindent 8 }}
{{- else }}

View File

@@ -179,6 +179,11 @@ updateStrategy:
##
# schedulerName:
## Set a priority class name.
## ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/
##
# priorityClassName: ""
serviceAccount:
## Specifies whether a ServiceAccount should be created
##