diff --git a/charts/metrics-exporter/Chart.yaml b/charts/metrics-exporter/Chart.yaml index 3819ae4..c8c9b0f 100644 --- a/charts/metrics-exporter/Chart.yaml +++ b/charts/metrics-exporter/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: metrics-exporter -version: 1.1.2 +version: 1.1.3 appVersion: "0.5" description: This Chart installs and configures agnostic metrics exporter for sql servers @@ -14,7 +14,7 @@ keywords: - sql_server annotations: artifacthub.io/changes: | - - Added Service + - Add subPath to config mount artifacthub.io/images: | - name: free/sql_exporter image: githubfree/sql_exporter:0.5 diff --git a/charts/metrics-exporter/README.md b/charts/metrics-exporter/README.md index c6b5a1d..1881d74 100644 --- a/charts/metrics-exporter/README.md +++ b/charts/metrics-exporter/README.md @@ -1,6 +1,6 @@ # metrics-exporter -![Version: 1.1.2](https://img.shields.io/badge/Version-1.1.2-informational?style=flat-square) ![AppVersion: 0.5](https://img.shields.io/badge/AppVersion-0.5-informational?style=flat-square) ![Release Status](https://github.com/ricardo-ch/helm-charts/workflows/Release%20Charts/badge.svg) [![License](https://img.shields.io/github/license/ricardo-ch/helm-charts)](https://github.com/ricardo-ch/helm-charts/blob/main/LICENSE) +![Version: 1.1.3](https://img.shields.io/badge/Version-1.1.3-informational?style=flat-square) ![AppVersion: 0.5](https://img.shields.io/badge/AppVersion-0.5-informational?style=flat-square) ![Release Status](https://github.com/ricardo-ch/helm-charts/workflows/Release%20Charts/badge.svg) [![License](https://img.shields.io/github/license/ricardo-ch/helm-charts)](https://github.com/ricardo-ch/helm-charts/blob/main/LICENSE) This chart installs [the DBMS agnostic metrics exporter](https://github.com/free/sql_exporter) based on SQL queries. diff --git a/charts/metrics-exporter/templates/deployment.yaml b/charts/metrics-exporter/templates/deployment.yaml index 4dbb32e..082b457 100644 --- a/charts/metrics-exporter/templates/deployment.yaml +++ b/charts/metrics-exporter/templates/deployment.yaml @@ -50,7 +50,8 @@ spec: {{- toYaml .Values.resources | nindent 12 }} volumeMounts: - name: config - mountPath: /config + mountPath: /config/sql_exporter.yaml + subPath: sql_exporter.yaml readOnly: true {{- with .Values.extraVolumeMounts }} {{ toYaml . | indent 12 }}