Skip to content

Commit

Permalink
feat: add priorityClassName (#50)
Browse files Browse the repository at this point in the history
* feat: add priorityClassName

Fixes #49

Signed-off-by: Rafał Boniecki <[email protected]>

* Documentation

Signed-off-by: Rafał Boniecki <[email protected]>

* Version bump

Signed-off-by: Rafał Boniecki <[email protected]>

---------

Signed-off-by: Rafał Boniecki <[email protected]>
  • Loading branch information
boniek83 authored Mar 31, 2023
1 parent bcee780 commit f595870
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/opencost/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ keywords:
- kubecost
- opencost
- monitoring
version: 1.9.1
version: 1.9.2
maintainers:
- name: mattray
url: https://mattray.dev
Expand Down
3 changes: 3 additions & 0 deletions charts/opencost/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ spec:
nodeSelector:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.priorityClassName }}
priorityClassName: {{ . }}
{{- end }}
{{- with .Values.opencost.affinity }}
affinity:
{{- toYaml . | nindent 8 }}
Expand Down
2 changes: 2 additions & 0 deletions charts/opencost/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ podAnnotations: {}
secretAnnotations: {}
# -- Labels to add to the OpenCost Pod
podLabels: {}
# -- Pod priority
priorityClassName: null

# -- Holds pod-level security attributes and common container settings
podSecurityContext: {}
Expand Down

0 comments on commit f595870

Please sign in to comment.