Update RKE2 CIS profile and add backupstore network policy#2966
Merged
yangchiu merged 2 commits intoDec 26, 2025
Merged
Conversation
roger-ryao
force-pushed
the
add-backupstore-networkpolicy-and-update-cis-profile
branch
3 times, most recently
from
December 23, 2025 09:56
15307df to
129c85e
Compare
yangchiu
requested changes
Dec 26, 2025
| useradd -r -c "etcd user" -s /sbin/nologin -M etcd -U | ||
| cat << EOF >> /etc/rancher/rke2/config.yaml | ||
| profile: "cis-1.23" | ||
| profile: "cis" |
Member
There was a problem hiding this comment.
Can we also enable CIS hardening in K3S?
Contributor
Author
There was a problem hiding this comment.
Can we also enable CIS hardening in K3S?
Theoretically, yes. However, my previous survey showed that K3s CIS hardening takes much more time to prepare and test. So, I plan to finish the RKE2 part first. I will look into how to implement it for K3s after the v1.11.0 release.
cc @derekbit
- Add install_backupstores_networkpolicy function to install backupstore network policy - Apply backupstore network policy in pipeline setup scripts (regression, e2e, helm, rancher, storage_network) - Update RKE2 CIS profile from 'cis-1.23' to 'cis' for latest CIS benchmark support longhorn/longhorn#11672 Signed-off-by: Roger Yao <roger.yao@suse.com>
roger-ryao
force-pushed
the
add-backupstore-networkpolicy-and-update-cis-profile
branch
from
December 26, 2025 10:38
129c85e to
33f42f8
Compare
yangchiu
approved these changes
Dec 26, 2025
roger-ryao
deleted the
add-backupstore-networkpolicy-and-update-cis-profile
branch
June 28, 2026 10:42
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Which issue(s) this PR fixes:
longhorn/longhorn#11672
What this PR does / why we need it:
Special notes for your reviewer:
Hi @yangchiu
Following up on our discussion last week, I've applied the specific cluster configuration (No CIS profile + Network Policy enabled) to the general regression tests.
Could you please review the changes?
Additional documentation or context