Skip to content
This repository has been archived by the owner on May 30, 2022. It is now read-only.

Commit

Permalink
Merge pull request #251 from dottorblaster/helm_server_docs_improvement
Browse files Browse the repository at this point in the history
Some improvements to the server installation on k3s through Helm
  • Loading branch information
fabriziosestito committed Sep 16, 2021
2 parents cd7a09e + 3229c90 commit bd61f98
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,25 +140,27 @@ $ helm repo update
Install chart dependencies:

```
$ cd helm/trento-server/
$ cd packaging/helm/trento-server/
$ helm dependency update
```

The runner component of Trento server needs ssh access to the agent nodes to perform the checks.
You need to pass a valid private key used for ssh authentication to the Helm chart, and it will be stored

You need to pass a valid private key used for SSH authentication to the Helm chart, and it will be stored
in the K3s cluster as a secret.

Please refer to the [Trento Runner](#trento-runner) for more information.

Install Trento server chart:

```
$ helm install trento . trento-runner.privateKey=/your/path/id_rsa_runner
$ helm install trento . --set-file trento-runner.privateKey=/your/path/id_rsa_runner
```

or perform a rolling update:

```
$ helm upgrade trento . trento-runner.privateKey=/your/path/id_rsa_runner
$ helm upgrade trento . --set-file trento-runner.privateKey=/your/path/id_rsa_runner
```

Now you can connect to the web server via `http://localhost` and point the agents to the cluster IP address.
Expand All @@ -174,7 +176,7 @@ $ helm install trento . --set trento-web.tag="runner" --set trento-runner.tag="r
Use a different container registry:

```
$ helm install trento . --set trento-web.image.repository="ghcr.io/myrepo/trento" --set trento-runner.image.repository="ghcr.io/myrepo/trento" trento-runner.privateKey=id_rsa_runner
$ helm install trento . --set trento-web.image.repository="ghcr.io/myrepo/trento" --set trento-runner.image.repository="ghcr.io/myrepo/trento" --set-file trento-runner.privateKey=id_rsa_runner
```

Please refer to the the subcharts `values.yaml` for an advanced usage.
Expand Down

0 comments on commit bd61f98

Please sign in to comment.