Skip to content

Commit 9842916

Browse files
committed
agent: add README.md
1 parent 99e3e1b commit 9842916

File tree

1 file changed

+57
-0
lines changed

1 file changed

+57
-0
lines changed

charts/agent/README.md

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
# Checkly Agent Helm Chart
2+
3+
This helm chart deploys the Checkly agent to create your own [private location](https://www.checklyhq.com/docs/private-locations/).
4+
5+
## Prerequisites
6+
7+
Create a private location as described [here](https://www.checklyhq.com/docs/private-locations/#configuring-a-private-location) to get a agent api key.
8+
9+
## Usage
10+
11+
[Helm](https://helm.sh) must be installed to use the charts. Please refer to Helm's [documentation](https://helm.sh/docs) to get started.
12+
13+
Once Helm has been set up correctly, add the repo as follows:
14+
15+
helm repo add checkly https://checkly.github.io/helm-charts
16+
17+
If you had already added this repo earlier, run `helm repo update` to retrieve the latest versions of the packages.
18+
19+
To install the agent chart:
20+
21+
helm upgrade --install my-agent checkly/agent --set agent.apiKeySecret.apiKey=pl_...
22+
23+
To uninstall the chart:
24+
25+
helm uninstall my-agent
26+
27+
See [https://github.com/checkly/helm-charts](https://github.com/checkly/helm-charts) for more info and available charts.
28+
29+
## Alternative ways to set the agent API Key
30+
31+
Instead of setting `agent.apiKeySecret.apiKey` you can also choose an existing secret with the following options
32+
33+
```
34+
agent:
35+
apiKeySecret:
36+
create: false
37+
name: <NAME_OF_EXISTING_SECRET>
38+
```
39+
40+
or create the secret with `extraManifests`
41+
42+
```
43+
agent:
44+
apiKeySecret:
45+
create: false
46+
name: checkly-agent-secret
47+
48+
extraManifests:
49+
- apiVersion: external-secrets.io/v1beta1
50+
kind: ExternalSecret
51+
metadata:
52+
name: checkly-agent-secret
53+
namespace: monitoring
54+
spec:
55+
target:
56+
name: my-checkly-secret-in-aws
57+
```

0 commit comments

Comments
 (0)