diff --git a/chart/mongodb-query-exporter/templates/deployment.yaml b/chart/mongodb-query-exporter/templates/deployment.yaml index ff0d3fbb..62d28aaa 100644 --- a/chart/mongodb-query-exporter/templates/deployment.yaml +++ b/chart/mongodb-query-exporter/templates/deployment.yaml @@ -98,6 +98,9 @@ spec: secret: secretName: {{ .secretName }} {{- end }} + {{- if .Values.extraVolumes }} + {{- toYaml .Values.extraVolumes | nindent 6 }} + {{- end }} {{- with .Values.affinity }} affinity: {{- toYaml . | nindent 8 }} diff --git a/chart/mongodb-query-exporter/values.yaml b/chart/mongodb-query-exporter/values.yaml index 641b4320..1d8457bb 100644 --- a/chart/mongodb-query-exporter/values.yaml +++ b/chart/mongodb-query-exporter/values.yaml @@ -88,6 +88,9 @@ secretMounts: [] # Add additional containers (sidecars) extraContainers: +# Add additional volumes +extraVolumes: + podAnnotations: {} # prometheus.io/scrape: "true" # prometheus.io/port: "metrics"