Closed dipankardas011 closed 6 months ago
currently the storage to be used is hardcoded! https://github.com/ksctl/cli/blob/1081db267af14d5f0ae16bf6548b0a7aa0e3afa8/cli/cmd/root.go#L83
Need to add a flag for storage to https://github.com/ksctl/cli/blob/1081db267af14d5f0ae16bf6548b0a7aa0e3afa8/cli/cmd/flags.go
and use it to get the valid values and assign to the value to cli.Client.Metadata.StateLocation
cli.Client.Metadata.StateLocation
Note it should be before calling the InitialStorageFactory()
InitialStorageFactory()
Check Contribution's guidelines
Why do we need it?
currently the storage to be used is hardcoded! https://github.com/ksctl/cli/blob/1081db267af14d5f0ae16bf6548b0a7aa0e3afa8/cli/cmd/root.go#L83
What it will bring?
Need to add a flag for storage to https://github.com/ksctl/cli/blob/1081db267af14d5f0ae16bf6548b0a7aa0e3afa8/cli/cmd/flags.go
and use it to get the valid values and assign to the value to
cli.Client.Metadata.StateLocation
Check Contribution's guidelines