Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: upgrade to kubecost v2 #2959

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions common/helm-repositories/deleteme.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
apiVersion: source.toolkit.fluxcd.io/v1beta2
kind: HelmRepository
metadata:
name: takirala
namespace: kommander-flux
spec:
interval: 10m
timeout: 1m
url: "${helmMirrorURL:=https://takirala.github.io/charts/stable}"
---
10 changes: 10 additions & 0 deletions common/helm-repositories/kubecost.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
apiVersion: source.toolkit.fluxcd.io/v1beta2
kind: HelmRepository
metadata:
name: kubecost
namespace: kommander-flux
spec:
interval: 10m
timeout: 1m
url: "${helmMirrorURL:=https://kubecost.github.io/cost-analyzer/}"
2 changes: 2 additions & 0 deletions common/helm-repositories/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ resources:
- bitnami.yaml
- cert-manager.yaml
- dashboard.yaml
- deleteme.yaml
- fluent.yaml
- gatekeeper.yaml
- grafana.yaml
Expand All @@ -13,6 +14,7 @@ resources:
- kommander-ui.yaml
- kommander.yaml
- kube-logging.yaml
- kubecost.yaml
- kubefed.yaml
- kubetunnel.yaml
- mesosphere-repos.yaml
Expand Down
153 changes: 0 additions & 153 deletions services/centralized-kubecost/0.37.8/defaults/cm.yaml

This file was deleted.

156 changes: 0 additions & 156 deletions services/centralized-kubecost/0.37.8/release/release.yaml

This file was deleted.

23 changes: 23 additions & 0 deletions services/centralized-kubecost/2.5.0/cosi-storage.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: kubecost-cosi-storage
namespace: ${releaseNamespace}
spec:
force: true
prune: true
wait: true
interval: 6h
retryInterval: 1m
path: ./services/centralized-kubecost/2.5.0/cosi-storage
sourceRef:
kind: GitRepository
name: management
namespace: kommander-flux
timeout: 1m
dependsOn:
- name: todo-move-to-konvoy
namespace: ${releaseNamespace}
postBuild:
substitute:
releaseNamespace: ${releaseNamespace}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- move-to-rook-ceph-cluster-driver.yaml
- todo-create-a-new-chart-in-mesosphere_charts_stable.yaml
Loading
Loading