Skip to content

Commit 6bd5bea

Browse files
anoopcs9phlogistonjohn
authored andcommitted
api: Set default for AvailabilityMode
Signed-off-by: Anoop C S <[email protected]>
1 parent e47b321 commit 6bd5bea

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

api/v1alpha1/smbshare_types.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ type SmbShareScalingSpec struct {
9999
// for (high-)availability purposes.
100100
// +optional
101101
// +kubebuilder:validation:Enum:=standard;clustered
102+
// +kubebuilder:default:=standard
102103
AvailabilityMode string `json:"availabilityMode,omitempty"`
103104
// MinClusterSize specifies the minimum number of smb server instances
104105
// to establish when availabilityMode is "clustered".

0 commit comments

Comments
 (0)