Skip to content

Commit

Permalink
Merge pull request #45 from rptaylor/kube-vip-provider-priorityclass
Browse files Browse the repository at this point in the history
add configurable priorityClass for kube-vip-cloud-provider chart
  • Loading branch information
thebsdbox authored Oct 18, 2024
2 parents 99d0613 + 85f9c10 commit b4c12c0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions charts/kube-vip-cloud-provider/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,6 @@ spec:
affinity:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- if .Values.priorityClassName }}
priorityClassName: {{ .Values.priorityClassName }}
{{- end }}
2 changes: 2 additions & 0 deletions charts/kube-vip-cloud-provider/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,5 @@ affinity:
matchExpressions:
- key: node-role.kubernetes.io/master
operator: Exists

priorityClassName: ""

0 comments on commit b4c12c0

Please sign in to comment.