diff --git a/radarr/templates/statefulset.yaml b/radarr/templates/statefulset.yaml index bd76511..e72b5a7 100644 --- a/radarr/templates/statefulset.yaml +++ b/radarr/templates/statefulset.yaml @@ -23,6 +23,22 @@ spec: securityContext: {{- toYaml .Values.podSecurityContext | nindent 8 }} containers: + - args: + - radarr + name: radarr-metrics + image: ghcr.io/onedr0p/exportarr:latest + imagePullPolicy: IfNotPresent + ports: + - name: radarr-metrics + containerPort: 9707 + protocol: TCP + env: + - name: PORT + value: "9707" + - name: URL + value: "http://127.0.0.1:7878" + - name: API_KEY + value: "{{ .Values.metrics.apikey }}" - name: {{ .Chart.Name }} securityContext: {{- toYaml .Values.securityContext | nindent 12 }} diff --git a/sonarr/templates/statefulset.yaml b/sonarr/templates/statefulset.yaml index 21e3410..3a82c5b 100644 --- a/sonarr/templates/statefulset.yaml +++ b/sonarr/templates/statefulset.yaml @@ -40,7 +40,7 @@ spec: value: "http://127.0.0.1:8989" - name: ENABLE_EPISODE_QUALITY_METRICS value: "true" - - name: APIKEY + - name: API_KEY value: "{{ .Values.metrics.apikey }}" - name: {{ .Chart.Name }} securityContext: