Skip to content

Commit b299334

Browse files
authored
Merge pull request #624 from jichenjc/changeName
nit: update name of `get` output for openstackmachine
2 parents e95dd44 + 5c5ec4a commit b299334

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

api/v1alpha3/openstackmachine_types.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,9 +125,9 @@ type OpenStackMachineStatus struct {
125125
// +kubebuilder:storageversion
126126
// +kubebuilder:subresource:status
127127
// +kubebuilder:printcolumn:name="Cluster",type="string",JSONPath=".metadata.labels.cluster\\.x-k8s\\.io/cluster-name",description="Cluster to which this OpenStackMachine belongs"
128-
// +kubebuilder:printcolumn:name="State",type="string",JSONPath=".status.instanceState",description="OpenStack instance state"
128+
// +kubebuilder:printcolumn:name="InstanceState",type="string",JSONPath=".status.instanceState",description="OpenStack instance state"
129129
// +kubebuilder:printcolumn:name="Ready",type="string",JSONPath=".status.ready",description="Machine ready status"
130-
// +kubebuilder:printcolumn:name="InstanceID",type="string",JSONPath=".spec.providerID",description="OpenStack instance ID"
130+
// +kubebuilder:printcolumn:name="ProviderID",type="string",JSONPath=".spec.providerID",description="OpenStack instance ID"
131131
// +kubebuilder:printcolumn:name="Machine",type="string",JSONPath=".metadata.ownerReferences[?(@.kind==\"Machine\")].name",description="Machine object which owns with this OpenStackMachine"
132132

133133
// OpenStackMachine is the Schema for the openstackmachines API

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,15 @@ spec:
2525
type: string
2626
- description: OpenStack instance state
2727
jsonPath: .status.instanceState
28-
name: State
28+
name: InstanceState
2929
type: string
3030
- description: Machine ready status
3131
jsonPath: .status.ready
3232
name: Ready
3333
type: string
3434
- description: OpenStack instance ID
3535
jsonPath: .spec.providerID
36-
name: InstanceID
36+
name: ProviderID
3737
type: string
3838
- description: Machine object which owns with this OpenStackMachine
3939
jsonPath: .metadata.ownerReferences[?(@.kind=="Machine")].name

0 commit comments

Comments
 (0)