Skip to content

Commit 2d2128d

Browse files
committed
add bootstrapref
1 parent 6743913 commit 2d2128d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apis/v1beta1/vspherevm_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ type VSphereVMStatus struct {
195195
// +Metrics:labelFromPath:name="namespace",JSONPath=".metadata.namespace"
196196
// +Metrics:labelFromPath:name="uid",JSONPath=".metadata.uid"
197197
// +Metrics:labelFromPath:name="cluster_name",JSONPath=.metadata.labels.cluster\.x-k8s\.io/cluster-name
198-
// +Metrics:info:name="info",help="Information about a vspherevm.",labelsFromPath={status_clonemode:.status.cloneMode}
198+
// +Metrics:info:name="info",help="Information about a vspherevm.",labelsFromPath={status_clonemode:.status.cloneMode,bootstrap_reference_kind:".spec.bootstrapRef.kind",bootstrap_reference_name:".spec.infrastructureRef.name"}
199199
type VSphereVM struct {
200200
metav1.TypeMeta `json:",inline"`
201201
// +Metrics:gauge:name="created",JSONPath=".creationTimestamp",help="Unix creation timestamp."

0 commit comments

Comments
 (0)