You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -92,8 +93,16 @@ type {{ .Resource.Kind }}Spec struct {
92
93
93
94
// {{ .Resource.Kind }}Status defines the observed state of {{ .Resource.Kind }}
94
95
type {{ .Resource.Kind }}Status struct {
95
-
// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
96
-
// Important: Run "make" to regenerate code after modifying this file
96
+
// Represents the observations of a {{ .Resource.Kind }}'s current state.
97
+
// {{ .Resource.Kind }}.status.conditions.type are: "Available", "Progressing", and "Degraded"
98
+
// {{ .Resource.Kind }}.status.conditions.status are one of True, False, Unknown.
99
+
// {{ .Resource.Kind }}.status.conditions.reason the value should be a CamelCase string and producers of specific
100
+
// condition types may define expected values and meanings for this field, and whether the values
101
+
// are considered a guaranteed API.
102
+
// {{ .Resource.Kind }}.status.conditions.Message is a human readable message indicating details about the transition.
103
+
// For further information see: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#typical-status-properties
Copy file name to clipboardExpand all lines: testdata/project-v3-with-deploy-image/api/v1alpha1/busybox_types.go
+10-2Lines changed: 10 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -39,8 +39,16 @@ type BusyboxSpec struct {
39
39
40
40
// BusyboxStatus defines the observed state of Busybox
41
41
typeBusyboxStatusstruct {
42
-
// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
43
-
// Important: Run "make" to regenerate code after modifying this file
42
+
// Represents the observations of a Busybox's current state.
43
+
// Busybox.status.conditions.type are: "Available", "Progressing", and "Degraded"
44
+
// Busybox.status.conditions.status are one of True, False, Unknown.
45
+
// Busybox.status.conditions.reason the value should be a CamelCase string and producers of specific
46
+
// condition types may define expected values and meanings for this field, and whether the values
47
+
// are considered a guaranteed API.
48
+
// Busybox.status.conditions.Message is a human readable message indicating details about the transition.
49
+
// For further information see: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#typical-status-properties
Copy file name to clipboardExpand all lines: testdata/project-v3-with-deploy-image/api/v1alpha1/memcached_types.go
+10-2Lines changed: 10 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -42,8 +42,16 @@ type MemcachedSpec struct {
42
42
43
43
// MemcachedStatus defines the observed state of Memcached
44
44
typeMemcachedStatusstruct {
45
-
// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
46
-
// Important: Run "make" to regenerate code after modifying this file
45
+
// Represents the observations of a Memcached's current state.
46
+
// Memcached.status.conditions.type are: "Available", "Progressing", and "Degraded"
47
+
// Memcached.status.conditions.status are one of True, False, Unknown.
48
+
// Memcached.status.conditions.reason the value should be a CamelCase string and producers of specific
49
+
// condition types may define expected values and meanings for this field, and whether the values
50
+
// are considered a guaranteed API.
51
+
// Memcached.status.conditions.Message is a human readable message indicating details about the transition.
52
+
// For further information see: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#typical-status-properties
0 commit comments