Skip to content

Commit

Permalink
fix: added priorityClassName support for edge deployment (#177)
Browse files Browse the repository at this point in the history
  • Loading branch information
chriswk authored Nov 13, 2024
1 parent d3788f5 commit 64a5f3c
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 7 deletions.
2 changes: 1 addition & 1 deletion charts/unleash-edge/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ icon: https://docs.getunleash.io/img/logo.svg

type: application

version: 2.7.3
version: 2.7.4

appVersion: "v19.6.1"

Expand Down
4 changes: 3 additions & 1 deletion charts/unleash-edge/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ spec:
{{- if .Values.env }}
{{- toYaml .Values.env | nindent 12 }}
{{- end }}

securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
Expand Down Expand Up @@ -102,6 +101,9 @@ spec:
{{- end }}
resources:
{{- toYaml .Values.resources | nindent 12 }}
{{- if .Values.priorityClassName }}
priorityClassName: {{ .Values.priorityClassName }}
{{- end }}
{{ with .Values.volumes }}
volumes:
{{- range . }}
Expand Down
15 changes: 10 additions & 5 deletions charts/unleash-edge/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,18 @@ serviceAccount:
# If not set and create is true, a name is generated using the fullname template
name: ""


deploymentAnnotations: {}

podAnnotations: {}

podLabels: {}

podSecurityContext: {}
podSecurityContext:
{}
# fsGroup: 2000

securityContext: {}
securityContext:
{}
# capabilities:
# drop:
# - ALL
Expand Down Expand Up @@ -63,7 +64,8 @@ resources:
ingress:
enabled: false
className: ""
annotations: {}
annotations:
{}
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
hosts:
Expand Down Expand Up @@ -123,7 +125,8 @@ tolerations: []

affinity: {}

topologySpreadConstraints: {}
topologySpreadConstraints:
{}
# - maxSkew: 1
# topologyKey: topology.kubernetes.io/zone
# whenUnsatisfiable: DoNotSchedule
Expand Down Expand Up @@ -181,3 +184,5 @@ podDisruptionBudget:
enabled: false
minAvailable:
maxUnavailable: 1

priorityClassName: ""

0 comments on commit 64a5f3c

Please sign in to comment.