From c719b477df2fb7a0e07315f108932a72fa5f867f Mon Sep 17 00:00:00 2001 From: Markus Pesch Date: Mon, 18 Apr 2022 11:00:00 +0200 Subject: [PATCH] feat: support pod priorityClassName --- templates/postfixadmin/deployment.yaml | 3 +++ values.yaml | 2 ++ 2 files changed, 5 insertions(+) diff --git a/templates/postfixadmin/deployment.yaml b/templates/postfixadmin/deployment.yaml index c09d9fb..8f6a932 100644 --- a/templates/postfixadmin/deployment.yaml +++ b/templates/postfixadmin/deployment.yaml @@ -50,6 +50,9 @@ spec: nodeSelector: {{- toYaml . | nindent 8 }} {{- end }} + {{- if .Values.podPriorityClassName }} + priorityClassName: {{ .Values.podPriorityClassName }} + {{- end }} {{- with .Values.affinity }} affinity: {{- toYaml . | nindent 8 }} diff --git a/values.yaml b/values.yaml index 80c33ba..cccace4 100644 --- a/values.yaml +++ b/values.yaml @@ -14,6 +14,8 @@ fullnameOverride: "" podAnnotations: {} +podPriorityClassName: "" + podSecurityContext: {} # fsGroup: 2000