From 102cfe22a9590e084cb7f9e00d6e09c6789393ac Mon Sep 17 00:00:00 2001 From: ckittelmann Date: Fri, 22 Sep 2023 16:32:15 +0200 Subject: [PATCH] added priorityClassName support for github-actions-runner-operator Signed-off-by: ckittelmann --- .../github-actions-runner-operator/templates/deployment.yaml | 3 +++ charts/github-actions-runner-operator/values.yaml | 2 ++ 2 files changed, 5 insertions(+) diff --git a/charts/github-actions-runner-operator/templates/deployment.yaml b/charts/github-actions-runner-operator/templates/deployment.yaml index 0cf79d4..18d1f36 100644 --- a/charts/github-actions-runner-operator/templates/deployment.yaml +++ b/charts/github-actions-runner-operator/templates/deployment.yaml @@ -64,6 +64,9 @@ spec: {{- with .Values.nodeSelector }} nodeSelector: {{- toYaml . | nindent 8 }} {{- end }} + {{- if .Values.priorityClassName }} + priorityClassName: {{ .Values.priorityClassName }} + {{- end }} {{- with .Values.affinity }} affinity: {{- toYaml . | nindent 8 }} {{- end }} diff --git a/charts/github-actions-runner-operator/values.yaml b/charts/github-actions-runner-operator/values.yaml index 9e0f9bd..b969ba4 100644 --- a/charts/github-actions-runner-operator/values.yaml +++ b/charts/github-actions-runner-operator/values.yaml @@ -59,6 +59,8 @@ resources: {} nodeSelector: {} +priorityClassName: "" + tolerations: [] affinity: {}