mirror of
https://github.com/bitnami/charts.git
synced 2026-03-07 08:07:55 +08:00
[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:
@@ -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
|
||||
|
||||
@@ -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` | `""` |
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
@@ -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
|
||||
##
|
||||
|
||||
Reference in New Issue
Block a user