-
- Downloads
Give flux bootstrap the extra components flag
This commit adds a flag for supplying extra components to bootstrap
(and its subcommands), to match the one for `flux install`.
Since the bootstrapComponents global is used in a few places, I made
it a func and renamed the variable. For consistency, I also renamed
the var used in install.go.
Lastly, so that the flag sorts next to `--components`, I changed it to
`--components-extra` in both commands.
Signed-off-by:
Michael Bridgen <michael@weave.works>
Showing
- cmd/flux/bootstrap.go 12 additions, 5 deletionscmd/flux/bootstrap.go
- cmd/flux/bootstrap_github.go 1 addition, 1 deletioncmd/flux/bootstrap_github.go
- cmd/flux/bootstrap_gitlab.go 1 addition, 1 deletioncmd/flux/bootstrap_gitlab.go
- cmd/flux/install.go 4 additions, 4 deletionscmd/flux/install.go
- docs/cmd/flux_bootstrap.md 1 addition, 0 deletionsdocs/cmd/flux_bootstrap.md
- docs/cmd/flux_bootstrap_github.md 1 addition, 0 deletionsdocs/cmd/flux_bootstrap_github.md
- docs/cmd/flux_bootstrap_gitlab.md 1 addition, 0 deletionsdocs/cmd/flux_bootstrap_gitlab.md
- docs/cmd/flux_install.md 1 addition, 1 deletiondocs/cmd/flux_install.md
Loading
Please register or sign in to comment