Skip to content

require privileged mode for rsync-ssh mover - #2087

Merged
openshift-merge-bot[bot] merged 1 commit into
backube:mainfrom
tesshuflower:rsync-ssh-disable-without-privileged
Aug 13, 2026
Merged

require privileged mode for rsync-ssh mover#2087
openshift-merge-bot[bot] merged 1 commit into
backube:mainfrom
tesshuflower:rsync-ssh-disable-without-privileged

Conversation

@tesshuflower

Copy link
Copy Markdown
Contributor

Describe what this PR does

The older rsync mover over ssh always required elevated permissions, and this was allowed to avoid any breakages when movers were introduced that included un-elevated permissions by default.

Now enough time has passed where users should have migrated to the Rsync-TLS mover which does support unprivileged mode.

This change requires the privileged annotation on the namespace to be able to use the rsync ssh mover at all, aligning with the other movers where the annotation is required to run in privileged mode.

Is there anything that requires special attention?

Related issues:

Signed-off-by: Tesshu Flower <tflower@redhat.com>
@sonarqubecloud

Copy link
Copy Markdown

@codecov

codecov Bot commented Aug 13, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 75.00000% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 68.6%. Comparing base (2b90059) to head (91adde2).
⚠️ Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
internal/controller/mover/rsync/mover.go 0.0% 2 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##            main   #2087     +/-   ##
=======================================
- Coverage   68.7%   68.6%   -0.2%     
=======================================
  Files         58      58             
  Lines       6056    6058      +2     
=======================================
- Hits        4164    4158      -6     
- Misses      1581    1586      +5     
- Partials     311     314      +3     
Files with missing lines Coverage Δ
internal/controller/mover/rsync/builder.go 91.7% <100.0%> (ø)
internal/controller/mover/rsync/mover.go 77.3% <0.0%> (-0.6%) ⬇️

... and 1 file with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@tesshuflower

Copy link
Copy Markdown
Contributor Author

/cc @JohnStrunk

Do you mind reviewing?

@openshift-ci
openshift-ci Bot requested a review from JohnStrunk August 13, 2026 17:35

@JohnStrunk JohnStrunk left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@openshift-ci

openshift-ci Bot commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: JohnStrunk, tesshuflower

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:
  • OWNERS [JohnStrunk,tesshuflower]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-bot
openshift-merge-bot Bot merged commit 938d599 into backube:main Aug 13, 2026
38 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants