oneuptime/helm-chart
2020-04-11 19:24:34 +00:00
..
public Add new readme. 2020-04-08 19:33:51 +02:00
.dockerignore Add helm chart to gitlab ci 2020-03-22 12:39:12 +01:00
.env Add helm chart to gitlab ci 2020-03-22 12:39:12 +01:00
.gitattributes Add helm chart to gitlab ci 2020-03-22 12:39:12 +01:00
.gitignore Add helm chart to gitlab ci 2020-03-22 12:39:12 +01:00
Dockerfile Add helm chart to gitlab ci 2020-03-22 12:39:12 +01:00
LICENSE Add helm chart to gitlab ci 2020-03-22 12:39:12 +01:00
package-lock.json Version Update 3.0.2365 [skip ci] 2020-04-11 19:24:34 +00:00
package.json Version Update 3.0.2365 [skip ci] 2020-04-11 19:24:34 +00:00
README.md Update readme and deployment jobs. 2020-04-11 21:14:12 +02:00
server.js Refactor env files. 2020-03-22 15:22:56 +01:00

Important helm commands.

Please run these commands from root

Lint chart

helm lint ./helm-chart/public/fyipe 

Install as an Enterprise Cluster with default values

helm install fi ./helm-chart/public/fyipe --namespace default

Install on staging

helm install -f ./kubernetes/values-saas-staging.yaml fi ./helm-chart/public/fyipe --namespace default

Install on production

helm install -f ./kubernetes/values-saas-production.yaml fi ./helm-chart/public/fyipe --namespace default 

Update Cluster

kubectl delete job fi-init-script
helm upgrade --reuse-values fi ./helm-chart/public/fyipe

Uninstall

helm uninstall fi --namespace=default

Docker build and push to docker repo with :test tag

Build and deploy all (with master tag, you can use any other tag):

chmod +x ./ci/scripts/docker-build-all.sh 
sudo ./ci/scripts/docker-build-all.sh latest

Build and deploy one:

chmod +x ./ci/scripts/docker-build.sh
sudo ./ci/scripts/docker-build.sh $repo $tag

Package and deploy helm chart

cd ./helm-chart/public
helm repo index ./fyipe
helm package ./fyipe
helm repo index .
cd ..
cd ..

Docker Images

Docker Images are hosted at: https://hub.docker.com/orgs/fyipeproject/repositories and are public.

More info

Read readme at ./public/fyipe/Readme.md