[sonarr] add metrics config subpath when config has subPath specified (#1419)

* Add subPath support for metrics

Add subPath entry to the exporter container if the main container has
persistence.config.subPath set.
This commit is contained in:
Scotte Zinn 2022-02-20 05:05:58 -05:00 committed by GitHub
parent 7a4b852013
commit edc4318a6a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 5 deletions

View File

@ -2,7 +2,7 @@ apiVersion: v2
appVersion: v3.0.6.1342 appVersion: v3.0.6.1342
description: Smart PVR for newsgroup and bittorrent users description: Smart PVR for newsgroup and bittorrent users
name: sonarr name: sonarr
version: 16.0.0 version: 16.0.1
kubeVersion: ">=1.16.0-0" kubeVersion: ">=1.16.0-0"
keywords: keywords:
- sonarr - sonarr
@ -23,4 +23,4 @@ dependencies:
annotations: annotations:
artifacthub.io/changes: | artifacthub.io/changes: |
- kind: changed - kind: changed
description: Updated exportarr to v1.0.0 description: Inherit persistence.config.subPath in metrics exporter

View File

@ -1,6 +1,6 @@
# sonarr # sonarr
![Version: 16.0.0](https://img.shields.io/badge/Version-16.0.0-informational?style=flat-square) ![AppVersion: v3.0.6.1342](https://img.shields.io/badge/AppVersion-v3.0.6.1342-informational?style=flat-square) ![Version: 16.0.1](https://img.shields.io/badge/Version-16.0.1-informational?style=flat-square) ![AppVersion: v3.0.6.1342](https://img.shields.io/badge/AppVersion-v3.0.6.1342-informational?style=flat-square)
Smart PVR for newsgroup and bittorrent users Smart PVR for newsgroup and bittorrent users
@ -100,11 +100,11 @@ N/A
## Changelog ## Changelog
### Version 16.0.0 ### Version 16.0.1
#### Added #### Added
N/A * Supported persistence.config.subPath in metrics exporter
#### Changed #### Changed

View File

@ -29,6 +29,9 @@ additionalContainers:
- name: config - name: config
mountPath: /config mountPath: /config
readOnly: true readOnly: true
{{ if .Values.persistence.config.subPath }}
subPath: {{ .Values.persistence.config.subPath }}
{{ end }}
{{ end }} {{ end }}
service: service: