Skip to content

Commit

Permalink
Merge pull request #251 from bshephar/optional-default-netmask
Browse files Browse the repository at this point in the history
Remove default for optional CtlplaneNetmask
  • Loading branch information
openshift-merge-bot[bot] authored Jan 3, 2025
2 parents d71f438 + 193c905 commit 34b0d04
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,6 @@ spec:
to use for ctlplane network
type: string
ctlplaneNetmask:
default: 255.255.255.0
description: 'CtlplaneNetmask - Netmask to use for ctlplane network
(TODO: acquire this is another manner?)'
type: string
Expand Down
1 change: 0 additions & 1 deletion api/v1beta1/openstackbaremetalset_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ type OpenStackBaremetalSetSpec struct {
// +kubebuilder:validation:Optional
CtlplaneGateway string `json:"ctlplaneGateway,omitempty"`
// +kubebuilder:validation:Optional
// +kubebuilder:default="255.255.255.0"
// CtlplaneNetmask - Netmask to use for ctlplane network (TODO: acquire this is another manner?)
CtlplaneNetmask string `json:"ctlplaneNetmask,omitempty"`
// +kubebuilder:default=openshift-machine-api
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,6 @@ spec:
to use for ctlplane network
type: string
ctlplaneNetmask:
default: 255.255.255.0
description: 'CtlplaneNetmask - Netmask to use for ctlplane network
(TODO: acquire this is another manner?)'
type: string
Expand Down
1 change: 0 additions & 1 deletion tests/functional/openstackbaremetalset_controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ var _ = Describe("BaremetalSet Test", func() {
DeploymentSSHSecret: "mysecret",
CtlplaneInterface: "eth0",
CtlplaneGateway: "",
CtlplaneNetmask: "255.255.255.0",
BmhNamespace: baremetalSetName.Namespace,
BmhLabelSelector: map[string]string{"app": "openstack"},
HardwareReqs: baremetalv1.HardwareReqs{
Expand Down

0 comments on commit 34b0d04

Please sign in to comment.