Skip to content

andreyev/swarm-helmfile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

$ tree
.
├── charts
│   ├── mysql-chart
│   │   ├── Chart.yaml
│   │   └── templates
│   │       └── stack.yaml
│   ├── network-chart
│   │   ├── Chart.yaml
│   │   └── templates
│   │       └── stack.yaml
│   └── nginx-chart
│       ├── Chart.yaml
│       └── templates
│           └── stack.yaml
├── deploy.sh
├── helmfiles.yaml
└── tenants
    ├── A.yaml
    ├── B.yaml
    └── C.yaml

9 directories, 11 files

$ helmfile -q -f ./helmfiles.yaml template --values ./tenants/A.yaml | yq ea '. as $item ireduce ({}; . * $item )' | docker stack deploy -d tenant-A -c -
Creating network tenant-A_tenantA_net
Creating service tenant-A_mysql
Creating service tenant-A_nginx

About

PoC of how to generate templates for tenants and services with helm & helmfile for docker swarm

Topics

Resources

Stars

Watchers

Forks

Languages