Adding priorityClassName to helm chart (#215)

* Adding priorityClassName to helm chart and README file

* removed README and revert chart version
This commit is contained in:
Ahmad Hamade
2020-11-30 01:04:25 +01:00
committed by GitHub
parent df99f394b4
commit 837563c976
2 changed files with 8 additions and 0 deletions

View File

@@ -25,6 +25,9 @@ spec:
serviceAccountName: {{ include "actions-runner-controller.serviceAccountName" . }}
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
{{- with .Values.priorityClassName }}
priorityClassName: "{{ . }}"
{{- end }}
containers:
- args:
- "--metrics-addr=127.0.0.1:8080"

View File

@@ -79,3 +79,8 @@ nodeSelector: {}
tolerations: []
affinity: {}
# Leverage a PriorityClass to ensure your pods survive resource shortages
# ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/
# PriorityClass: system-cluster-critical
priorityClassName: ""