Skip to content

Commit

Permalink
k8s: bump PriorityClass apiVersion to v1 (k8s 1.14+ req.)
Browse files Browse the repository at this point in the history
  • Loading branch information
consideRatio committed Jan 14, 2021
1 parent e01292c commit 4080e7c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion jupyterhub/templates/scheduling/priorityclass.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{- if .Values.scheduling.podPriority.enabled }}
apiVersion: scheduling.k8s.io/v1beta1
apiVersion: scheduling.k8s.io/v1
kind: PriorityClass
metadata:
name: {{ .Release.Name }}-default-priority
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{- if .Values.scheduling.podPriority.enabled }}
{{- if .Values.scheduling.userPlaceholder.enabled -}}
apiVersion: scheduling.k8s.io/v1beta1
apiVersion: scheduling.k8s.io/v1
kind: PriorityClass
metadata:
name: {{ .Release.Name }}-user-placeholder-priority
Expand Down

0 comments on commit 4080e7c

Please sign in to comment.