1
0
mirror of synced 2026-02-06 10:55:56 +00:00

Add create tenant command

This commit is contained in:
stefanprodan
2020-09-15 16:36:21 +03:00
parent 4136eb1444
commit 2096532f5d
5 changed files with 241 additions and 0 deletions

View File

@@ -30,4 +30,5 @@ The create sub-commands generate sources and resources.
* [gotk create helmrelease](gotk_create_helmrelease.md) - Create or update a HelmRelease resource
* [gotk create kustomization](gotk_create_kustomization.md) - Create or update a Kustomization resource
* [gotk create source](gotk_create_source.md) - Create or update sources
* [gotk create tenant](gotk_create_tenant.md) - Create or update a tenant

View File

@@ -0,0 +1,36 @@
## gotk create tenant
Create or update a tenant
### Synopsis
The create tenant command generates a namespace and a role binding to limit the
reconcilers scope to the tenant namespace.
```
gotk create tenant [flags]
```
### Options
```
-h, --help help for tenant
```
### Options inherited from parent commands
```
--export export in YAML format to stdout
--interval duration source sync interval (default 1m0s)
--kubeconfig string path to the kubeconfig file (default "~/.kube/config")
--label strings set labels on the resource (can specify multiple labels with commas: label1=value1,label2=value2)
--namespace string the namespace scope for this operation (default "gitops-system")
--timeout duration timeout for this operation (default 5m0s)
--verbose print generated objects
```
### SEE ALSO
* [gotk create](gotk_create.md) - Create or update sources and resources