-
Notifications
You must be signed in to change notification settings - Fork 0
andreyev/swarm-helmfile
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
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