Skip to content

Commit

Permalink
Mark controlNetworkName/storageRequest as optional
Browse files Browse the repository at this point in the history
Jira: OSPRH-11777
  • Loading branch information
dprince committed Nov 19, 2024
1 parent ba17591 commit e0d6dce
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 9 deletions.
2 changes: 0 additions & 2 deletions api/bases/designate.openstack.org_designatebackendbind9s.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -211,8 +211,6 @@ spec:
type: string
required:
- containerImage
- controlNetworkName
- storageRequest
type: object
status:
description: DesignateBackendbind9Status defines the observed state of
Expand Down
2 changes: 0 additions & 2 deletions api/bases/designate.openstack.org_designates.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -630,8 +630,6 @@ spec:
type: string
required:
- containerImage
- controlNetworkName
- storageRequest
type: object
designateCentral:
description: DesignateCentral - Spec definition for the Central service
Expand Down
3 changes: 2 additions & 1 deletion api/v1beta1/designatebackendbind9_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,14 +67,15 @@ type DesignateBackendbind9SpecBase struct {
CustomBindOptions []string `json:"customBindOptions,omitempty"`

// +kubebuilder:default="designate"
// +kubebuilder:validation:Optional
// ControlNetworkName - specify which network attachment is to be used for control, notifys and zone transfers.
ControlNetworkName string `json:"controlNetworkName"`

// +kubebuilder:validation:Optional
// StorageClass
StorageClass string `json:"storageClass,omitempty"`

// +kubebuilder:validation:Required
// +kubebuilder:validation:Optional
// StorageRequest
StorageRequest string `json:"storageRequest"`
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -211,8 +211,6 @@ spec:
type: string
required:
- containerImage
- controlNetworkName
- storageRequest
type: object
status:
description: DesignateBackendbind9Status defines the observed state of
Expand Down
2 changes: 0 additions & 2 deletions config/crd/bases/designate.openstack.org_designates.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -630,8 +630,6 @@ spec:
type: string
required:
- containerImage
- controlNetworkName
- storageRequest
type: object
designateCentral:
description: DesignateCentral - Spec definition for the Central service
Expand Down

0 comments on commit e0d6dce

Please sign in to comment.