helm create portail-web
This will generate a helm chart structured like:
portail-web/
Chart.yaml
values.yaml
# General | |
unameOut="$(uname -s)" | |
case "${unameOut}" in | |
Linux*) machine=Linux;; | |
Darwin*) machine=Mac;; | |
CYGWIN*) machine=Cygwin;; | |
MINGW*) machine=MinGw;; | |
*) machine="UNKNOWN:${unameOut}" | |
esac |
help: ## Show this help | |
@grep -E "^[a-z0-9_-]+:|^##" Makefile | sed -E 's/([\s_]+):.*##(.*)/\1:\2/' | column -s: -t | sed -e 's/##//' | |
## | |
## Utils | |
sync: ## sync | |
rsync -azP --exclude={.git/,build}./ user@192.168.95.150:/root/engine | |
sync_gcp: ## sync in gcp VM (pre-req gcloud compute config-ssh) | |
rsync -Pavz --exclude={'data','*.pyc','prototypes','.git','.pytest_cache'} ./ sshuser@`gcloud compute instances list --filter="name=elasticsearch" --format "get(networkInterfaces[0].accessConfigs[0].natIP)"`:~/horizon |