diff --git a/templates/cronjob.yaml b/templates/cronjob.yaml index fd8025c..07936a7 100644 --- a/templates/cronjob.yaml +++ b/templates/cronjob.yaml @@ -80,6 +80,9 @@ spec: nodeSelector: {{- toYaml . | nindent 12 }} {{- end }} + {{- if .Values.podPriorityClassName }} + priorityClassName: {{ .Values.podPriorityClassName }} + {{- end }} restartPolicy: Never securityContext: {{- toYaml .Values.podSecurityContext | nindent 12 }} diff --git a/values.yaml b/values.yaml index 5c71ab8..07365d5 100644 --- a/values.yaml +++ b/values.yaml @@ -25,6 +25,8 @@ serviceAccount: podAnnotations: {} +podPriorityClassName: "" + podSecurityContext: {} # fsGroup: 2000