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
|
// +kubebuilder:object:root=true
|
||||||
|
|
||||||
// PodNetworkInstance is the Schema for the PodNetworkInstances API
|
// PodNetworkInstance is the Schema for the PodNetworkInstances API
|
||||||
// +kubebuilder:resource:shortName=pni,scope=Cluster
|
// +kubebuilder:resource:shortName=pni,scope=Namespaced
|
||||||
// +kubebuilder:subresource:status
|
// +kubebuilder:subresource:status
|
||||||
// +kubebuilder:metadata:labels=managed=
|
// +kubebuilder:metadata:labels=managed=
|
||||||
// +kubebuilder:metadata:labels=owner=
|
// +kubebuilder:metadata:labels=owner=
|
||||||
|
|
|
@ -17,7 +17,7 @@ spec:
|
||||||
shortNames:
|
shortNames:
|
||||||
- pni
|
- pni
|
||||||
singular: podnetworkinstance
|
singular: podnetworkinstance
|
||||||
scope: Cluster
|
scope: Namespaced
|
||||||
versions:
|
versions:
|
||||||
- additionalPrinterColumns:
|
- additionalPrinterColumns:
|
||||||
- jsonPath: .status.podIPAddresses
|
- jsonPath: .status.podIPAddresses
|
||||||
|
|
Загрузка…
Ссылка в новой задаче