Helm Parameters
There are three different approaches for passing custom Helm config values into the Kubecost project:
- 1.Pass exact parameters via
--set
command-line flags. For example, you can only pass a product key if that is all you need to configure.$ helm install kubecost cost-analyzer \--repo https://kubecost.github.io/cost-analyzer/ \--namespace kubecost --create-namespace \--set kubecostProductConfigs.productKey.key="123"... - 2.Pass exact parameters via custom
values
file. Similar to option #1, you can create a separate values file that contains only the parameters needed.$ helm install kubecost cost-analyzer \--repo https://kubecost.github.io/cost-analyzer/ \--namespace kubecost --create-namespace \--values values.yamlvalues.yamlkubecostProductConfigs:productKey:key: "123"enabled: true - 3.
Note: Taking this approach means you may need to sync with the repo to use the latest release.
Last modified 1mo ago