We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
macAddress
InlineEndpoint
1 parent b705a57 commit d635c50Copy full SHA for d635c50
api/v1alpha1/bmc_types.go
@@ -49,7 +49,7 @@ type BMCSpec struct {
49
// InlineEndpoint defines inline network access configuration for the BMC.
50
type InlineEndpoint struct {
51
// MACAddress is the MAC address of the endpoint.
52
- MACAddress string `json:"macAddress"`
+ MACAddress string `json:"macAddress,omitempty"`
53
// IP is the IP address of the BMC.
54
// +kubebuilder:validation:Type=string
55
// +kubebuilder:validation:Schemaless
config/crd/bases/metal.ironcore.dev_bmcs.yaml
@@ -83,7 +83,6 @@ spec:
83
type: string
84
required:
85
- ip
86
- - macAddress
87
type: object
88
x-kubernetes-validations:
89
- message: access is immutable
0 commit comments