Skip to content

Commit 1116f7e

Browse files
authored
Update MTPNC scope (#2186)
* update mtpnc scope * update mtpnc scope to Namespaced
1 parent 9ace4b7 commit 1116f7e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

crd/multitenancy/api/v1alpha1/multitenantpodnetworkconfig.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212
// +kubebuilder:object:root=true
1313

1414
// MultitenantPodNetworkConfig is the Schema for the multitenantpodnetworkconfigs API
15-
// +kubebuilder:resource:shortName=mtpnc,scope=Cluster
15+
// +kubebuilder:resource:shortName=mtpnc,scope=Namespaced
1616
// +kubebuilder:subresource:status
1717
// +kubebuilder:metadata:labels=managed=
1818
// +kubebuilder:metadata:labels=owner=

crd/multitenancy/manifests/multitenancy.acn.azure.com_multitenantpodnetworkconfigs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ spec:
1717
shortNames:
1818
- mtpnc
1919
singular: multitenantpodnetworkconfig
20-
scope: Cluster
20+
scope: Namespaced
2121
versions:
2222
- additionalPrinterColumns:
2323
- jsonPath: .spec.podNetworkInstance

0 commit comments

Comments
 (0)