Skip to content

Commit

Permalink
add possible to use priorityClass
Browse files Browse the repository at this point in the history
  • Loading branch information
MEGarrusVakarian committed Jun 20, 2023
1 parent 52af2f4 commit 5ff208c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@ config.toml
bin/
data/
dist/
*.idea/
1 change: 1 addition & 0 deletions contrib/helm/calert/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ Change the values according to the need of the environment in ``contrib/helm/cal
| resources.limits.memory | string | `"48Mi"` | |
| resources.requests.cpu | string | `"5m"` | |
| resources.requests.memory | string | `"24Mi"` | |
| priorityClassName | string | `""` | |
| nodeSelector | object | `{}` | |
| tolerations | list | `[]` | |
| affinity | object | `{}` | |
Expand Down
3 changes: 3 additions & 0 deletions contrib/helm/calert/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ spec:
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.priorityClassName }}
priorityClassName: {{ . }}
{{- end }}
containers:
- name: {{ .Chart.Name }}
Expand Down
2 changes: 2 additions & 0 deletions contrib/helm/calert/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ resources:
cpu: 5m
memory: 24Mi

priorityClassName: ""

nodeSelector: {}

tolerations: []
Expand Down

0 comments on commit 5ff208c

Please sign in to comment.