diff --git a/templates/deployment.yaml b/templates/deployment.yaml index d66c2d8..2364a2e 100644 --- a/templates/deployment.yaml +++ b/templates/deployment.yaml @@ -49,6 +49,9 @@ spec: nodeSelector: {{- toYaml . | nindent 8 }} {{- end }} + {{- if .Values.podPriorityClassName }} + priorityClassName: {{ .Values.podPriorityClassName }} + {{- end }} serviceAccountName: {{ include "droneRunner.fullname" . }} {{- with .Values.tolerations }} tolerations: diff --git a/values.yaml b/values.yaml index bac3757..f0291e0 100644 --- a/values.yaml +++ b/values.yaml @@ -16,6 +16,8 @@ fullnameOverride: "" podAnnotations: {} +podPriorityClassName: "" + podSecurityContext: {} # fsGroup: 2000