-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: update readme and helm chart (#16)
- Loading branch information
Showing
4 changed files
with
118 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,52 +1,14 @@ | ||
# Runtime Sensor | ||
|
||
The Runtime Sensor watches your deployments on a Kubernetes cluster | ||
and will send collected data to Snyk. | ||
and sends collected data to Snyk. | ||
|
||
This is a [Helm chart](https://helm.sh) dedicated repo [helm/runtime-sensor](https://github.com/snyk/runtime-sensor), hosting the Snyk Runtime Sensor using Github pages in `https://snyk.github.io/runtime-sensor`. | ||
|
||
## Usage | ||
|
||
### Installation | ||
|
||
|
||
There is a [Helm chart](https://helm.sh) within this repo in [helm/runtime-sensor](https://github.com/snyk/runtime-sensor), that is hosted through Github pages in `https://snyk.github.io/runtime-sensor`. | ||
|
||
Initially you need to create a Kubernetes secret that contains the API token for the | ||
[service account](https://docs.snyk.io/snyk-admin/service-accounts) | ||
|
||
The service account must have one of the following roles: | ||
- Group Admin | ||
- Custom Role with "AppRisk edit" permission | ||
|
||
To install Snyk's runtime sensor using Helm Charts follow these steps: | ||
|
||
1. Make sure Helm is installed | ||
2. Create the namespace you would like to install the sensor in, for example `snyk-runtime-sensor`: | ||
|
||
``` | ||
kubectl create namespace <<YOUR_NAMESPACE>> | ||
``` | ||
|
||
3. Create a secret with your service account token which has the appropriate permissions under the created namespace: | ||
|
||
``` | ||
kubectl create secret generic <<YOUR_SECRET_NAME>> --from-literal=snykToken=<<YOUR_TOKEN>> -n <<YOUR_NAMESPACE>> | ||
``` | ||
|
||
4. Add the Helm repo | ||
|
||
``` | ||
helm repo add runtime-sensor https://snyk.github.io/runtime-sensor | ||
``` | ||
|
||
5. Install the Helm chart: | ||
|
||
``` | ||
helm install my-runtime-sensor \ | ||
--set secretName=<<YOUR_SECRET_NAME>> \ | ||
--set clusterName=<<CLUSTER_NAME>> \ | ||
--set snykGroupId=<<YOUR_GROUP_ID>> \ | ||
-n <<YOUR_NAMESPACE>> \ | ||
runtime-sensor/runtime-sensor | ||
``` | ||
Please find the installation instructions under Snyk's docs - https://docs.snyk.io/manage-risk/snyk-apprisk/integrations-for-snyk-apprisk/snyk-runtime-sensor. | ||
|
||
Release versions can be found [in GitHub](https://github.com/snyk/runtime-sensor/releases). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters