Skip to content

Commit

Permalink
Drop mandatory status from nicDevices in NicConfigurationTemplate CRD
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Maslennikov <[email protected]>
  • Loading branch information
almaslennikov committed Dec 18, 2024
1 parent 49bba5a commit 7533fce
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion api/v1alpha1/nicconfigurationtemplate_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ type NicConfigurationTemplateSpec struct {
// NicConfigurationTemplateStatus defines the observed state of NicConfigurationTemplate
type NicConfigurationTemplateStatus struct {
// NicDevice CRs matching this configuration template
NicDevices []string `json:"nicDevices"`
NicDevices []string `json:"nicDevices,omitempty"`
}

//+kubebuilder:object:root=true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,6 @@ spec:
items:
type: string
type: array
required:
- nicDevices
type: object
type: object
served: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,6 @@ spec:
items:
type: string
type: array
required:
- nicDevices
type: object
type: object
served: true
Expand Down

0 comments on commit 7533fce

Please sign in to comment.