From 8fbffc6322287260a2b3316438636152df9236dd Mon Sep 17 00:00:00 2001 From: Emmanuel Bakare Date: Thu, 5 Mar 2026 18:28:54 +0000 Subject: [PATCH 1/4] fix: deploy custom cadvisor image with pvc container device_info mapping The hope is to return to the base image once https://github.com/google/cadvisor/pull/3844 is merged --- charts/costgraph-operator/Chart.lock | 7 +++++-- charts/costgraph-operator/Chart.yaml | 4 ++++ charts/costgraph-operator/values.yaml | 14 ++++++++++++++ 3 files changed, 23 insertions(+), 2 deletions(-) diff --git a/charts/costgraph-operator/Chart.lock b/charts/costgraph-operator/Chart.lock index b3c9185..1391586 100644 --- a/charts/costgraph-operator/Chart.lock +++ b/charts/costgraph-operator/Chart.lock @@ -2,5 +2,8 @@ dependencies: - name: kube-state-metrics repository: https://prometheus-community.github.io/helm-charts version: 5.27.1 -digest: sha256:e7d1012e5e0c168152bf31a78201412ace9181b3e1409d2fef03c47a272fb066 -generated: "2026-02-11T09:46:23.549839514Z" +- name: cadvisor + repository: https://charts.bitnami.com/bitnami + version: 0.1.13 +digest: sha256:c26e65b8c0e137114855071616095d639bce503d01438bb65c0aee6b5197d757 +generated: "2026-03-05T17:51:05.641137209Z" diff --git a/charts/costgraph-operator/Chart.yaml b/charts/costgraph-operator/Chart.yaml index 18c6a12..83cf785 100644 --- a/charts/costgraph-operator/Chart.yaml +++ b/charts/costgraph-operator/Chart.yaml @@ -10,3 +10,7 @@ dependencies: version: "5.27.*" repository: https://prometheus-community.github.io/helm-charts condition: kube-state-metrics.enabled + - name: cadvisor + version: "0.1.*" + repository: https://charts.bitnami.com/bitnami + condition: cadvisor.enabled diff --git a/charts/costgraph-operator/values.yaml b/charts/costgraph-operator/values.yaml index 33fa94c..b36e639 100644 --- a/charts/costgraph-operator/values.yaml +++ b/charts/costgraph-operator/values.yaml @@ -5,6 +5,9 @@ global: clusterName: "" apiKey: "" namespace: "costgraph" + # Flag to enable use of our custom image in the cadvisor chart + security: + allowInsecureImages: true imagePullSecrets: [] nameOverride: "" @@ -23,6 +26,17 @@ serviceAccount: kube-state-metrics: enabled: true +# -------------------------------------------------------------------------- +# cadvisor (subchart from bitnami) +# See: https://github.com/bitnami/charts/tree/main/bitnami/cadvisor +# -------------------------------------------------------------------------- +cadvisor: + enabled: true + image: + registry: ghcr.io + repository: baselinehq/cadvisor + tag: "v0.56.2-baseline" + # -------------------------------------------------------------------------- # costgraph-operator-kubernetes deployment # -------------------------------------------------------------------------- From 70c7219ab0fc8f3f6f4a0a74729a430ce840c291 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 5 Mar 2026 18:32:10 +0000 Subject: [PATCH 2/4] update Helm documentation --- charts/costgraph-operator/README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/charts/costgraph-operator/README.md b/charts/costgraph-operator/README.md index 8049b12..9c5a7bf 100644 --- a/charts/costgraph-operator/README.md +++ b/charts/costgraph-operator/README.md @@ -8,16 +8,19 @@ A Helm chart for the Costgraph operator | Repository | Name | Version | |------------|------|---------| +| https://charts.bitnami.com/bitnami | cadvisor | 0.1.* | | https://prometheus-community.github.io/helm-charts | kube-state-metrics | 5.27.* | ## Values | Key | Type | Default | Description | |-----|------|---------|-------------| +| cadvisor | object | `{"enabled":true,"image":{"registry":"ghcr.io","repository":"baselinehq/cadvisor","tag":"v0.56.2-baseline"}}` | ------------------------------------------------------------------------ | | fullnameOverride | string | `""` | | | global.apiKey | string | `""` | | | global.clusterName | string | `""` | | | global.namespace | string | `"costgraph"` | | +| global.security.allowInsecureImages | bool | `true` | | | imagePullSecrets | list | `[]` | | | kube-state-metrics | object | `{"enabled":true}` | ------------------------------------------------------------------------ | | nameOverride | string | `""` | | From 6945ec75cd63079ab1dec1eee8a9cf872a84b0bf Mon Sep 17 00:00:00 2001 From: Emmanuel Bakare Date: Thu, 5 Mar 2026 18:32:21 +0000 Subject: [PATCH 3/4] fix: bump version for release --- charts/costgraph-operator/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/costgraph-operator/Chart.yaml b/charts/costgraph-operator/Chart.yaml index 83cf785..eb85a8f 100644 --- a/charts/costgraph-operator/Chart.yaml +++ b/charts/costgraph-operator/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: costgraph-operator description: A Helm chart for the Costgraph operator type: application -version: 0.1.0 +version: 0.1.1 appVersion: "1.16.0" dependencies: From 5c854128edae186741279b0cbfe3e78f28b67a48 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 5 Mar 2026 18:33:11 +0000 Subject: [PATCH 4/4] update Helm documentation --- charts/costgraph-operator/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/costgraph-operator/README.md b/charts/costgraph-operator/README.md index 9c5a7bf..c862796 100644 --- a/charts/costgraph-operator/README.md +++ b/charts/costgraph-operator/README.md @@ -1,6 +1,6 @@ # costgraph-operator -![Version: 0.1.0](https://img.shields.io/badge/Version-0.1.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.16.0](https://img.shields.io/badge/AppVersion-1.16.0-informational?style=flat-square) +![Version: 0.1.1](https://img.shields.io/badge/Version-0.1.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.16.0](https://img.shields.io/badge/AppVersion-1.16.0-informational?style=flat-square) A Helm chart for the Costgraph operator