Skip to content

Commit

Permalink
Proxysql: Adds the option for setting a priorityClassName
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas Bauer committed Mar 8, 2024
1 parent 0908f3f commit 5e9f5bb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion dysnix/proxysql/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: v1
appVersion: "2.5.5"
description: ProxySQL Helm chart for Kubernetes
name: proxysql
version: 0.11.2
version: 0.11.3
home: https://www.proxysql.com/
sources:
- https://github.com/dysnix/charts
Expand Down
3 changes: 3 additions & 0 deletions dysnix/proxysql/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,9 @@ spec:
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- if .Values.priorityClassName }}
priorityClassName: {{ .Values.priorityClassName }}
{{- end }}
terminationGracePeriodSeconds: {{ .Values.terminationGracePeriodSeconds | int }}
volumes:
- name: data
Expand Down
3 changes: 3 additions & 0 deletions dysnix/proxysql/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ serviceAccount:
# If not set and create is true, a name is generated using the fullname template
name:

# Optional: If set, the proxysql pods will use the given priorityClassName.
priorityClassName: ""

podSecurityContext:
runAsNonRoot: true
fsGroup: 999
Expand Down

0 comments on commit 5e9f5bb

Please sign in to comment.