From 7d6184209f150e22737c1fc0c97183ff30ed391c Mon Sep 17 00:00:00 2001 From: Jonny Ervine Date: Sun, 19 Dec 2021 23:25:29 +0800 Subject: [PATCH] Update helm chart to use apikey for metrics --- chart/sonarr/templates/statefulset.yaml | 2 ++ chart/sonarr/values.yaml | 3 +++ 2 files changed, 5 insertions(+) diff --git a/chart/sonarr/templates/statefulset.yaml b/chart/sonarr/templates/statefulset.yaml index e559e76..21e3410 100644 --- a/chart/sonarr/templates/statefulset.yaml +++ b/chart/sonarr/templates/statefulset.yaml @@ -40,6 +40,8 @@ spec: value: "http://127.0.0.1:8989" - name: ENABLE_EPISODE_QUALITY_METRICS value: "true" + - name: APIKEY + value: "{{ .Values.metrics.apikey }}" - name: {{ .Chart.Name }} securityContext: {{- toYaml .Values.securityContext | nindent 12 }} diff --git a/chart/sonarr/values.yaml b/chart/sonarr/values.yaml index fd24e97..44935a8 100644 --- a/chart/sonarr/values.yaml +++ b/chart/sonarr/values.yaml @@ -71,3 +71,6 @@ config: configPvc: sonarr-hermes-config-pvc mediaPvc: sonarr-hermes-media-pvc + +metrics: + apikey: 011c89e472d0420d812784b17d5d2318