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