Skip to content

Commit

Permalink
Make macAddress field in BMC InlineEndpoint optional
Browse files Browse the repository at this point in the history
  • Loading branch information
defo89 committed Jan 24, 2025
1 parent b705a57 commit d635c50
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion api/v1alpha1/bmc_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ type BMCSpec struct {
// InlineEndpoint defines inline network access configuration for the BMC.
type InlineEndpoint struct {
// MACAddress is the MAC address of the endpoint.
MACAddress string `json:"macAddress"`
MACAddress string `json:"macAddress,omitempty"`
// IP is the IP address of the BMC.
// +kubebuilder:validation:Type=string
// +kubebuilder:validation:Schemaless
Expand Down
1 change: 0 additions & 1 deletion config/crd/bases/metal.ironcore.dev_bmcs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ spec:
type: string
required:
- ip
- macAddress
type: object
x-kubernetes-validations:
- message: access is immutable
Expand Down

0 comments on commit d635c50

Please sign in to comment.