File tree Expand file tree Collapse file tree 3 files changed +14
-1
lines changed
chart/prometheus-mongodb-query-exporter Expand file tree Collapse file tree 3 files changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -15,4 +15,4 @@ keywords:
1515name : prometheus-mongodb-query-exporter
1616sources :
1717- 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 5353 - secretRef :
5454 name : {{ .Values.envFromSecret }}
5555 {{- end }}
56+ {{- range $key, $value := .Values.extraEnvFieldPath }}
57+ - name : {{ $key }}
58+ valueFrom :
59+ fieldRef :
60+ fieldPath : {{ $value }}
61+ {{- end }}
5662 image : " {{ .Values.image.repository }}:{{ default .Chart.AppVersion .Values.image.tag }}"
5763 imagePullPolicy : {{ .Values.image.pullPolicy }}
5864 args :
Original file line number Diff line number Diff line change @@ -127,6 +127,13 @@ envFromSecret: ""
127127# # key: password
128128extraEnvSecrets : {}
129129
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+
130137securityContext :
131138 allowPrivilegeEscalation : false
132139 capabilities :
You can’t perform that action at this time.
0 commit comments