Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "Make MACAddress field in BMC Endpoint optional" #225

Merged
merged 1 commit into from
Jan 24, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion api/v1alpha1/endpoint_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
// EndpointSpec defines the desired state of Endpoint
type EndpointSpec struct {
// MACAddress is the MAC address of the endpoint.
MACAddress string `json:"macAddress,omitempty"`
MACAddress string `json:"macAddress"`
// IP is the IP address of the endpoint.
// +kubebuilder:validation:Type=string
// +kubebuilder:validation:Schemaless
Expand Down
1 change: 1 addition & 0 deletions config/crd/bases/metal.ironcore.dev_endpoints.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ spec:
type: string
required:
- ip
- macAddress
type: object
status:
description: EndpointStatus defines the observed state of Endpoint
Expand Down
Loading