File tree 3 files changed +14
-1
lines changed
chart/prometheus-mongodb-query-exporter
3 files changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -15,4 +15,4 @@ keywords:
15
15
name : prometheus-mongodb-query-exporter
16
16
sources :
17
17
- https://github.com/raffis/mongodb-query-exporter
18
- version : 2.0.1
18
+ version : 2.1.0
Original file line number Diff line number Diff line change 53
53
- secretRef :
54
54
name : {{ .Values.envFromSecret }}
55
55
{{- end }}
56
+ {{- range $key, $value := .Values.extraEnvFieldPath }}
57
+ - name : {{ $key }}
58
+ valueFrom :
59
+ fieldRef :
60
+ fieldPath : {{ $value }}
61
+ {{- end }}
56
62
image : " {{ .Values.image.repository }}:{{ default .Chart.AppVersion .Values.image.tag }}"
57
63
imagePullPolicy : {{ .Values.image.pullPolicy }}
58
64
args :
Original file line number Diff line number Diff line change @@ -127,6 +127,13 @@ envFromSecret: ""
127
127
# # key: password
128
128
extraEnvSecrets : {}
129
129
130
+ # # A list of environment variables from fieldPath refs that will expose pod information to the container
131
+ # # This can be useful for enriching the custom metrics with pod information
132
+ # # example:
133
+ # # extraEnvFieldPath:
134
+ # # POD_NAME: metadata.name
135
+ extraEnvFieldPath : {}
136
+
130
137
securityContext :
131
138
allowPrivilegeEscalation : false
132
139
capabilities :
You can’t perform that action at this time.
0 commit comments