diff --git a/cost-analyzer/Chart.yaml b/cost-analyzer/Chart.yaml index 34386376c..b6f0c2bb5 100755 --- a/cost-analyzer/Chart.yaml +++ b/cost-analyzer/Chart.yaml @@ -9,3 +9,13 @@ annotations: "artifacthub.io/links": | - name: Homepage url: https://www.kubecost.com +dependencies: + - condition: global.grafana.enabled + name: grafana + repository: file://./charts/grafana + - condition: global.prometheus.enabled + name: prometheus + repository: file://./charts/prometheus + - condition: global.thanos.enabled + name: thanos + repository: file://./charts/thanos diff --git a/cost-analyzer/charts/prometheus/Chart.yaml b/cost-analyzer/charts/prometheus/Chart.yaml index 2125e70b4..26fbd257e 100755 --- a/cost-analyzer/charts/prometheus/Chart.yaml +++ b/cost-analyzer/charts/prometheus/Chart.yaml @@ -18,3 +18,7 @@ sources: - https://github.com/kubernetes/kube-state-metrics tillerVersion: '>=2.8.0' version: 11.0.2 +dependencies: + - condition: kube-state-metrics.disabled + name: kube-state-metrics + repository: file://./charts/kube-state-metrics