Skip to content

Commit 6521cb4

Browse files
committed
Show openstackcluster ENDPOINT
Fix to show ENDPOINT by kubectl get openstackcluster -o wide
1 parent e5037a9 commit 6521cb4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

api/v1alpha3/openstackcluster_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ type OpenStackClusterStatus struct {
149149
// +kubebuilder:printcolumn:name="Ready",type="string",JSONPath=".status.ready",description="Cluster infrastructure is ready for OpenStack instances"
150150
// +kubebuilder:printcolumn:name="Network",type="string",JSONPath=".status.network.id",description="Network the cluster is using"
151151
// +kubebuilder:printcolumn:name="Subnet",type="string",JSONPath=".status.network.subnet.id",description="Subnet the cluster is using"
152-
// +kubebuilder:printcolumn:name="Endpoint",type="string",JSONPath=".status.network.apiServerLoadBalancer.IP",description="API Endpoint",priority=1
152+
// +kubebuilder:printcolumn:name="Endpoint",type="string",JSONPath=".status.network.apiServerLoadBalancer.ip",description="API Endpoint",priority=1
153153

154154
// OpenStackCluster is the Schema for the openstackclusters API
155155
type OpenStackCluster struct {

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ spec:
3636
name: Subnet
3737
type: string
3838
- description: API Endpoint
39-
jsonPath: .status.network.apiServerLoadBalancer.IP
39+
jsonPath: .status.network.apiServerLoadBalancer.ip
4040
name: Endpoint
4141
priority: 1
4242
type: string

0 commit comments

Comments
 (0)