Skip to content

Opencost v1.116.0 is no longer respecting pricing-configs configmap #3297

@nabeelPTV

Description

@nabeelPTV

Describe the bug
When I upgraded my opencost from 1.115.0 to 1.116.0, it is no longer reading the pricing-configs configmap for region and currency. I am using for azure cloud and configured azureBillingRegion and currencyCode Its using the default US region and USD currency. I could not find anything in the release notes for this breaking change.

To Reproduce
Steps to reproduce the behavior:

  1. Use azureBillingRegion and currencyCode in 1.115.0, these are being used for azure rate card api.
  2. Upgrade to 1.116.0 and opencost would not read these configurations for pricing-configs configmap.

Expected behavior
Opencost should use configurations added in the pricing-configs just like it was using in 1.115.0

Screenshots

Which version of OpenCost are you using?
I upgraded from 1.115.0 to 1.116.0
Additional context
Logs:
No pricing-configs configmap found at install time, using existing configs: configmaps "pricing-configs" not found
Using azureRateCard query OfferDurableId eq 'MS-AZR-0003p' and Currency eq 'USD' and Locale eq 'en-US' and RegionInfo eq 'US

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions