Skip to content

Commit

Permalink
add configurable priorityClass for kube-vip-cloud-provider chart
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Taylor <[email protected]>
  • Loading branch information
rptaylor committed Oct 15, 2024
1 parent f93c33a commit 7e4fb96
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
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 @@ -31,3 +31,6 @@ spec:
affinity:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- if .Values.priorityClassName }}
priorityClassName: {{ .Values.priorityClassName }}
{{- end }}
4 changes: 3 additions & 1 deletion charts/kube-vip-cloud-provider/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ image:
# cidr-default: 192.168.0.200/29 # CIDR-based IP range for use in the default Namespace
# range-development: 192.168.0.210-192.168.0.219 # Range-based IP range for use in the development Namespace
# cidr-finance: 192.168.0.220/29,192.168.0.230/29 # Multiple CIDR-based ranges for use in the finance Namespace
# cidr-global: 192.168.0.240/29
# cidr-global: 192.168.0.240/29

cm:
data: {}
Expand Down Expand Up @@ -51,3 +51,5 @@ affinity:
matchExpressions:
- key: node-role.kubernetes.io/master
operator: Exists

priorityClassName: ""

0 comments on commit 7e4fb96

Please sign in to comment.