From a375158b48bb9a74fd47d57caecb6ea5f8ab24be Mon Sep 17 00:00:00 2001 From: Gabe Cook Date: Fri, 17 Feb 2023 12:22:09 -0600 Subject: [PATCH] :sparkles: (nightscout): Add API token header to liveness probe --- charts/nightscout/Chart.yaml | 6 +++--- charts/nightscout/README.md | 2 +- charts/nightscout/templates/common.yaml | 1 + 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/charts/nightscout/Chart.yaml b/charts/nightscout/Chart.yaml index 3c1eb36e9..a5a55c083 100644 --- a/charts/nightscout/Chart.yaml +++ b/charts/nightscout/Chart.yaml @@ -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" @@ -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 diff --git a/charts/nightscout/README.md b/charts/nightscout/README.md index 74b59fd92..402315260 100644 --- a/charts/nightscout/README.md +++ b/charts/nightscout/README.md @@ -2,7 +2,7 @@ nightscout logo -![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) diff --git a/charts/nightscout/templates/common.yaml b/charts/nightscout/templates/common.yaml index b42df0bcd..62f1b5528 100644 --- a/charts/nightscout/templates/common.yaml +++ b/charts/nightscout/templates/common.yaml @@ -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