Skip to content

Commit 7c96792

Browse files
Merge branch 'master' into upgrade_dockerfile
2 parents d316653 + 38fb986 commit 7c96792

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,24 @@
2727
> `venona status`
2828
> `kubectl get pods -n codefresh-runtime`
2929
30+
#### Install Options
31+
32+
| Option Argument | Type | Description |
33+
| -------------------- | -------- | --------------------------------------------------- |
34+
| --cluster-name | string | cluster name (if not passed runtime-environment will be created cluster-less); this is a friendly name used for metadata does not need to match the literal cluster name. Limited to 20 Characters. |
35+
| --dry-run | boolean | Set to true to simulate installation |
36+
| -h, --help | | help for install |
37+
| --in-cluster | boolean | Set flag if venona is been installed from inside a cluster |
38+
| --kube-context-name | string | Name of the kubernetes context on which venona should be installed (default is current-context) [$KUBE_CONTEXT] |
39+
| --kube-namespace | string | Name of the namespace on which venona should be installed [$KUBE_NAMESPACE] |
40+
| --kubernetes-runner-type | string | Set the runner type to kubernetes (alpha feature) |
41+
| --only-runtime-environment | boolean | Set to true to onlky configure namespace as runtime-environment for Codefresh |
42+
| --runtime-environment | string | if --skip-runtime-installation set, will try to configure venona on current runtime-environment |
43+
| --set-default | boolean | Mark the install runtime-environment as default one after installation |
44+
| --skip-runtime-installation | boolean | Set flag if you already have a configured runtime-environment, add --runtime-environment flag with name |
45+
| --storage-class | string | Set a name of your custom storage class, note: this will not install volume provisioning components |
46+
| --venona-version | string | Version of venona to install (default is the latest) |
47+
3048
#### Install on cluster version < 1.10
3149
* Make sure the `PersistentLocalVolumes` [feature gate](https://kubernetes.io/docs/reference/command-line-tools-reference/feature-gates/) is turned on
3250
* Venona's agent is trying to load avaliables apis using api `/openapi/v2` endpoint

venonactl/cmd/install.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ func init() {
191191
viper.BindEnv("kube-namespace", "KUBE_NAMESPACE")
192192
viper.BindEnv("kube-context", "KUBE_CONTEXT")
193193

194-
installCmd.Flags().StringVar(&installCmdOptions.clusterNameInCodefresh, "cluster-name", "", "cluster name (if not passed runtime-environment will be created cluster-less)")
194+
installCmd.Flags().StringVar(&installCmdOptions.clusterNameInCodefresh, "cluster-name", "", "cluster name (if not passed runtime-environment will be created cluster-less); this is a friendly name used for metadata does not need to match the literal cluster name. Limited to 20 Characters.")
195195
installCmd.Flags().StringVar(&installCmdOptions.venona.version, "venona-version", "", "Version of venona to install (default is the latest)")
196196
installCmd.Flags().StringVar(&installCmdOptions.runtimeEnvironmentName, "runtime-environment", "", "if --skip-runtime-installation set, will try to configure venona on current runtime-environment")
197197
installCmd.Flags().StringVar(&installCmdOptions.kube.namespace, "kube-namespace", viper.GetString("kube-namespace"), "Name of the namespace on which venona should be installed [$KUBE_NAMESPACE]")

0 commit comments

Comments
 (0)