feat(helm): add priorityClassName attribute (#3301)

Co-authored-by: houseme <housemecn@gmail.com>
This commit is contained in:
Julien Pervillé
2026-06-09 16:07:41 +02:00
committed by GitHub
parent c4d0d395af
commit 992de65c58
4 changed files with 7 additions and 0 deletions
+1
View File
@@ -61,6 +61,7 @@ RustFS helm chart supports **standalone and distributed mode**. For standalone m
| containerSecurityContext.capabilities.drop[0] | string | `"ALL"` | |
| containerSecurityContext.readOnlyRootFilesystem | bool | `true` | |
| containerSecurityContext.runAsNonRoot | bool | `true` | |
| priorityClassName | string | `""` | |
| enableServiceLinks | bool | `false` | |
| extraManifests | list | `[]` | List of additional k8s manifests. |
| fullnameOverride | string | `""` | |
+1
View File
@@ -64,6 +64,7 @@ spec:
tolerations:
{{- toYaml .Values.tolerations | nindent 8 }}
{{- end }}
priorityClassName: {{ .Values.priorityClassName }}
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
initContainers:
+1
View File
@@ -65,6 +65,7 @@ spec:
topologySpreadConstraints:
{{- toYaml .Values.topologySpreadConstraints.constraints | nindent 8 }}
{{- end }}
priorityClassName: {{ .Values.priorityClassName }}
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
initContainers:
+4
View File
@@ -169,6 +169,10 @@ containerSecurityContext:
allowPrivilegeEscalation: false
runAsNonRoot: true
# Name of an existing PriorityClass to assign, defining the importance of the pods compared to other pods in the cluster.
# Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/
priorityClassName: ""
service:
annotations: {}
headlessAnnotations: {} # Applied to the headless Service when mode.distributed.enabled=true