Skip to content

Commit 027c199

Browse files
authored
Merge pull request #43 from cluangmanee/chatchai/feat/bazel-set-priority-class
feat(bazel-remote): support priority class
2 parents 4db6ba1 + 7c7652c commit 027c199

File tree

4 files changed

+9
-3
lines changed

4 files changed

+9
-3
lines changed

charts/bazel-remote/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: bazel-remote
33
description: |-
44
Helm chart to deploy [bazel-remote](https://github.com/buchgr/bazel-remote).
55
type: application
6-
version: 0.0.5
6+
version: 0.0.6
77
appVersion: v2.4.1
88
home: https://github.com/slamdev/helm-charts/tree/master/charts/bazel-remote
99
icon: https://bazel.build/images/bazel-icon.svg

charts/bazel-remote/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ Helm chart to deploy [bazel-remote](https://github.com/buchgr/bazel-remote).
3333
| nodeSelector | object | `{}` | node for scheduler pod assignment |
3434
| podAnnotations | object | `{}` | annotations to add to the pod |
3535
| podSecurityContext | object | `{}` | specifies security settings for a pod |
36+
| priorityClassName | string | `""` | set priority class for a pod |
3637
| readinessProbe.httpGet.path | string | `"/status"` | path for readiness probe |
3738
| readinessProbe.httpGet.port | string | `"http"` | port for readiness probe |
3839
| replicaCount | int | `1` | number of replicas for bazel-remote deployment. |

charts/bazel-remote/templates/_pod.tpl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,5 +66,7 @@ spec:
6666
tolerations:
6767
{{- toYaml . | nindent 4 }}
6868
{{- end }}
69-
69+
{{- with .Values.priorityClassName }}
70+
priorityClassName: {{ . }}
71+
{{- end }}
7072
{{- end -}}

charts/bazel-remote/values.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,4 +149,7 @@ updateStrategy: {}
149149
# rollingUpdate:
150150
# maxSurge: 0
151151
# maxUnavailable: 25%
152-
# type: RollingUpdate
152+
# type: RollingUpdate
153+
154+
# priorityClassName -- set priority class
155+
# priorityClassName: system-cluster-critical

0 commit comments

Comments
 (0)