diff --git a/templates/deployment.yaml b/templates/deployment.yaml index d344808..e235838 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 }} securityContext: {{- toYaml .Values.podSecurityContext | nindent 8 }} serviceAccountName: {{ include "drone.fullname" . }} diff --git a/values.yaml b/values.yaml index 0180fb6..451896d 100644 --- a/values.yaml +++ b/values.yaml @@ -16,6 +16,8 @@ fullnameOverride: "" podAnnotations: {} +podPriorityClassName: "" + podSecurityContext: {} # fsGroup: 2000