Skip to content

Commit

Permalink
✨ (nightscout): Add API token header to liveness probe
Browse files Browse the repository at this point in the history
  • Loading branch information
gabe565 committed Feb 17, 2023
1 parent 4fb2264 commit a375158
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions charts/nightscout/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: Web-based CGM (Continuous Glucose Monitor) to allow multiple caregi
home: https://charts.gabe565.com/charts/nightscout
icon: https://raw.githubusercontent.com/nightscout/cgm-remote-monitor/71c2363b7be387cda899669be2bfd6ddbfe70198/static/images/large.png
type: application
version: 0.5.2
version: 0.5.3
# renovate image=nightscout/cgm-remote-monitor
appVersion: 14.2.6
kubeVersion: ">=1.22.0-0"
Expand All @@ -25,5 +25,5 @@ sources:
- https://github.com/nightscout/cgm-remote-monitor
annotations:
artifacthub.io/changes: |-
- kind: changed
description: Update mongodb Helm release to v13.6.7
- kind: added
description: Add API token header to liveness probe
2 changes: 1 addition & 1 deletion charts/nightscout/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<img src="https://raw.githubusercontent.com/nightscout/cgm-remote-monitor/71c2363b7be387cda899669be2bfd6ddbfe70198/static/images/large.png" align="right" width="92" alt="nightscout logo" style="padding-left: 20px">

![Version: 0.5.2](https://img.shields.io/badge/Version-0.5.2-informational?style=flat)
![Version: 0.5.3](https://img.shields.io/badge/Version-0.5.3-informational?style=flat)
![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat)
![AppVersion: 14.2.6](https://img.shields.io/badge/AppVersion-14.2.6-informational?style=flat)

Expand Down
1 change: 1 addition & 0 deletions charts/nightscout/templates/common.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ configMaps:
response="$(
wget -q -O - \
--header 'X-Forwarded-Proto: https' \
--header "Api-Secret: $(echo -n "$API_SECRET" | sha1sum | cut -d' ' -f1)" \
"http://localhost:$PORT/api/v2/status" \
)"
if ! echo "$response" | grep -Fq 'STATUS OK'; then
Expand Down

0 comments on commit a375158

Please sign in to comment.