Skip to content

Commit

Permalink
Merge pull request #206 from rabi/ctlPlaneIP
Browse files Browse the repository at this point in the history
Omit ctlPlaneIP if empty
  • Loading branch information
openshift-merge-bot[bot] authored Sep 27, 2024
2 parents e850b77 + 5c6bbf6 commit 038cf55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/v1beta1/openstackbaremetalset_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ type AutomatedCleaningMode string
type InstanceSpec struct {
// +kubebuilder:validation:Optional
// CtlPlaneIP - Control Plane IP in CIDR notation
CtlPlaneIP string `json:"ctlPlaneIP"`
CtlPlaneIP string `json:"ctlPlaneIP,omitempty"`
// +kubebuilder:validation:Optional
// UserData - Host User Data
UserData *corev1.SecretReference `json:"userData,omitempty"`
Expand Down

0 comments on commit 038cf55

Please sign in to comment.