Closed valdisrigdon closed 6 months ago
CONFIG_PATH is a single directory where both the custom pricing (aws.json) and metrics.json need to exist.
aws.json
metrics.json
The only way to map multiple ConfigMaps into a single folder is to use subPath, so both ConfigMap volume mounts now use subPath.
ConfigMap
subPath
This also unifies the way the names of the custom pricing and metrics configmap names are configured to follow the way the custom pricing one works.
This is a fix for the original change in https://github.com/opencost/opencost-helm-chart/pull/183
@mattray @toscott This is ready for a review
CONFIG_PATH is a single directory where both the custom pricing (
aws.json
) andmetrics.json
need to exist.The only way to map multiple ConfigMaps into a single folder is to use subPath, so both
ConfigMap
volume mounts now usesubPath
.This also unifies the way the names of the custom pricing and metrics configmap names are configured to follow the way the custom pricing one works.
This is a fix for the original change in https://github.com/opencost/opencost-helm-chart/pull/183