Skip to content

Commit 12ba110

Browse files
author
Aniruddha Basak
authored
Use csmctl config kubernetes version in the stable mode (#75)
Signed-off-by: Aniruddha Basak <[email protected]>
1 parent e9e6d3d commit 12ba110

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pkg/cmd/create.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,9 @@ func GetCreateOptions(clusterStackPath string) (*CreateOptions, error) {
111111
return nil, fmt.Errorf("failed to handle stable mode: %w", err)
112112
}
113113

114+
// update the metadata kubernetes version with the csmctl.yaml config
115+
createOption.Metadata.Versions.Kubernetes = config.Config.KubernetesVersion
116+
114117
// TODO: remove
115118
latestReleaseInfoWithHash, err := github.GetLocalReleaseInfoWithHash(githubReleasePath)
116119
if err != nil {

0 commit comments

Comments
 (0)