-
Notifications
You must be signed in to change notification settings - Fork 181
WIP: Test user namespace guard #1936
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
WalkthroughUpdated go.mod to bump github.com/openshift/api to a newer pseudo-version and add a replace directive pointing github.com/openshift/library-go to github.com/tchap/library-go at a specific pseudo-version. No code changes or public API alterations. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
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 |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: tchap The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
Cache: Disabled due to data retention organization setting
Knowledge base: Disabled due to Reviews -> Disable Knowledge Base
setting
⛔ Files ignored due to path filters (43)
go.sum
is excluded by!**/*.sum
vendor/github.com/openshift/api/.golangci.yaml
is excluded by!vendor/**
,!**/vendor/**
vendor/github.com/openshift/api/Makefile
is excluded by!vendor/**
,!**/vendor/**
vendor/github.com/openshift/api/OWNERS
is excluded by!vendor/**
,!**/vendor/**
vendor/github.com/openshift/api/config/v1/types_apiserver.go
is excluded by!vendor/**
,!**/vendor/**
vendor/github.com/openshift/api/config/v1/types_authentication.go
is excluded by!vendor/**
,!**/vendor/**
vendor/github.com/openshift/api/config/v1/types_cluster_operator.go
is excluded by!vendor/**
,!**/vendor/**
vendor/github.com/openshift/api/config/v1/types_cluster_version.go
is excluded by!vendor/**
,!**/vendor/**
vendor/github.com/openshift/api/config/v1/types_infrastructure.go
is excluded by!vendor/**
,!**/vendor/**
vendor/github.com/openshift/api/config/v1/zz_generated.deepcopy.go
is excluded by!vendor/**
,!**/vendor/**
vendor/github.com/openshift/api/config/v1/zz_generated.featuregated-crd-manifests.yaml
is excluded by!vendor/**
,!**/vendor/**
vendor/github.com/openshift/api/config/v1/zz_generated.swagger_doc_generated.go
is excluded by!vendor/**
,!**/vendor/**
vendor/github.com/openshift/api/config/v1alpha1/types_cluster_monitoring.go
is excluded by!vendor/**
,!**/vendor/**
vendor/github.com/openshift/api/config/v1alpha1/zz_generated.deepcopy.go
is excluded by!vendor/**
,!**/vendor/**
vendor/github.com/openshift/api/config/v1alpha1/zz_generated.swagger_doc_generated.go
is excluded by!vendor/**
,!**/vendor/**
vendor/github.com/openshift/api/console/v1/types_console_cli_download.go
is excluded by!vendor/**
,!**/vendor/**
vendor/github.com/openshift/api/console/v1/types_console_link.go
is excluded by!vendor/**
,!**/vendor/**
vendor/github.com/openshift/api/console/v1/zz_generated.featuregated-crd-manifests.yaml
is excluded by!vendor/**
,!**/vendor/**
vendor/github.com/openshift/api/envtest-releases.yaml
is excluded by!vendor/**
,!**/vendor/**
vendor/github.com/openshift/api/features.md
is excluded by!vendor/**
,!**/vendor/**
vendor/github.com/openshift/api/features/features.go
is excluded by!vendor/**
,!**/vendor/**
vendor/github.com/openshift/api/features/legacyfeaturegates.go
is excluded by!vendor/**
,!**/vendor/**
vendor/github.com/openshift/api/imageregistry/v1/types.go
is excluded by!vendor/**
,!**/vendor/**
vendor/github.com/openshift/api/imageregistry/v1/zz_generated.featuregated-crd-manifests.yaml
is excluded by!vendor/**
,!**/vendor/**
vendor/github.com/openshift/api/legacyconfig/v1/types.go
is excluded by!vendor/**
,!**/vendor/**
vendor/github.com/openshift/api/legacyconfig/v1/zz_generated.swagger_doc_generated.go
is excluded by!vendor/**
,!**/vendor/**
vendor/github.com/openshift/api/machine/v1/types_controlplanemachineset.go
is excluded by!vendor/**
,!**/vendor/**
vendor/github.com/openshift/api/machine/v1/zz_generated.swagger_doc_generated.go
is excluded by!vendor/**
,!**/vendor/**
vendor/github.com/openshift/api/machine/v1beta1/types_machinehealthcheck.go
is excluded by!vendor/**
,!**/vendor/**
vendor/github.com/openshift/api/machine/v1beta1/zz_generated.swagger_doc_generated.go
is excluded by!vendor/**
,!**/vendor/**
vendor/github.com/openshift/api/operator/v1/types_etcd.go
is excluded by!vendor/**
,!**/vendor/**
vendor/github.com/openshift/api/operator/v1/types_ingress.go
is excluded by!vendor/**
,!**/vendor/**
vendor/github.com/openshift/api/operator/v1/types_machineconfiguration.go
is excluded by!vendor/**
,!**/vendor/**
vendor/github.com/openshift/api/operator/v1/zz_generated.crd-manifests/0000_80_machine-config_01_machineconfigurations-CustomNoUpgrade.crd.yaml
is excluded by!vendor/**
,!**/vendor/**
vendor/github.com/openshift/api/operator/v1/zz_generated.crd-manifests/0000_80_machine-config_01_machineconfigurations-Default.crd.yaml
is excluded by!vendor/**
,!**/vendor/**
vendor/github.com/openshift/api/operator/v1/zz_generated.crd-manifests/0000_80_machine-config_01_machineconfigurations-DevPreviewNoUpgrade.crd.yaml
is excluded by!vendor/**
,!**/vendor/**
vendor/github.com/openshift/api/operator/v1/zz_generated.crd-manifests/0000_80_machine-config_01_machineconfigurations-TechPreviewNoUpgrade.crd.yaml
is excluded by!vendor/**
,!**/vendor/**
vendor/github.com/openshift/api/operator/v1/zz_generated.deepcopy.go
is excluded by!vendor/**
,!**/vendor/**
vendor/github.com/openshift/api/operator/v1/zz_generated.featuregated-crd-manifests.yaml
is excluded by!vendor/**
,!**/vendor/**
vendor/github.com/openshift/api/operator/v1/zz_generated.swagger_doc_generated.go
is excluded by!vendor/**
,!**/vendor/**
vendor/github.com/openshift/library-go/pkg/operator/staticpod/controller/guard/manifests/guard-pod.yaml
is excluded by!vendor/**
,!**/vendor/**
vendor/github.com/openshift/library-go/pkg/operator/staticpod/installerpod/cmd.go
is excluded by!vendor/**
,!**/vendor/**
vendor/modules.txt
is excluded by!vendor/**
,!**/vendor/**
📒 Files selected for processing (1)
go.mod
(2 hunks)
🔇 Additional comments (1)
go.mod (1)
18-18
: Please ensure go.sum is updated for the bumped github.com/openshift/api version.After switching to
v0.0.0-20251002150504-230d0e045316
, rungo mod tidy
(orgo mod download
) and commit the resultinggo.sum
changes so builds remain reproducible.
|
||
replace github.com/onsi/ginkgo/v2 => github.com/openshift/onsi-ginkgo/v2 v2.6.1-0.20241205171354-8006f302fd12 | ||
|
||
replace github.com/openshift/library-go => github.com/tchap/library-go v0.0.0-20251013153025-ad7b256f0f77 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Replace directive must not point to personal fork in mainline.
Keeping github.com/openshift/library-go
replaced with github.com/tchap/library-go
ties the operator build to a personal fork. That breaks supply-chain provenance, bypasses our regular CI on the upstream repo, and will block downstream consumers that vendor this module. Please drop the replace (or land the needed changes upstream and consume the official pseudo-version) before this PR merges.
🤖 Prompt for AI Agents
In go.mod around line 137, the replace directive points to a personal fork
(github.com/tchap/library-go) which must not be referenced in mainline; remove
the replace directive from go.mod (or instead upstream the changes and update
the dependency to the official module/pseudo-version), then run `go mod tidy`
(and `go mod vendor` if you vendor) to ensure module graph is consistent and CI
will use the upstream module.
@tchap: The following test failed, say
Full PR test history. Your PR dashboard. 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. I understand the commands that are listed here. |
Just testing openshift/library-go#2031