feat(operator): delegate paired empty security contexts - #215
Draft
GatewayJ wants to merge 1 commit into
Draft
Conversation
16 tasks
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.
Type of Change
Related Issues
Part of #206.
Summary of Changes
securityContext: {}pluscontainerSecurityContext: {}at the same scope as an explicit platform-admission delegation barrierfsGroupChangePolicy: OnRootMismatchwhile allowing SCC to assign UID, GID, FSGroup, seccomp, and container fieldsChecklist
make pre-commit(fmt-check + clippy + test + console-lint + console-fmt-check)[Unreleased](if user-visible change) — N/A; this repository does not currently containCHANGELOG.mdImpact
Update impact
10001,runAsNonRoot: true,RuntimeDefault, and the existing container hardening defaults.{}at either Pod or container level keeps the old defaults. Non-empty Tenant/Pool objects keep RustFS field-merge semantics.{}/{}pair is reinterpreted from inherited Operator defaults to platform delegation on the first reconcile after upgrade. Its StatefulSet Pod template changes and that Pool rolls. This must not be released as an unqualified patch hotfix.fsGroupPolicy, root-squash, or storage permissions can fail to mount or write.OpenShift release blockers
/dataand/logsas10001:10001mode0750; they are not arbitrary-UID compatible. A RustFS image fix and real OpenShift data read/write validation are prerequisites for claiming end-to-end support.restricted-v2.restricted-v3additionally requiresspec.hostUsers: falseand is not covered.{}preservation is still required before a production release. The generated CRD permits empty objects and the repository CRD consistency test passes, but serde/schema tests are not a substitute for that integration evidence.Verification
Additional Notes
The OpenShift Chart profile, example, preflight command, and upgrade guide are split into #216. That PR depends on this controller behavior for Tenant workloads.
Thank you for your contribution! Please ensure your PR follows the community standards (CODE_OF_CONDUCT.md) and sign the CLA if this is your first contribution.