Skip to content

Commit

Permalink
chore: helm package produces reasonable sized chart
Browse files Browse the repository at this point in the history
helm package was creating a chart up to 6MB. This happened because the .git folder was being included in the package.
  • Loading branch information
puffitos committed May 27, 2024
1 parent b1e139e commit 42686f7
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
charts/kube-prometheus-stack
caas-cluster-monitoring-*.tgz
5 changes: 4 additions & 1 deletion .helmignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
.pre-commit-config.yaml
.github/*
.github/*
README.md*
# needed else the whole git directory is packed in the chart
.git
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
charts:
chart:
helm dependency update
rm charts/hardenedKubelet-*.tgz
rm charts/rke*.tgz
helm package .

.PHONY: charts
.PHONY: chart

0 comments on commit 42686f7

Please sign in to comment.