Skip to content

Commit fc89384

Browse files
committed
Remove genclient:Namespaced tag
This tag isn't used by controller-tools, only `nonNamespaced` is. Context: https://cloud-native.slack.com/archives/CLAJ40HV3/p1708794732147909 Tested by running `make generate` and verifying that there is no diff.
1 parent 4de0503 commit fc89384

File tree

3 files changed

+0
-3
lines changed

3 files changed

+0
-3
lines changed

api/v1/kustomization_types.go

-1
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,6 @@ func (in *Kustomization) SetConditions(conditions []metav1.Condition) {
289289
}
290290

291291
// +genclient
292-
// +genclient:Namespaced
293292
// +kubebuilder:storageversion
294293
// +kubebuilder:object:root=true
295294
// +kubebuilder:resource:shortName=ks

api/v1beta1/kustomization_types.go

-1
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,6 @@ const (
271271
)
272272

273273
// +genclient
274-
// +genclient:Namespaced
275274
// +kubebuilder:object:root=true
276275
// +kubebuilder:resource:shortName=ks
277276
// +kubebuilder:subresource:status

api/v1beta2/kustomization_types.go

-1
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,6 @@ func (in *Kustomization) GetStatusConditions() *[]metav1.Condition {
304304
}
305305

306306
// +genclient
307-
// +genclient:Namespaced
308307
// +kubebuilder:object:root=true
309308
// +kubebuilder:resource:shortName=ks
310309
// +kubebuilder:subresource:status

0 commit comments

Comments
 (0)