mirror of
https://github.com/rancher/k3k.git
synced 2026-05-06 01:16:52 +00:00
* wip * env var fix * cluster create * cluster create and delete * cluster list * cluster cmd * kubeconfig * policy create * policy delete and list, and added root commands * removed urfavecli from k3kcli * fix policy command * k3k-kubelet to cobra * updated docs * updated go.mod * updated test * added deletion * added cleanup and flake attempts * wip bind env * simplified config
33 lines
542 B
Markdown
33 lines
542 B
Markdown
## k3kcli policy create
|
|
|
|
Create new policy
|
|
|
|
```
|
|
k3kcli policy create [flags]
|
|
```
|
|
|
|
### Examples
|
|
|
|
```
|
|
k3kcli policy create [command options] NAME
|
|
```
|
|
|
|
### Options
|
|
|
|
```
|
|
-h, --help help for create
|
|
--mode string The allowed mode type of the policy (default "shared")
|
|
```
|
|
|
|
### Options inherited from parent commands
|
|
|
|
```
|
|
--debug Turn on debug logs
|
|
--kubeconfig string kubeconfig path ($HOME/.kube/config or $KUBECONFIG if set)
|
|
```
|
|
|
|
### SEE ALSO
|
|
|
|
* [k3kcli policy](k3kcli_policy.md) - policy command
|
|
|