@@ -7,11 +7,13 @@ as well as managing resources in your Kubernetes cluster.
7
7
## Installation
8
8
9
9
To install the CLI into your solution / project, first create a new tool manifest:
10
+
10
11
``` bash
11
12
dotnet new tool-manifest
12
13
```
13
14
14
15
Then install the CLI:
16
+
15
17
``` bash
16
18
dotnet tool install KubeOps.Cli
17
19
```
@@ -23,20 +25,11 @@ This allows you to use the CLI with `dotnet kubeops`.
23
25
Here is a brief overview over the available commands
24
26
(for all options and descriptions, use ` -h ` or ` --help ` ):
25
27
26
- - ` version ` : prints the version information for the actual connected Kubernetes cluster
27
- - ` install ` : install the CRDs for the given solution into the cluster
28
- - ` uninstall ` : uninstall the CRDs for the given solution from the cluster
29
- - ` generator ` : entry command for generator commands (i.e. has subcommands), all commands
30
- output their result to the stdout or the given output path
31
- - ` cert ` : generate a CA & server certificate for usage with webhooks
32
- - ` crd ` : generate the CRDs
33
- - ` docker ` : generate the dockerfile
34
- - ` installer ` : generate the installer files (i.e. kustomization yaml) for the operator
35
- - ` operator ` : generate the deployment for the operator
36
- - ` rbac ` : generate the needed rbac roles / role bindings for the operator
37
- - ` webhook ` : entry command for webhook related operations
38
- - ` install ` : generate the server certificate and install the service / webhook registration
39
- - ` register ` : register the currently implemented webhooks to the currently selected cluster
28
+ - ` api-version ` , ` av ` : Prints the version information for the actual connected Kubernetes cluster
29
+ - ` install ` , ` i ` : Install the CRDs for the given solution into the cluster
30
+ - ` uninstall ` , ` u ` : Uninstall the CRDs for the given solution from the cluster
31
+ - ` generate ` , ` gen ` , ` g ` : Generates elements related to the operator
32
+ - ` operator ` , ` op ` : Generate the all files necessary for deployment for the operator, including any webhooks
40
33
41
34
### Example
42
35
0 commit comments