Skip to content

Commit

Permalink
feat(bazel-remote): support priority class
Browse files Browse the repository at this point in the history
  • Loading branch information
chatchai-level committed Jun 12, 2023
1 parent 4db6ba1 commit 7c7652c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/bazel-remote/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: bazel-remote
description: |-
Helm chart to deploy [bazel-remote](https://github.com/buchgr/bazel-remote).
type: application
version: 0.0.5
version: 0.0.6
appVersion: v2.4.1
home: https://github.com/slamdev/helm-charts/tree/master/charts/bazel-remote
icon: https://bazel.build/images/bazel-icon.svg
Expand Down
1 change: 1 addition & 0 deletions charts/bazel-remote/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ Helm chart to deploy [bazel-remote](https://github.com/buchgr/bazel-remote).
| nodeSelector | object | `{}` | node for scheduler pod assignment |
| podAnnotations | object | `{}` | annotations to add to the pod |
| podSecurityContext | object | `{}` | specifies security settings for a pod |
| priorityClassName | string | `""` | set priority class for a pod |
| readinessProbe.httpGet.path | string | `"/status"` | path for readiness probe |
| readinessProbe.httpGet.port | string | `"http"` | port for readiness probe |
| replicaCount | int | `1` | number of replicas for bazel-remote deployment. |
Expand Down
4 changes: 3 additions & 1 deletion charts/bazel-remote/templates/_pod.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -66,5 +66,7 @@ spec:
tolerations:
{{- toYaml . | nindent 4 }}
{{- end }}

{{- with .Values.priorityClassName }}
priorityClassName: {{ . }}
{{- end }}
{{- end -}}
5 changes: 4 additions & 1 deletion charts/bazel-remote/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -149,4 +149,7 @@ updateStrategy: {}
# rollingUpdate:
# maxSurge: 0
# maxUnavailable: 25%
# type: RollingUpdate
# type: RollingUpdate

# priorityClassName -- set priority class
# priorityClassName: system-cluster-critical

0 comments on commit 7c7652c

Please sign in to comment.