From 89439bf463573513a25bbc8b7ccc240a21038936 Mon Sep 17 00:00:00 2001 From: Christopher Kolstad Date: Tue, 12 Nov 2024 09:35:58 +0100 Subject: [PATCH] fix: added priorityClassName support for edge deployment --- charts/unleash-edge/Chart.yaml | 2 +- charts/unleash-edge/templates/deployment.yaml | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/charts/unleash-edge/Chart.yaml b/charts/unleash-edge/Chart.yaml index 6f83eb7..68397bc 100644 --- a/charts/unleash-edge/Chart.yaml +++ b/charts/unleash-edge/Chart.yaml @@ -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" diff --git a/charts/unleash-edge/templates/deployment.yaml b/charts/unleash-edge/templates/deployment.yaml index c4039ac..56726d3 100644 --- a/charts/unleash-edge/templates/deployment.yaml +++ b/charts/unleash-edge/templates/deployment.yaml @@ -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 }}" @@ -102,6 +101,9 @@ spec: {{- end }} resources: {{- toYaml .Values.resources | nindent 12 }} + {{- if .Values.priorityClassName }} + priorityClassName: {{ .Values.priorityClassName }} + {{- end }} {{ with .Values.volumes }} volumes: {{- range . }}