Skip to content

Commit 434cfe2

Browse files
authored
Merge pull request #1609 from jichenjc/bug/1608
remove subnet from the output in `kubectl get`
2 parents 88a3a1d + 8f3dbff commit 434cfe2

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

api/v1alpha7/openstackcluster_types.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,6 @@ type OpenStackClusterStatus struct {
229229
// +kubebuilder:printcolumn:name="Cluster",type="string",JSONPath=".metadata.labels.cluster\\.x-k8s\\.io/cluster-name",description="Cluster to which this OpenStackCluster belongs"
230230
// +kubebuilder:printcolumn:name="Ready",type="string",JSONPath=".status.ready",description="Cluster infrastructure is ready for OpenStack instances"
231231
// +kubebuilder:printcolumn:name="Network",type="string",JSONPath=".status.network.id",description="Network the cluster is using"
232-
// +kubebuilder:printcolumn:name="Subnet",type="string",JSONPath=".status.network.subnet.id",description="Subnet the cluster is using"
233232
// +kubebuilder:printcolumn:name="Endpoint",type="string",JSONPath=".spec.controlPlaneEndpoint.host",description="API Endpoint",priority=1
234233
// +kubebuilder:printcolumn:name="Bastion IP",type="string",JSONPath=".status.bastion.floatingIP",description="Bastion address for breakglass access"
235234
// +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp",description="Time duration since creation of OpenStackCluster"

config/crd/bases/infrastructure.cluster.x-k8s.io_openstackclusters.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3674,10 +3674,6 @@ spec:
36743674
jsonPath: .status.network.id
36753675
name: Network
36763676
type: string
3677-
- description: Subnet the cluster is using
3678-
jsonPath: .status.network.subnet.id
3679-
name: Subnet
3680-
type: string
36813677
- description: API Endpoint
36823678
jsonPath: .spec.controlPlaneEndpoint.host
36833679
name: Endpoint

0 commit comments

Comments
 (0)