-
Notifications
You must be signed in to change notification settings - Fork 14
operator: Change operator management to cluster scope #974
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
Changes from all commits
67577eb
47ddd9d
db967ba
92b9db1
fd05a4e
3ca4322
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| project: operator | ||
| kind: Changed | ||
| body: Redpanda operator, by default will now reconcile Redpanda custom resource accross namespaces. If user would like to scope reconciler to particular namespace please set `--namespace` flag into operator deployment. | ||
| time: 2025-07-21T18:44:22.117328+02:00 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -16,6 +16,11 @@ import ( | |
| redpandav1alpha2 "github.com/redpanda-data/redpanda-operator/operator/api/redpanda/v1alpha2" | ||
| ) | ||
|
|
||
| // this is a nasty hack due to the fact that we can't disable the linter for typecheck | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 😬 hadn't seen that issue before
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yeah, it's gross, it happens because the linter freaks out when we're only doing type assertions/casting with an imported package (the places where we're upcasting this is the only way of getting around it since I can't mute it. We can probably upgrade
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. upgrading golangci-lint is generally pretty painful punt that to another day / week / month 😛 |
||
| // that reports sigs.k8s.io/controller-runtime/pkg/client as unused when it's solely used | ||
| // for type assertions | ||
| var _ client.Object = (client.Object)(nil) | ||
|
|
||
| func kubernetesObjectHasClusterOwner(ctx context.Context, t framework.TestingT, groupVersionKind, resourceName, clusterName string) { | ||
| var cluster redpandav1alpha2.Redpanda | ||
|
|
||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.