Skip to content

Commit

Permalink
add docs for extra controllers
Browse files Browse the repository at this point in the history
  • Loading branch information
waleedhammam committed Dec 6, 2023
1 parent 1a657f5 commit 2eb9de6
Show file tree
Hide file tree
Showing 2 changed files with 60 additions and 32 deletions.
46 changes: 30 additions & 16 deletions website/docs/enterprise/getting-started/install-enterprise-cli.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,9 @@ Please use the following command to start the installation wizard of Weave GitOp
5. [Select WGE version](#selecting-wge-version): from the latest 3 available releases.
6. [Create Cluster User](#create-cluster-user): create a Secret with the username and password for the emergency cluster user.
7. [Configure Dashboard Access](#configure-dashboard-access): choose between 2 methods to access the dashboard either local or external.
8. [Access the dashboard](#access-the-dashboard): via the link from the installation success message.
9. (Optional) [Configure OIDC](#configure-oidc): to enable login to dashboard via OIDC providers.
8. (Optional) [Configure OIDC](#configure-oidc): to enable login to dashboard via OIDC providers.
9. (Optional) [Extra Components](#extra-components): to install extra components from (Policy Agent, Terraform Controller).
10. [Access the dashboard](#access-the-dashboard): via the link from the installation success message.

#### Verify Flux

Expand Down Expand Up @@ -152,9 +153,13 @@ spec:
...
```
#### Access the dashboard
#### (Optional) Extra Components
After installation is successful. The CLI will print out the URL where you can access the dashboard.
The CLI will prompt you to install extra components to the installation from (Policy Agent, Terraform Controller)
:::note
The controllers will be installed with the default values. To customize controller values, Please edit the corresponding values file and reconcile
:::
#### (Optional) Configure OIDC
Expand All @@ -168,17 +173,26 @@ To configure OIDC access, you will be asked to provide the following values:
Please don't forget to add a new static-client on your OIDC provider settings with the redirectURI `your-domain/oauth2/callback` for example `http://localhost:3000/oauth2/callback`
:::
#### Access the dashboard
After installation is successful. The CLI will print out the URL where you can access the dashboard.
### CLI configurations
- `--kube-config`: allows to choose the Kubeconfig for your cluster, default would be ~/.kube/config
- `-h`, `--help`: help for bootstrap
- `-p`, `--password`: Dashboard admin password
- `-k`, `--private-key`: Private key path. This key will be used to push the Weave GitOps Enterprise's resources to the default cluster repository
- `-c`, `--private-key-password`: Private key password. If the private key is encrypted using password
- `-u`, `--username`: Dashboard admin username
- `-v`, `--version`: Weave GitOps Enterprise version to install
- `--repo-url`: Git repo URL for your Flux repository. For supported URL examples see [here](https://fluxcd.io/flux/cmd/flux_bootstrap_git/)
- `--git-username`: Git username which contains your repository
- `--gitPassword`: Git password/token to give Flux the accessiblity to be able to reconcile the repo
- `-b`, `--branch`: Git branch for your Flux repository
- `-r`, `--repo-path`: Git path for your Flux repository (example: clusters/my-cluster)
- `--kubeconfig` Paths to a kubeconfig. Only required if out-of-cluster.
- `--bootstrap-flux` chose whether you want to install flux in the generic way in case no flux installation detected
- `-b`, `--branch` git branch for your flux repository (example: main)
- `-i`, `--client-id` OIDC client ID
- ` ` `--client-secret` OIDC client secret
- ` ` `--components-extra` extra components to be installed from (policy-agent, tf-controller)
- ` ` `--discovery-url` OIDC discovery URL
- ` ` `--git-password` git password/token used in https authentication type
- ` ` `--git-username` git username used in https authentication type
- `-h`, `--help` help for bootstrap
- `-k`, `--private-key` private key path. This key will be used to push the Weave GitOps Enterprise's resources to the default cluster repository
- `-c`, `--private-key-password` private key password. If the private key is encrypted using password
- `-r`, `--repo-path` git path for your flux repository (example: clusters/my-cluster)
- ` ` `--repo-url` git repo url for your flux repository (example: ssh://[email protected]/my-org-name/my-repo-name or https://github.com/my-org-name/my-repo-name)
- `-s`, `--silent` chose the defaults with current provided information without asking any questions
- `-v`, `--version` version of Weave GitOps Enterprise (should be from the latest 3 versions)
- `-p`, `--password` The Weave GitOps Enterprise password for dashboard access
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,9 @@ Please use the following command to start the installation wizard of Weave GitOp
5. [Select WGE version](#selecting-wge-version): from the latest 3 available releases.
6. [Create Cluster User](#create-cluster-user): create a Secret with the username and password for the emergency cluster user.
7. [Configure Dashboard Access](#configure-dashboard-access): choose between 2 methods to access the dashboard either local or external.
8. [Access the dashboard](#access-the-dashboard): via the link from the installation success message.
9. (Optional) [Configure OIDC](#configure-oidc): to enable login to dashboard via OIDC providers.
8. (Optional) [Configure OIDC](#configure-oidc): to enable login to dashboard via OIDC providers.
9. (Optional) [Extra Components](#extra-components): to install extra components from (Policy Agent, Terraform Controller).
10. [Access the dashboard](#access-the-dashboard): via the link from the installation success message.

#### Verify Flux

Expand Down Expand Up @@ -152,9 +153,13 @@ spec:
...
```
#### Access the dashboard
#### (Optional) Extra Components
After installation is successful. The CLI will print out the URL where you can access the dashboard.
The CLI will prompt you to install extra components to the installation from (Policy Agent, Terraform Controller)
:::note
The controllers will be installed with the default values. To customize controller values, Please edit the corresponding values file and reconcile
:::
#### (Optional) Configure OIDC
Expand All @@ -168,17 +173,26 @@ To configure OIDC access, you will be asked to provide the following values:
Please don't forget to add a new static-client on your OIDC provider settings with the redirectURI `your-domain/oauth2/callback` for example `http://localhost:3000/oauth2/callback`
:::
#### Access the dashboard
After installation is successful. The CLI will print out the URL where you can access the dashboard.
### CLI configurations
- `--kube-config`: allows to choose the Kubeconfig for your cluster, default would be ~/.kube/config
- `-h`, `--help`: help for bootstrap
- `-p`, `--password`: Dashboard admin password
- `-k`, `--private-key`: Private key path. This key will be used to push the Weave GitOps Enterprise's resources to the default cluster repository
- `-c`, `--private-key-password`: Private key password. If the private key is encrypted using password
- `-u`, `--username`: Dashboard admin username
- `-v`, `--version`: Weave GitOps Enterprise version to install
- `--repo-url`: Git repo URL for your Flux repository. For supported URL examples see [here](https://fluxcd.io/flux/cmd/flux_bootstrap_git/)
- `--git-username`: Git username which contains your repository
- `--gitPassword`: Git password/token to give Flux the accessiblity to be able to reconcile the repo
- `-b`, `--branch`: Git branch for your Flux repository
- `-r`, `--repo-path`: Git path for your Flux repository (example: clusters/my-cluster)
- `--kubeconfig` Paths to a kubeconfig. Only required if out-of-cluster.
- `--bootstrap-flux` chose whether you want to install flux in the generic way in case no flux installation detected
- `-b`, `--branch` git branch for your flux repository (example: main)
- `-i`, `--client-id` OIDC client ID
- ` ` `--client-secret` OIDC client secret
- ` ` `--components-extra` extra components to be installed from (policy-agent, tf-controller)
- ` ` `--discovery-url` OIDC discovery URL
- ` ` `--git-password` git password/token used in https authentication type
- ` ` `--git-username` git username used in https authentication type
- `-h`, `--help` help for bootstrap
- `-k`, `--private-key` private key path. This key will be used to push the Weave GitOps Enterprise's resources to the default cluster repository
- `-c`, `--private-key-password` private key password. If the private key is encrypted using password
- `-r`, `--repo-path` git path for your flux repository (example: clusters/my-cluster)
- ` ` `--repo-url` git repo url for your flux repository (example: ssh://[email protected]/my-org-name/my-repo-name or https://github.com/my-org-name/my-repo-name)
- `-s`, `--silent` chose the defaults with current provided information without asking any questions
- `-v`, `--version` version of Weave GitOps Enterprise (should be from the latest 3 versions)
- `-p`, `--password` The Weave GitOps Enterprise password for dashboard access

0 comments on commit 2eb9de6

Please sign in to comment.