Skip to content

Commit b766edb

Browse files
committed
spec and status required
1 parent 08a0bb2 commit b766edb

File tree

4 files changed

+2
-11
lines changed

4 files changed

+2
-11
lines changed

dist/bundle.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -263,9 +263,6 @@ spec:
263263
type: object
264264
type: array
265265
type: object
266-
required:
267-
- spec
268-
- status
269266
type: object
270267
served: true
271268
storage: true

dist/crds.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -254,9 +254,6 @@ spec:
254254
type: object
255255
type: array
256256
type: object
257-
required:
258-
- spec
259-
- status
260257
type: object
261258
served: true
262259
storage: true

src/api/eevee/v1alpha1/connectorirc_types.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,8 @@ type ConnectorIrc struct {
135135
metav1.TypeMeta `json:",inline"`
136136
metav1.ObjectMeta `json:"metadata,omitempty"`
137137

138-
Spec ConnectorIrcSpec `json:"spec"`
139-
Status ConnectorIrcStatus `json:"status"`
138+
Spec ConnectorIrcSpec `json:"spec,omitempty"`
139+
Status ConnectorIrcStatus `json:"status,omitempty"`
140140
}
141141

142142
// +kubebuilder:object:root=true

src/config/crd/bases/eevee.bot_connectorircs.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -255,9 +255,6 @@ spec:
255255
type: object
256256
type: array
257257
type: object
258-
required:
259-
- spec
260-
- status
261258
type: object
262259
served: true
263260
storage: true

0 commit comments

Comments
 (0)