Skip to content

Commit

Permalink
Added priorityClassName as it's now part of the operator API
Browse files Browse the repository at this point in the history
Signed-off-by: Itay Grudev <[email protected]>
  • Loading branch information
itay-grudev committed Sep 28, 2023
1 parent 56a405d commit 3ebfc22
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions charts/cluster/templates/cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ spec:
affinity:
{{- toYaml . | nindent 4 }}
{{- end }}
priorityClassName: {{ .Values.cluster.priorityClassName }}

primaryUpdateMethod: {{ .Values.cluster.primaryUpdateMethod }}
primaryUpdateStrategy: {{ .Values.cluster.primaryUpdateStrategy }}
Expand Down
2 changes: 1 addition & 1 deletion charts/cluster/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ cluster:
# cpu: 2000m
# memory: 8Gi

priorityClassName: "" # TODO: Blocked by https://github.com/cloudnative-pg/cloudnative-pg/discussions/1609
priorityClassName: ""

# Method to follow to upgrade the primary server during a rolling update procedure, after all replicas have been
# successfully updated. It can be switchover (default) or in-place (restart).
Expand Down

0 comments on commit 3ebfc22

Please sign in to comment.