Skip to content

Commit

Permalink
Fix error when loading custom pricing configuration file (#206)
Browse files Browse the repository at this point in the history
* fix: mount as a file inside configPath

* fix: push version

---------

Signed-off-by: Matt Ray <[email protected]>
Co-authored-by: Matt Ray <[email protected]>
  • Loading branch information
mogaal and mattray authored Jun 3, 2024
1 parent f708416 commit 048ec6c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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.37.1
version: 1.38.0
maintainers:
- name: mattray
url: https://mattray.dev
Expand Down
2 changes: 1 addition & 1 deletion charts/opencost/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ spec:
readOnly: false
{{- end }}
{{- if .Values.opencost.customPricing.enabled }}
- mountPath: {{ .Values.opencost.customPricing.configPath }}
- mountPath: {{ .Values.opencost.customPricing.configPath }}/{{ include "opencost.configFileName" . }}.json
name: custom-configs
subPath: {{ include "opencost.configFileName" . }}.json
readOnly: true
Expand Down

0 comments on commit 048ec6c

Please sign in to comment.