platform9 / cctl

Apache License 2.0
47 stars 8 forks source link

Add flag to create cluster from a spec #157

Closed ojmhetar closed 5 years ago

ojmhetar commented 5 years ago

What this PR does / why we need it: This change allows user to create a cluster from a spec (file), so the user has full control of the values in that object.

Which issue(s) this PR fixes: n/a

Notes: This change needs to go in after #159.

Does this PR introduce a user-facing change?:

Yes, an additional way to create a cluster
dlipovetsky commented 5 years ago

+1 to factoring out secrets-related functions from cluster.go. I suggest putting them into a new package, e.g. pkg/util/secrets, rather than into the common package. It would help to make this change a separate commit.