Skip to content

Commit 6ad31ea

Browse files
committed
chore(addons): remove kafka
1 parent a40dd54 commit 6ad31ea

2 files changed

Lines changed: 9 additions & 11 deletions

File tree

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,5 @@ Temporary Items
4646

4747
toCopy/
4848
out/
49-
Chart.lock
49+
Chart.lock
50+
*.tgz

scripts/checker.sh

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -115,15 +115,12 @@ function checkAddons() {
115115
}
116116

117117
function installHelm() {
118-
echo -e "${INVERTED}Installing Helm...\n${NC}"
119-
curl https://raw.githubusercontent.com/helm/helm/master/scripts/get > get_helm.sh
120-
chmod 700 get_helm.sh
121-
122-
./get_helm.sh --version ${helmVersion}
123-
124-
echo -e "\n${GREEN}Installed Helm [version $(helm version --client)]${NC}\n"
125-
126-
rm ./get_helm.sh
118+
if [ command -v helm >/dev/null 2>&1 ]; then
119+
echo -e "${INVERTED}Helm has been installed.\n"
120+
else
121+
echo -e "${INVERTED}Installing Helm...\n${NC}"
122+
curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash
123+
fi
127124
}
128125

129126
function lintHelmChartsIfRequested() {
@@ -142,7 +139,7 @@ function lintHelmChartsIfRequested() {
142139
do
143140
for addon in ${directory}/*/; do
144141
for chart in ${addon}chart/*/; do
145-
if [ -e ${chart}/Chart.lock ]; then
142+
if [ ! -e ${chart}/Chart.lock ]; then
146143
helm dependency update ${chart}
147144
fi
148145
for plan in ${addon}/plans/*/; do

0 commit comments

Comments
 (0)