From 75effb29c3702710bea51125434b7ca644219f6b Mon Sep 17 00:00:00 2001 From: Siri Chongasamethaworn Date: Thu, 11 May 2023 00:40:26 +0700 Subject: [PATCH] add priority class --- charts/piggy-webhooks/templates/deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/piggy-webhooks/templates/deployment.yaml b/charts/piggy-webhooks/templates/deployment.yaml index ce4851b..175e6a7 100644 --- a/charts/piggy-webhooks/templates/deployment.yaml +++ b/charts/piggy-webhooks/templates/deployment.yaml @@ -83,10 +83,10 @@ spec: {{- if .Values.volumeMounts }} {{ toYaml .Values.volumeMounts | nindent 12 }} {{- end }} - {{- with .Values.nodeSelector }} {{- if .Values.priorityClassName }} priorityClassName: {{ .Values.priorityClassName }} {{- end }} + {{- with .Values.nodeSelector }} nodeSelector: {{- toYaml . | nindent 8 }} {{- end }}