Skip to content

Commit 7691c9b

Browse files
committed
[azure-metrics-exporter] Support extraVolumes and extraVolumeMounts
1 parent 9d9f3cb commit 7691c9b

File tree

3 files changed

+20
-1
lines changed

3 files changed

+20
-1
lines changed

charts/azure-metrics-exporter/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: azure-metrics-exporter
33
type: application
44
description: A Helm chart for azure-metrics-exporter
55
home: https://github.com/webdevops/azure-metrics-exporter
6-
version: 1.2.10
6+
version: 1.3.0
77
# renovate: image=webdevops/azure-metrics-exporter
88
appVersion: 24.9.1
99
keywords:

charts/azure-metrics-exporter/templates/deployment.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,10 @@ spec:
6969
- containerPort: 8080
7070
name: http-metrics
7171
protocol: TCP
72+
{{- with .Values.extraVolumeMounts }}
73+
volumeMounts:
74+
{{- toYaml . | nindent 12 }}
75+
{{- end }}
7276

7377
{{- with .Values.resources }}
7478
resources: {{ toYaml . | nindent 12 }}
@@ -94,4 +98,7 @@ spec:
9498
{{- end }}
9599
{{- if .Values.imagePullSecrets }}
96100
imagePullSecrets: {{ toYaml .Values.imagePullSecrets | nindent 8 }}
101+
{{- with .Values.extraVolumes }}
102+
volumes:
103+
{{- toYaml . | nindent 8 }}
97104
{{- end }}

charts/azure-metrics-exporter/values.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,18 @@ secretsEnableTemplateFunctions: false
3232
secrets: {}
3333
# secretName: secretValue
3434

35+
extraVolumes: []
36+
# - name: azure-identity-token
37+
# projected:
38+
# sources:
39+
# - serviceAccountToken:
40+
# audience: api://AzureADTokenExchange
41+
# expirationSeconds: 3600
42+
# path: federated-token
43+
extraVolumeMounts: []
44+
# - mountPath: /var/run/secrets/azure/tokens
45+
# name: azure-identity-token
46+
# readOnly: true
3547

3648
resources:
3749
limits:

0 commit comments

Comments
 (0)