|
|
@ -5,7 +5,7 @@ Bootstrap GitLab repository
|
|
|
|
### Synopsis
|
|
|
|
### Synopsis
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The bootstrap command creates the GitHub repository if it doesn't exists and
|
|
|
|
The bootstrap command creates the GitLab repository if it doesn't exists and
|
|
|
|
commits the toolkit components manifests to the master branch.
|
|
|
|
commits the toolkit components manifests to the master branch.
|
|
|
|
Then it configure the target cluster to synchronize with the repository.
|
|
|
|
Then it configure the target cluster to synchronize with the repository.
|
|
|
|
If the toolkit components are present on the cluster,
|
|
|
|
If the toolkit components are present on the cluster,
|
|
|
@ -30,7 +30,7 @@ tk bootstrap gitlab [flags]
|
|
|
|
# Run bootstrap for a public repository on a personal account
|
|
|
|
# Run bootstrap for a public repository on a personal account
|
|
|
|
bootstrap gitlab --owner=<user> --repository=<repo name> --private=false --personal=true
|
|
|
|
bootstrap gitlab --owner=<user> --repository=<repo name> --private=false --personal=true
|
|
|
|
|
|
|
|
|
|
|
|
# Run bootstrap for a private repo hosted on GitLab server
|
|
|
|
# Run bootstrap for a private repo hosted on a GitLab server
|
|
|
|
bootstrap gitlab --owner=<group> --repository=<repo name> --hostname=<domain>
|
|
|
|
bootstrap gitlab --owner=<group> --repository=<repo name> --hostname=<domain>
|
|
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
```
|
|
|
@ -41,7 +41,7 @@ tk bootstrap gitlab [flags]
|
|
|
|
-h, --help help for gitlab
|
|
|
|
-h, --help help for gitlab
|
|
|
|
--hostname string GitLab hostname (default "gitlab.com")
|
|
|
|
--hostname string GitLab hostname (default "gitlab.com")
|
|
|
|
--interval duration sync interval (default 1m0s)
|
|
|
|
--interval duration sync interval (default 1m0s)
|
|
|
|
--owner string GitLab user or organization name
|
|
|
|
--owner string GitLab user or group name
|
|
|
|
--path string repository path, when specified the cluster sync will be scoped to this path
|
|
|
|
--path string repository path, when specified the cluster sync will be scoped to this path
|
|
|
|
--personal is personal repository
|
|
|
|
--personal is personal repository
|
|
|
|
--private is private repository (default true)
|
|
|
|
--private is private repository (default true)
|
|
|
@ -63,4 +63,4 @@ tk bootstrap gitlab [flags]
|
|
|
|
|
|
|
|
|
|
|
|
* [tk bootstrap](tk_bootstrap.md) - Bootstrap commands
|
|
|
|
* [tk bootstrap](tk_bootstrap.md) - Bootstrap commands
|
|
|
|
|
|
|
|
|
|
|
|
###### Auto generated by spf13/cobra on 18-Jun-2020
|
|
|
|
###### Auto generated by spf13/cobra on 19-Jun-2020
|
|
|
|