Skip to content

Commit

Permalink
🌱 Use default of "v1" if we release a CS for the first time.… (#22)
Browse files Browse the repository at this point in the history
Use default of "v1" if we release a CS for the first time.

Signed-off-by: Aniruddha Basak <[email protected]>
  • Loading branch information
aniruddha2000 committed May 14, 2024
1 parent 8549aad commit 0a04444
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/cmd/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ func GetCreateOptions(ctx context.Context, clusterStackPath string) (*CreateOpti
createOption.Metadata.Versions.Kubernetes = config.Config.KubernetesVersion
createOption.Metadata.Versions.ClusterStack = "v1"
createOption.Metadata.Versions.Components.ClusterAddon = "v1"
createOption.Metadata.Versions.Components.NodeImage = "v1"
} else {
if err := github.DownloadReleaseAssets(ctx, latestRepoRelease, "./.tmp/release/", gc); err != nil {
return nil, fmt.Errorf("failed to download release asset: %w", err)
Expand Down

0 comments on commit 0a04444

Please sign in to comment.