Fix: Update pni scope to namespaced (#2282)
update pni scope to namespaced
This commit is contained in:
Родитель
f46a4306a3
Коммит
131cf7a239
|
@ -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=
|
||||
|
|
|
@ -17,7 +17,7 @@ spec:
|
|||
shortNames:
|
||||
- pni
|
||||
singular: podnetworkinstance
|
||||
scope: Cluster
|
||||
scope: Namespaced
|
||||
versions:
|
||||
- additionalPrinterColumns:
|
||||
- jsonPath: .status.podIPAddresses
|
||||
|
|
Загрузка…
Ссылка в новой задаче