mirror of
https://github.com/fluxcd/flux2.git
synced 2026-04-14 15:56:52 +00:00
Add create tenant command
This commit is contained in:
parent
4136eb1444
commit
2096532f5d
5 changed files with 241 additions and 0 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
36
docs/cmd/gotk_create_tenant.md
Normal file
36
docs/cmd/gotk_create_tenant.md
Normal 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
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue