Repository navigation
Conversation
…opt-in Signed-off-by: Baylem <zelathis@gmail.com>
Signed-off-by: Baylem <zelathis@gmail.com>
Signed-off-by: Baylem <zelathis@gmail.com>
Signed-off-by: Baylem <zelathis@gmail.com>
Signed-off-by: Baylem <zelathis@gmail.com>
Signed-off-by: Baylem <zelathis@gmail.com>
Signed-off-by: Baylem <zelathis@gmail.com>
Signed-off-by: Baylem <zelathis@gmail.com>
Signed-off-by: Baylem <zelathis@gmail.com>
Signed-off-by: Baylem <zelathis@gmail.com>
Signed-off-by: Baylem <zelathis@gmail.com>
Signed-off-by: Baylem <zelathis@gmail.com>
Signed-off-by: Baylem <zelathis@gmail.com>
Signed-off-by: Baylem <zelathis@gmail.com>
Signed-off-by: Baylem <zelathis@gmail.com>
Signed-off-by: Baylem <zelathis@gmail.com>
Signed-off-by: Baylem <zelathis@gmail.com>
Signed-off-by: Baylem <zelathis@gmail.com>
Signed-off-by: Baylem <zelathis@gmail.com>
Signed-off-by: Baylem <zelathis@gmail.com>
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 17 minutes. View limit details
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. |
This was referenced Nov 5, 2026
CI Report - e4695f6run 42295401843 - attempt 1 0 failed - 1 passed - 0 skipped - 32 cancelled - 23m0s elapsed Test selection: full (selection-rule change) - per-suite table Coverageno coverage/* commit statuses found on e4695f6 Changed
Slowest jobs
e2e buckets run
|
Baylem
marked this pull request as ready for review
November 6, 2026 06:56
Signed-off-by: Baylem <zelathis@gmail.com>
Signed-off-by: Baylem <zelathis@gmail.com>
Signed-off-by: Baylem <zelathis@gmail.com>
Signed-off-by: Baylem <zelathis@gmail.com>
Signed-off-by: Baylem <zelathis@gmail.com>
Signed-off-by: Baylem <zelathis@gmail.com>
Signed-off-by: Baylem <zelathis@gmail.com>
Signed-off-by: Baylem <zelathis@gmail.com>
This branch has not been deployed
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.
Supersedes #764 using the same reviewed commits on an upstream branch, enabling GitHub's native stacking. Prior review discussion remains on that PR. Current-head CI passed.
Native stack, bottom to top: #833 → #834 → #835 → #836.
Restricted admission currently rejects the game workload's security settings and the packet-capture exception. This change renders an opt-in Restricted workload profile and projects rotating Kubernetes credentials only into the agent container.
Capture uses a separate, short-lived node worker when an administrator explicitly opts that server in. Both the installation and server opt-ins default off. The action is audited before granting access, requires administrator scope on the selected cluster, and cannot be inherited by cloning or enabled through generic server edits. Starting capture does not restart or inject a container into the game Pod.
The worker pins the GameServer, Pod and containerd identities, has bounded duration/storage and no Kubernetes token, hostPath or runtime socket. Its hostPID and SYS_ADMIN/SYS_PTRACE/NET_RAW capabilities still require node-level trust. Support is Linux/containerd with standard cgroup paths and eth0. Retained artifacts are served by a separate unprivileged Pod over mTLS; revocation, TTL, direct capture deletion and GameServer deletion drain workers and clean up cross-namespace resources.
Validation: production operator/API/capture builds and changed regression-source compilation passed; actionlint and offline zizmor passed. Tests were not executed locally under repository policy. CI adds real Restricted admission, compatible/incompatible template behavior, persisted data across profile upgrade, projected-token rotation, capture/download without game restart, revocation and garbage collection on amd64/arm64. Runtime guarantees remain subject to those CI results.
Integration: preserve #757's namespace-scoped Secret cache/RBAC and #756's snapshot-source authorization when resolving the overlapping operator/API files. The diagnostics Secret reads use the uncached reader and a diagnostics-only Role.
Closes #714.
Restricted workload upgrades now preserve shared-group access to root-created configuration files. Unsupported Hostport exposure is rejected before template admission or rollout. Generic server edits preserve an omitted administrator capture opt-in; explicit changes still require the dedicated administrator action. Diagnostics defaults also work when upgrading older releases with reused values.
Diagnostics namespace validation now covers every configured managed-game, control-plane, agent-CA and module namespace plus the actual operator deployment namespace. Startup and reconciliation share the same validation and reject missing, wildcard or malformed protected scopes.
Diagnostics authorization checks administrator permissions on the selected cluster even when the caller is a home-cluster administrator. A remote namespace capture grant cannot grant host-level diagnostics. The namespace-validation failure path and capture-sidecar module manifest are also corrected.
CI installs Trivy v0.74.0 directly from its official GitHub release with bounded retries and a pinned SHA-256 checksum. The existing vulnerability scans and failure gates remain enabled.
November 6 follow-up: Includes the reviewed stopped-backup cleanup regression from #833. All six affected standalone Go modules now select
github.com/klauspost/compressv1.20.2 to fix GO-2026-6865. Module and workspace checksums are included. The patch was independently reviewed; standalone Linux builds, affected feature builds and controller regression-source compilation passed. Runtime tests and security scans run in CI under repository policy.Current validation: all 105 main CI jobs passed on
fbdb1c25(CI run). All other applicable workflows passed.