Skip to content
This repository was archived by the owner on Jan 18, 2024. It is now read-only.

charts/timescaledb-single: Allow to set priority class #608

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion charts/timescaledb-single/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
apiVersion: v1
name: timescaledb-single
description: 'TimescaleDB HA Deployment.'
version: 0.33.2
version: 0.34.2
icon: https://cdn.iconscout.com/icon/free/png-256/timescaledb-1958407-1651618.png

# appVersion specifies the version of the software, which can vary wildly,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -472,6 +472,9 @@ spec:
affinity:
{{- .Values.affinity | toYaml | nindent 8 }}
{{- end }}
{{- if .Values.priorityClass }}
priorityClassName: {{ .Values.priorityClass }}
{{- end }}
volumes:
- name: socket-directory
emptyDir: {}
Expand Down
4 changes: 4 additions & 0 deletions charts/timescaledb-single/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -590,6 +590,10 @@
"null"
]
},
"priorityClass": {
"maxLength": 63,
"type": "string"
},
"prometheus": {
"additionalProperties": false,
"properties": {
Expand Down
3 changes: 3 additions & 0 deletions charts/timescaledb-single/values.schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -424,6 +424,9 @@ properties:
type: array
topologySpreadConstraints:
type: array
priorityClass:
type: string
maxLength: 63
debug:
type: object
additionalProperties: false
Expand Down
2 changes: 2 additions & 0 deletions charts/timescaledb-single/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -574,6 +574,8 @@ affinity: {}
# https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#topologyspreadconstraints
topologySpreadConstraints: []

priorityClass: ""

## Use an alternate scheduler, e.g. "stork".
## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
##
Expand Down