PostgreSQL backup tool with Point-In-Time-Recovery and restore verification
TypeScript backupbackupsdatabasedatabase-backupdevopsdockergolangkubernetesmariadbmongodbmysqlpgpostgrespostgresqls3self-hostedsystem-administrationtoolsweb-ui
FEATURE (helm): Add an optional priorityClassName value for the pod
Lucas Raschek5b2c7968eda6
diff --git a/deploy/helm/README.md b/deploy/helm/README.mdindex fb726700..8b242d6e 100644--- a/deploy/helm/README.md+++ b/deploy/helm/README.md@@ -31,6 +31,7 @@ Then open `http://localhost:4005` in your browser.| `image.tag` | Image tag | `latest` || `image.pullPolicy` | Image pull policy | `Always` || `imagePullSecrets` | Image pull secrets | `[]` |+| `priorityClassName`| Pod priority class | `""` |The chart always renders one application replica because transient cache,publish-subscribe and rate-limit state is process-local.diff --git a/deploy/helm/templates/statefulset.yaml b/deploy/helm/templates/statefulset.yamlindex d68a5156..d6d821d6 100644--- a/deploy/helm/templates/statefulset.yaml+++ b/deploy/helm/templates/statefulset.yaml@@ -41,6 +41,9 @@ spec:tolerations:{{- toYaml . | nindent 8 }}{{- end }}+ {{- with .Values.priorityClassName }}+ priorityClassName: {{ . }}+ {{- end }}{{- with .Values.podSecurityContext }}securityContext:{{- toYaml . | nindent 8 }}diff --git a/deploy/helm/values.yaml b/deploy/helm/values.yamlindex 2655edef..f2b16d32 100644--- a/deploy/helm/values.yaml+++ b/deploy/helm/values.yaml@@ -173,3 +173,6 @@ podAnnotations: {}nodeSelector: {}tolerations: []affinity: {}++# PriorityClass for the pod. Leave empty to use the cluster default.+priorityClassName: ""