diff --git a/apps/kubecost/charts/charts.yaml b/apps/kubecost/charts/charts.yaml index 4efafe3af9..7318cf48c5 100644 --- a/apps/kubecost/charts/charts.yaml +++ b/apps/kubecost/charts/charts.yaml @@ -2,3 +2,5 @@ charts: kubecost: - version: 2.5.3 appVersion: 2.5.3 + - version: 2.9.7 + appVersion: 2.9.7 diff --git a/apps/kubecost/charts/kubecost-2.5.3/Chart.yaml b/apps/kubecost/charts/kubecost-2.5.3/Chart.yaml index 0a3fc8f7d6..81ec28f795 100644 --- a/apps/kubecost/charts/kubecost-2.5.3/Chart.yaml +++ b/apps/kubecost/charts/kubecost-2.5.3/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: kubecost -description: A Helm chart to refer the official "kubecost" helm chart +description: A Helm chart that references the official "kubecost" Helm chart. type: application version: 2.5.3 dependencies: diff --git a/apps/kubecost/charts/kubecost-2.9.7/Chart.lock b/apps/kubecost/charts/kubecost-2.9.7/Chart.lock new file mode 100644 index 0000000000..df233a79fd --- /dev/null +++ b/apps/kubecost/charts/kubecost-2.9.7/Chart.lock @@ -0,0 +1,6 @@ +dependencies: +- name: cost-analyzer + repository: https://kubecost.github.io/cost-analyzer/ + version: 2.9.7 +digest: sha256:8093579d21cfb8854f9c66da7867083dd8747112db722a04b5af9d7f0594993e +generated: "2026-10-08T17:28:39.685733455Z" diff --git a/apps/kubecost/charts/kubecost-2.9.7/Chart.yaml b/apps/kubecost/charts/kubecost-2.9.7/Chart.yaml new file mode 100644 index 0000000000..0b208c0c1b --- /dev/null +++ b/apps/kubecost/charts/kubecost-2.9.7/Chart.yaml @@ -0,0 +1,9 @@ +apiVersion: v2 +name: kubecost +description: A Helm chart that references the official "kubecost" Helm chart. +type: application +version: 2.9.7 +dependencies: + - name: cost-analyzer + version: 2.9.7 + repository: https://kubecost.github.io/cost-analyzer/ diff --git a/apps/kubecost/charts/st-charts.yaml b/apps/kubecost/charts/st-charts.yaml index 7aacec3ec5..6baec2b2cc 100644 --- a/apps/kubecost/charts/st-charts.yaml +++ b/apps/kubecost/charts/st-charts.yaml @@ -3,3 +3,7 @@ st-charts: dep_name: cost-analyzer version: 2.5.3 repository: https://kubecost.github.io/cost-analyzer/ +- name: kubecost + dep_name: cost-analyzer + version: 2.9.7 + repository: https://kubecost.github.io/cost-analyzer/ diff --git a/apps/kubecost/example/Chart.yaml b/apps/kubecost/example/Chart.yaml index 917e102fd8..cbaadefd95 100644 --- a/apps/kubecost/example/Chart.yaml +++ b/apps/kubecost/example/Chart.yaml @@ -3,6 +3,12 @@ name: example type: application version: 2.5.3 dependencies: + # cost-analyzer 2.9 requires a federated store and the agent only accepts + # object storage, so the example has to bring one. + - name: minio + version: 17.0.21 + repository: oci://ghcr.io/k0rdent/catalog/charts - name: kubecost - version: 2.5.3 + version: 2.9.7 repository: oci://ghcr.io/k0rdent/catalog/charts + mcs_dep_index: 0 diff --git a/apps/kubecost/example/values.yaml b/apps/kubecost/example/values.yaml index e69de29bb2..6d7facc5e2 100644 --- a/apps/kubecost/example/values.yaml +++ b/apps/kubecost/example/values.yaml @@ -0,0 +1,35 @@ +minio: + minio: + # MCS deploys each dependency as its own release, so pin the name kubecost + # points at instead of letting it follow the release name. + fullnameOverride: minio + global: + security: + allowInsecureImages: true + image: + repository: bitnamilegacy/minio + console: + image: + repository: bitnamilegacy/minio-object-browser + auth: + rootUser: kubecost + rootPassword: kubecost-example + defaultBuckets: kubecost + +kubecost: + global: + # Both became mandatory in cost-analyzer 2.9; clusterId has to match the + # chart's own prometheus.server.global.external_labels.cluster_id default. + clusterId: cluster-one + federatedStorage: + # The finops agent rejects anything but object storage ("storage with type + # FILESYSTEM is not supported"), so point it at the bundled MinIO. Use a + # real S3/GCS/Azure bucket for anything beyond a demo. + config: | + type: S3 + config: + bucket: kubecost + endpoint: minio:9000 + access_key: kubecost + secret_key: kubecost-example + insecure: true