kubecost / cost-analyzer-helm-chart

Kubecost helm chart

Home Page:http://kubecost.com/install

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Feature] Allow embedded file configs in values

jessegoodier opened this issue · comments

Problem Statement

It is possible to pass a configuration via helm values without using "extraObjects" or creating out-of-band secrets/configmaps.
Kubecost helm chart does not support this for many of the configuration items we require for integrating with cloud billing/object-storage/etc.

Benefits for embedding the configs:

  1. Simplicity
  2. Less mistakes (foot guns)
  3. Easier to support for future users that take over the role
  4. single file "advanced" configs

Solution Description

Example:
https://github.com/bitnami/charts/blob/main/bitnami/thanos/templates/objstore-secret.yaml#L14
values file is simply:

objstoreConfig: |-
  type: S3
  config:
    bucket: my-bucket
    region: eu-central-1
    endpoint: s3.amazonaws.com

Alternatives

No response

Additional Context

No response

Troubleshooting

  • I have read and followed the issue guidelines and this is a feature request only for the Helm chart.
  • I have searched other issues in this repository and mine is not recorded.