docs: document container security context in v1.6.6 - #3165
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
[LGTM Timeline notifier]Timeline:
|
Co-authored-by: Grace Cai <qqzczy@126.com>
|
@time-and-fate: adding LGTM is restricted to approvers and reviewers in OWNERS files. DetailsIn response to this: Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
7894b5f to
d114455
Compare
Co-authored-by: Grace Cai <qqzczy@126.com>
|
@qiancai: Your lgtm message is repeated, so it is ignored. DetailsIn response to this: Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
/approve |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: qiancai The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
In response to a cherrypick label: new pull request created to branch |
Summary
fsGroup.privilegedfields.Why
The existing guide only documents Pod-level
podSecurityContext. The feature introduced by pingcap/tidb-operator#6404 and cherry-picked torelease-1.6by pingcap/tidb-operator#6858 also lets users configure generated containers directly. Without precise scope and precedence guidance, users can select unsupported fields or create containers that cannot write to their volumes.How
TidbClusterandDMClustercomponent paths fromTidbDashboard,TidbNGMonitoring, andTidbMonitorpaths, and identify CRs that only support Pod-level settings.securityContextdisables the legacy TiKV/TiFlashprivilegedfallback.Testing
npx --yes markdownlint-cli@0.47.0 en/containers-run-as-non-root-user.md zh/containers-run-as-non-root-user.mdnpx --yes markdown-link-check@3.13.7for both changed files using the repository link-check configurationgit diff --checkRisks and Reviewer Focus
release-1.6implementation. The public v1.6.6 tag has not been published yet, so the version statement should remain aligned with the release schedule.securityContexton a deployed component changes its Pod template and triggers a rolling update.