Skip to content

Commit

Permalink
docs(fix): secret as env var
Browse files Browse the repository at this point in the history
Signed-off-by: Sven Gerber <github@gerber.uno>
  • Loading branch information
svengerber committed Mar 10, 2023
1 parent a900451 commit 34aca97
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Configure a push monitor in your Uptime Kuma instance.

![Uptime Kuma push monitor](docs/uptime_kuma_push.png)

Add a config map with the Uptime Kuma push URL.
Add a secret with the Uptime Kuma push URL.
```yaml
apiVersion: v1
kind: Secret
Expand All @@ -39,6 +39,7 @@ stringData:
UPTIME_KUMA_URL: "https://uptime-kuma.example.com/api/push/XXXXXXX"
```
Add this middleware as a sidecar container to your Alertmanager deployment.
Use the secret as an environment variable.
```yaml
alertmanager:
alertmanagerSpec:
Expand Down

0 comments on commit 34aca97

Please sign in to comment.