diff --git a/CHANGELOG.md b/CHANGELOG.md index 2857ebdd0..6033c04c5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Added + +- Chart now allows to set `priorityClassName` for the operator pod + ### Changed - The Rsync-ssh mover now requires privileged mode to run. Previously for backwards diff --git a/helm/volsync/README.md b/helm/volsync/README.md index 8c50987e7..27cf2ecd1 100644 --- a/helm/volsync/README.md +++ b/helm/volsync/README.md @@ -155,3 +155,5 @@ on the command line or via a custom `values.yaml` file. - Allows applying tolerations to the operator pod - `affinity`: none - Allows setting the operator pod's affinity +- `priorityClassName`: none + - Sets the priorityClassName on the operator pod diff --git a/helm/volsync/templates/deployment-controller.yaml b/helm/volsync/templates/deployment-controller.yaml index f0d8b55fc..29a610d7e 100644 --- a/helm/volsync/templates/deployment-controller.yaml +++ b/helm/volsync/templates/deployment-controller.yaml @@ -99,6 +99,9 @@ spec: affinity: {{- toYaml . | nindent 8 }} {{- end }} + {{- with .Values.priorityClassName }} + priorityClassName: {{ . | quote }} + {{- end }} terminationGracePeriodSeconds: 10 {{- with .Values.tolerations }} tolerations: diff --git a/helm/volsync/values.yaml b/helm/volsync/values.yaml index fa2ad44c9..3a1c5faea 100644 --- a/helm/volsync/values.yaml +++ b/helm/volsync/values.yaml @@ -85,3 +85,5 @@ nodeSelector: {} tolerations: [] affinity: {} + +priorityClassName: ""