Skip to content

Commit 9c08e68

Browse files
committed
feat: Add extraVolume value to values and deployment for Helm Chart
Signed-off-by: rvandernoort <rovervandernoort@protonmail.com>
1 parent ab2ecea commit 9c08e68

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

chart/mongodb-query-exporter/templates/deployment.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,9 @@ spec:
9898
secret:
9999
secretName: {{ .secretName }}
100100
{{- end }}
101+
{{- if .Values.extraVolumes }}
102+
{{- toYaml .Values.extraVolumes | nindent 6 }}
103+
{{- end }}
101104
{{- with .Values.affinity }}
102105
affinity:
103106
{{- toYaml . | nindent 8 }}

chart/mongodb-query-exporter/values.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,9 @@ secretMounts: []
8888
# Add additional containers (sidecars)
8989
extraContainers:
9090

91+
# Add additional volumes
92+
extraVolumes:
93+
9194
podAnnotations: {}
9295
# prometheus.io/scrape: "true"
9396
# prometheus.io/port: "metrics"

0 commit comments

Comments
 (0)