Skip to content

Commit 9b6e7fc

Browse files
Removing unused fields
1 parent c2bbd84 commit 9b6e7fc

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

crd/multitenancy/api/v1alpha1/podnetwork.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import (
1919
// +kubebuilder:printcolumn:name="Network",type=string,priority=1,JSONPath=`.spec.networkID`
2020
// +kubebuilder:printcolumn:name="Subnet",type=string,priority=1,JSONPath=`.spec.subnetResourceID`
2121
// +kubebuilder:printcolumn:name="SubnetGUID",type=string,priority=1,JSONPath=`.spec.subnetGUID`
22-
// +kubebuilder:printcolumn:name="DeviceType",type=string,priority=1,JSONPath=`.spec.subnetGUID`
22+
// +kubebuilder:printcolumn:name="DeviceType",type=string,priority=1,JSONPath=`.spec.deviceType`
2323
type PodNetwork struct {
2424
metav1.TypeMeta `json:",inline"`
2525
metav1.ObjectMeta `json:"metadata,omitempty"`

crd/multitenancy/api/v1alpha1/podnetworkinstance.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import (
1717
// +kubebuilder:metadata:labels=managed=
1818
// +kubebuilder:metadata:labels=owner=
1919
// +kubebuilder:printcolumn:name="Status",type=string,JSONPath=`.status.status`
20-
// +kubebuilder:printcolumn:name="PodNetworks",priority=1,type=string,JSONPath=`.spec.podNetworks`
20+
// +kubebuilder:printcolumn:name="PodNetworks",priority=1,type=string,JSONPath=`.spec.podNetworkConfigs[*].podNetwork`
2121
type PodNetworkInstance struct {
2222
metav1.TypeMeta `json:",inline"`
2323
metav1.ObjectMeta `json:"metadata,omitempty"`

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ spec:
2323
- jsonPath: .status.status
2424
name: Status
2525
type: string
26-
- jsonPath: .spec.podNetworks
26+
- jsonPath: .spec.podNetworkConfigs[*].podNetwork
2727
name: PodNetworks
2828
priority: 1
2929
type: string

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ spec:
3737
name: SubnetGUID
3838
priority: 1
3939
type: string
40-
- jsonPath: .spec.subnetGUID
40+
- jsonPath: .spec.deviceType
4141
name: DeviceType
4242
priority: 1
4343
type: string

0 commit comments

Comments
 (0)