mirror of
https://github.com/outbackdingo/vaultwarden.git
synced 2026-01-27 10:20:51 +00:00
feat: allow configuring pod priority class
This commit is contained in:
committed by
Lester Guerzon
parent
621d484717
commit
dd0520f87b
@@ -13,5 +13,5 @@ maintainers:
|
||||
- name: guerzon
|
||||
email: guerzon@proton.me
|
||||
url: https://github.com/guerzon
|
||||
version: 0.34.3
|
||||
version: 0.34.4
|
||||
kubeVersion: ">=1.12.0-0"
|
||||
|
||||
@@ -390,6 +390,7 @@ helm -n $NAMESPACE uninstall $RELEASE_NAME
|
||||
| `nodeSelector` | Node labels for pod assignment | `{}` |
|
||||
| `affinity` | Affinity for pod assignment | `{}` |
|
||||
| `tolerations` | Tolerations for pod assignment | `[]` |
|
||||
| `priorityClassName` | Assign a priority class to pods | `""` |
|
||||
| `serviceAccount.create` | Create a service account | `true` |
|
||||
| `serviceAccount.name` | Name of the service account to create | `vaultwarden-svc` |
|
||||
| `podSecurityContext` | Pod security options | `{}` |
|
||||
|
||||
@@ -15,6 +15,9 @@ affinity:
|
||||
tolerations:
|
||||
{{- toYaml . | nindent 2 }}
|
||||
{{- end }}
|
||||
{{- with .Values.priorityClassName }}
|
||||
priorityClassName: {{ . | quote }}
|
||||
{{- end }}
|
||||
{{- with .Values.podSecurityContext }}
|
||||
securityContext:
|
||||
{{- toYaml . | nindent 2 }}
|
||||
@@ -235,4 +238,4 @@ serviceAccountName: {{ .Values.serviceAccount.name }}
|
||||
imagePullSecrets:
|
||||
{{- toYaml . | nindent 2 }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
@@ -112,6 +112,11 @@ affinity: {}
|
||||
##
|
||||
tolerations: []
|
||||
|
||||
## @param priorityClassName Assign a priority class to pods
|
||||
## Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/
|
||||
##
|
||||
priorityClassName: ""
|
||||
|
||||
## @param serviceAccount.create Create a service account
|
||||
## @param serviceAccount.name Name of the service account to create
|
||||
##
|
||||
|
||||
Reference in New Issue
Block a user