Skip to content

Commit

Permalink
Fixes missing inclusion of subpath for the mount path (#208)
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Ray <[email protected]>
Co-authored-by: Matt Ray <[email protected]>
  • Loading branch information
valdisrigdon and mattray authored Jun 3, 2024
1 parent 048ec6c commit 31a8cd6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/opencost/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ keywords:
- finops
- monitoring
- opencost
version: 1.38.0
version: 1.38.1
maintainers:
- name: mattray
url: https://mattray.dev
Expand Down
4 changes: 2 additions & 2 deletions charts/opencost/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ spec:
readOnly: true
{{- end }}
{{- if .Values.opencost.metrics.config.enabled }}
- mountPath: {{ .Values.opencost.customPricing.configPath }}
- mountPath: {{ .Values.opencost.customPricing.configPath }}/metrics.json
name: custom-metrics
subPath: metrics.json
readOnly: true
Expand Down Expand Up @@ -373,7 +373,7 @@ spec:
{{- if .Values.opencost.metrics.config.enabled }}
- name: custom-metrics
configMap:
name: {{ .Values.opencost.config.metrics.configmapName }}
name: {{ .Values.opencost.metrics.config.configmapName }}
{{- end }}
{{- if .Values.opencost.exporter.persistence.enabled }}
- name: opencost-export
Expand Down

0 comments on commit 31a8cd6

Please sign in to comment.