Skip to content

Commit

Permalink
Fix: Update pni scope to namespaced (#2282)
Browse files Browse the repository at this point in the history
update pni scope to namespaced
  • Loading branch information
aggarwal0009 authored Oct 9, 2023
1 parent f46a430 commit 131cf7a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crd/multitenancy/api/v1alpha1/podnetworkinstance.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
// +kubebuilder:object:root=true

// PodNetworkInstance is the Schema for the PodNetworkInstances API
// +kubebuilder:resource:shortName=pni,scope=Cluster
// +kubebuilder:resource:shortName=pni,scope=Namespaced
// +kubebuilder:subresource:status
// +kubebuilder:metadata:labels=managed=
// +kubebuilder:metadata:labels=owner=
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ spec:
shortNames:
- pni
singular: podnetworkinstance
scope: Cluster
scope: Namespaced
versions:
- additionalPrinterColumns:
- jsonPath: .status.podIPAddresses
Expand Down

0 comments on commit 131cf7a

Please sign in to comment.