Skip to content

Commit

Permalink
adding version command
Browse files Browse the repository at this point in the history
  • Loading branch information
KoppulaRajender committed May 5, 2021
1 parent 24ea161 commit 20a5267
Show file tree
Hide file tree
Showing 5 changed files with 49 additions and 26 deletions.
9 changes: 6 additions & 3 deletions enforcer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ cd aqua-helm/
```

* Install Aqua Enforcer

```bash
helm upgrade --install --namespace aqua aqua-enforcer ./enforcer --set imageCredentials.username=<>,imageCredentials.password=<>,enforcerToken=<aquasec-token>
```
Expand All @@ -46,10 +45,14 @@ helm upgrade --install --namespace aqua aqua-enforcer ./enforcer --set imageCred
$ helm repo add aqua-helm https://helm.aquasec.com
```

* Install Aqua Enforcer
* Check for the available chart versions either from [Changelog](./CHANGELOG.md) or by running the below command
```bash
$ helm search repo aqua-helm/enforcer --versions
```

* Install Aqua Enforcer
```bash
helm upgrade --install --namespace aqua aqua-enforcer aqua-helm/enforcer --set imageCredentials.username=<>,imageCredentials.password=<>,enforcerToken=<aquasec-token> --version <>
$ helm upgrade --install --namespace aqua aqua-enforcer aqua-helm/enforcer --set imageCredentials.username=<>,imageCredentials.password=<>,enforcerToken=<aquasec-token> --version <>
```


Expand Down
25 changes: 15 additions & 10 deletions kube-enforcer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ Optionally, you can provide these certificates in base64 encoded format as flags
1. Clone the GitHub repository with the charts:

```bash
git clone -b 5.3 https://github.com/aquasecurity/kube-enforcer-helm.git
$ git clone -b 5.3 https://github.com/aquasecurity/kube-enforcer-helm.git
```

2. (Optional) Update the Helm charts `values.yaml` file with your environment's custom values, registry secret, Aqua Server (console) credentials, and TLS certificates. This eliminates the need to pass the parameters to the HELM command. Then run one of the following commands to deploy the relevant services.
Expand All @@ -86,19 +86,19 @@ Optionally, you can provide these certificates in base64 encoded format as flags
3a. To deploy the KubeEnforcer on the same cluster as the Aqua Server (console), run this command on that cluster:
```shell
helm upgrade --install --namespace aqua kube-enforcer ./kube-enforcer
$ helm upgrade --install --namespace aqua kube-enforcer ./kube-enforcer
```
3b. Multi-cluster: To deploy the KubeEnforcer in a different cluster:
First, create a namespace on that cluster named `aqua`:
```bash
kubectl create namespace aqua
$ kubectl create namespace aqua
```
Next, run the following command:
```shell
helm upgrade --install --namespace aqua kube-enforcer ./kube-enforcer --set envs.gatewayAddress="<Aqua_Remote_Gateway_IP/URL>",imageCredentials.username=<registry-username>,imageCredentials.password=<registry-password>
$ helm upgrade --install --namespace aqua kube-enforcer ./kube-enforcer --set envs.gatewayAddress="<Aqua_Remote_Gateway_IP/URL>",imageCredentials.username=<registry-username>,imageCredentials.password=<registry-password>
```
### Installing Aqua Kube-Enforcer from Helm Private Repository
Expand All @@ -111,24 +111,29 @@ Optionally, you can provide these certificates in base64 encoded format as flags
2. (Optional) Update the Helm charts `values.yaml` file with your environment's custom values, registry secret, Aqua Server (console) credentials, and TLS certificates. This eliminates the need to pass the parameters to the HELM command. Then run one of the following commands to deploy the relevant services.

3. Choose **either** 3a **or** 3b:
3. Check for the available chart versions either from [Changelog](./CHANGELOG.md) or by running the below command
```bash
$ helm search repo aqua-helm/kube-enforcer --versions
```

3a. To deploy the KubeEnforcer on the same cluster as the Aqua Server (console), run this command on that cluster:
4. Choose **either** 4a **or** 4b:

4a. To deploy the KubeEnforcer on the same cluster as the Aqua Server (console), run this command on that cluster:

```shell
helm upgrade --install --namespace aqua kube-enforcer aqua-helm/kube-enforcer
$ helm upgrade --install --namespace aqua kube-enforcer aqua-helm/kube-enforcer --version <>
```

3b. Multi-cluster: To deploy the KubeEnforcer in a different cluster:
4b. Multi-cluster: To deploy the KubeEnforcer in a different cluster:

First, create a namespace on that cluster named `aqua`:
```bash
kubectl create namespace aqua
$ kubectl create namespace aqua
```
Next, copy the values.yaml content from [Values.yaml](./values.yaml) and make the respective changes then run the following command:

```shell
helm upgrade --install --namespace aqua kube-enforcer aqua-helm/kube-enforcer --values values.yaml --version <>
$ helm upgrade --install --namespace aqua kube-enforcer aqua-helm/kube-enforcer --values values.yaml --version <>
```

Optional flags:
Expand Down
13 changes: 9 additions & 4 deletions scanner/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,15 @@ Follow the steps in this section for production grade deployments. You can eithe
* Clone the GitHub repository with the charts

```bash
git clone -b 5.3 https://github.com/aquasecurity/aqua-helm.git
cd aqua-helm/
$ git clone -b 5.3 https://github.com/aquasecurity/aqua-helm.git
$ cd aqua-helm/
```


* Install Aqua

```bash
helm upgrade --install --namespace aqua scanner ./scanner --set imageCredentials.username=<>,imageCredentials.password=<>
$ helm upgrade --install --namespace aqua scanner ./scanner --set imageCredentials.username=<>,imageCredentials.password=<>
```

### Installing Aqua Scanner from Helm Private Repository
Expand All @@ -47,10 +47,15 @@ helm upgrade --install --namespace aqua scanner ./scanner --set imageCredentials
$ helm repo add aqua-helm https://helm.aquasec.com
```

* Check for the available chart versions either from [Changelog](./CHANGELOG.md) or by running the below command
```bash
$ helm search repo aqua-helm/scanner --versions
```

* Install Aqua

```bash
helm upgrade --install --namespace aqua scanner aqua-helm/scanner --set imageCredentials.username=<>,imageCredentials.password=<> --version <>
$ helm upgrade --install --namespace aqua scanner aqua-helm/scanner --set imageCredentials.username=<>,imageCredentials.password=<> --version <>
```


Expand Down
14 changes: 9 additions & 5 deletions server/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,14 @@ Follow the steps in this section for production grade deployments. You can eithe
* Clone the GitHub repository with the charts
```bash
git clone -b 5.3 https://github.com/aquasecurity/aqua-helm.git
cd aqua-helm/
$ git clone -b 5.3 https://github.com/aquasecurity/aqua-helm.git
$ cd aqua-helm/
```


* Install Aqua

```bash
helm upgrade --install --namespace aqua aqua ./server --set imageCredentials.username=<>,imageCredentials.password=<>,platform=<>
$ helm upgrade --install --namespace aqua aqua ./server --set imageCredentials.username=<>,imageCredentials.password=<>,platform=<>
```

### Installing Aqua Web from Helm Private Repository
Expand All @@ -60,10 +59,15 @@ helm upgrade --install --namespace aqua aqua ./server --set imageCredentials.use
$ helm repo add aqua-helm https://helm.aquasec.com
```

* Check for the available chart versions either from [Changelog](./CHANGELOG.md) or by running the below command
```bash
$ helm search repo aqua-helm/server --versions
```

* Install Aqua

```bash
helm upgrade --install --namespace aqua aqua aqua-helm/server --set imageCredentials.username=<>,imageCredentials.password=<>,platform=<> --version <>
$ helm upgrade --install --namespace aqua aqua aqua-helm/server --set imageCredentials.username=<>,imageCredentials.password=<>,platform=<> --version <>
```

## Advanced Configuration
Expand Down
14 changes: 10 additions & 4 deletions tenant-manager/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,14 @@ Follow the steps in this section for production-grade deployments. You can eithe
* Clone the GitHub repository with the charts:
```bash
git clone -b 5.3 https://github.com/aquasecurity/aqua-helm.git
cd aqua-helm/
$ git clone -b 5.3 https://github.com/aquasecurity/aqua-helm.git
$ cd aqua-helm/
```

* Deploy the Aqua Tenant Manager

```bash
helm upgrade --install --namespace aqua tenant-manager ./tenant-manger --set imageCredentials.username=<>,imageCredentials.password=<>,platform=<>
$ helm upgrade --install --namespace aqua tenant-manager ./tenant-manger --set imageCredentials.username=<>,imageCredentials.password=<>,platform=<>
```

### Installing Aqua Tenant Manager from Helm Private Repository
Expand All @@ -61,10 +61,16 @@ helm upgrade --install --namespace aqua tenant-manager ./tenant-manger --set ima
```bash
$ helm repo add aqua-helm https://helm.aquasec.com
```

* Check for the available chart versions either from [Changelog](./CHANGELOG.md) or by running the below command
```bash
$ helm search repo aqua-helm/tenant-manager --versions
```

* Deploy the Aqua Tenant Manager

```bash
helm upgrade --install --namespace aqua tenant-manager aqua-helm/tenant-manager --set imageCredentials.username=<>,imageCredentials.password=<>,platform=<> --version <>
$ helm upgrade --install --namespace aqua tenant-manager aqua-helm/tenant-manager --set imageCredentials.username=<>,imageCredentials.password=<>,platform=<> --version <>
```

## Database
Expand Down

0 comments on commit 20a5267

Please sign in to comment.