|
@@ -162,6 +162,13 @@ func NewProvider(cache clustercache.ClusterCache, apiKey string, config *config.
|
|
|
cp.accountID = providerConfig.customPricing.ClusterAccountID
|
|
cp.accountID = providerConfig.customPricing.ClusterAccountID
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ providerConfig.Update(func(cp *models.CustomPricing) error {
|
|
|
|
|
+ if cp.ServiceKeyName == "AKIXXX" {
|
|
|
|
|
+ cp.ServiceKeyName = ""
|
|
|
|
|
+ }
|
|
|
|
|
+ return nil
|
|
|
|
|
+ })
|
|
|
|
|
+
|
|
|
switch cp.provider {
|
|
switch cp.provider {
|
|
|
case kubecost.CSVProvider:
|
|
case kubecost.CSVProvider:
|
|
|
log.Infof("Using CSV Provider with CSV at %s", env.GetCSVPath())
|
|
log.Infof("Using CSV Provider with CSV at %s", env.GetCSVPath())
|