Skip to content

Commit

Permalink
add subPath to config mount (#78)
Browse files Browse the repository at this point in the history
  • Loading branch information
bueti authored Aug 3, 2023
1 parent 6257644 commit 4d404b5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions charts/metrics-exporter/Chart.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
2 changes: 1 addition & 1 deletion charts/metrics-exporter/README.md
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
3 changes: 2 additions & 1 deletion charts/metrics-exporter/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 4d404b5

Please sign in to comment.