Skip to content

Commit

Permalink
chore: removed CRDs from chart
Browse files Browse the repository at this point in the history
Signed-off-by: Bruno Bressi <[email protected]>
  • Loading branch information
puffitos committed Dec 4, 2024
1 parent bbfab41 commit ee1c2aa
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ annotations:
catalog.cattle.io/display-name: CaaS Cluster Monitoring V3
name: caas-cluster-monitoring
description: A Helm chart for Rancher Cluster Monitoring V3
version: "0.0.13"
version: "0.0.14"
appVersion: "58.4.0"
icon: https://raw.githubusercontent.com/caas-team/caas-project-monitoring/main/logo.png
keywords:
Expand Down
Binary file modified charts/kube-prometheus-stack-58.4.0.tgz
Binary file not shown.
4 changes: 3 additions & 1 deletion hack/chart.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ echo "Extracting ${tarball}"
tar -xzf ${tarball} -C charts/

echo "Deleting CRD from kube-prometheus-stack"
rm -rf charts/kube-prometheus-stack/charts/crd/
rm -rf charts/kube-prometheus-stack/charts/crds
yq 'del(.dependencies[] | select(.name == "crds"))' -i charts/kube-prometheus-stack/Chart.yaml
yq 'del(.crds)' -i charts/kube-prometheus-stack/values.yaml

echo "Packaging new chart"
helm package charts/kube-prometheus-stack -d charts
Expand Down

0 comments on commit ee1c2aa

Please sign in to comment.