Skip to content

tailosoft/charts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

This repo contains a list of charts use by us and our customers

#push images

create a folder called ignore at the root of your project, and add the script that looks like this:

#!/usr/bin/bash
if [ $# -ne 1 ]; then
  echo "wrong params, retry with one param: folderName";
  exit 1;
fi
cd "$(dirname $0)" || exit;
VERSION=$(grep -oP '^version: \K.*' ../charts/$1/Chart.yaml)
NAME=$(grep -oP '^name: \K.*' ../charts/$1/Chart.yaml)
HELM_REPO_URL=https://CAHNGE_IT/charts/
HELM_REPO_USERNAME=CHANGE_IT
HELM_REPO_PASSWORD=CHANGE_IT
# next line can be commented if project already built
helm dependency build ../charts/$1
helm package ../charts/$1
curl --fail -u $HELM_REPO_USERNAME:$HELM_REPO_PASSWORD --data-binary "@$NAME-$VERSION.tgz" $HELM_REPO_URL/api/charts
echo "uploaded $NAME-$VERSION.tgz successfully"
rm -rf $NAME*.tgz

About

This repo contains a list of charts used by us and our customers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published