diff --git a/apis/apps/v1alpha1/collaset_types.go b/apis/apps/v1alpha1/collaset_types.go index 586e3496..5fc026d8 100644 --- a/apis/apps/v1alpha1/collaset_types.go +++ b/apis/apps/v1alpha1/collaset_types.go @@ -231,7 +231,7 @@ type CollaSetCondition struct { Status corev1.ConditionStatus `json:"status,omitempty"` // Last time the condition transitioned from one status to another. - LastTransitionTime metav1.Time `json:"last_transition_time,omitempty"` + LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty"` // The reason for the condition's last transition. Reason string `json:"reason,omitempty"` diff --git a/config/crd/bases/apps.kafed.io_collasets.yaml b/config/crd/bases/apps.kafed.io_collasets.yaml index 1288c192..6f57b5f4 100644 --- a/config/crd/bases/apps.kafed.io_collasets.yaml +++ b/config/crd/bases/apps.kafed.io_collasets.yaml @@ -492,7 +492,7 @@ spec: current state. items: properties: - last_transition_time: + lastTransitionTime: description: Last time the condition transitioned from one status to another. format: date-time