-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmd: refactor create-cluster flags (#385)
Refactors `create-cluster` command flags to improve UX when used in combination with docker-compose and k8s. The main purpose of `create-cluster` is to create a manifest and keys. Creating **config run scripts (run.sh)** is only applicable to local non-docker clusters (which will not be the most common use case). So make creating config run scripts opt-in by specifying `--config=true`. This also makes it more explicit that configuring a `--config-simnet` is just via the config run script. The same goes for `--config-port-start` and `--config-binary`. When used in charon-docker-compose or charon-k8s, this config is not applicable and is now not generated any more. So less confusing and doesn't need to be deleted. Also align `--split-keys-dir` with `--split-existing-keys` with same prefix to indicate they are related. category: refactor ticket: none
- Loading branch information
1 parent
18d615e
commit 6344414
Showing
7 changed files
with
122 additions
and
113 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.