Skip to content

Commit

Permalink
still trying
Browse files Browse the repository at this point in the history
Signed-off-by: vsoch <vsoch@users.noreply.github.com>
  • Loading branch information
vsoch committed May 14, 2023
1 parent c87b9c9 commit becddf8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions api/v1alpha1/minicluster_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -573,6 +573,11 @@ func (f *MiniCluster) Validate() bool {
return false
}

// Set the Flux install root
if f.Spec.Flux.InstallRoot == "" {
f.Spec.Flux.InstallRoot = "/usr"
}

// If the MaxSize isn't set, ensure it's equal to the size
if f.Spec.MaxSize == 0 {
f.Spec.MaxSize = f.Spec.Size
Expand Down

0 comments on commit becddf8

Please sign in to comment.