mirror of
https://github.com/helmfile/helmfile.git
synced 2026-09-30 14:22:56 +02:00
Introduces DAG-aware installation/deletion ordering to Helmfile.
`needs` controls the order of the installation/deletion of the release:
```yaml
relesaes:
- name: somerelease
needs:
- [TILLER_NAMESPACE/][NAMESPACE/]anotherelease
```
All the releases listed under `needs` are installed before(or deleted after) the release itself.
For the following example, `helmfile [sync|apply]` installs releases in this order:
1. logging
2. servicemesh
3. myapp1 and myapp2
```yaml
- name: myapp1
chart: charts/myapp
needs:
- servicemesh
- logging
- name: myapp2
chart: charts/myapp
needs:
- servicemesh
- logging
- name: servicemesh
chart: charts/istio
needs:
- logging
- name: logging
chart: charts/fluentd
```
Note that all the releases in a same group is installed concurrently. That is, myapp1 and myapp2 are installed concurrently.
On `helmdile [delete|destroy]`, deleations happen in the reverse order.
That is, `myapp1` and `myapp2` are deleted first, then `servicemesh`, and finally `logging`.
Resolves #715
43 lines
1.8 KiB
AMPL
43 lines
1.8 KiB
AMPL
module github.com/roboll/helmfile
|
|
|
|
go 1.13
|
|
|
|
require (
|
|
cloud.google.com/go v0.47.0 // indirect
|
|
github.com/Azure/azure-sdk-for-go v34.4.0+incompatible // indirect
|
|
github.com/Masterminds/goutils v1.1.0 // indirect
|
|
github.com/Masterminds/semver v1.4.2
|
|
github.com/Masterminds/sprig v2.22.0+incompatible
|
|
github.com/aws/aws-sdk-go v1.25.19 // indirect
|
|
github.com/go-test/deep v1.0.3
|
|
github.com/golang/groupcache v0.0.0-20191025150517-4a4ac3fbac33 // indirect
|
|
github.com/google/go-cmp v0.3.1
|
|
github.com/gosuri/uitable v0.0.3
|
|
github.com/hashicorp/go-getter v1.3.0
|
|
github.com/hashicorp/go-retryablehttp v0.6.2 // indirect
|
|
github.com/howeyc/gopass v0.0.0-20190910152052-7cb4b85ec19c // indirect
|
|
github.com/huandu/xstrings v1.2.0 // indirect
|
|
github.com/imdario/mergo v0.3.6
|
|
github.com/konsorten/go-windows-terminal-sequences v1.0.2 // indirect
|
|
github.com/mattn/go-colorable v0.1.4 // indirect
|
|
github.com/mattn/go-isatty v0.0.10 // indirect
|
|
github.com/pierrec/lz4 v2.3.0+incompatible // indirect
|
|
github.com/r3labs/diff v0.0.0-20190801153147-a71de73c46ad
|
|
github.com/tatsushid/go-prettytable v0.0.0-20141013043238-ed2d14c29939
|
|
github.com/urfave/cli v1.20.0
|
|
github.com/variantdev/dag v0.0.0-20191028002400-bb0b3c785363
|
|
github.com/variantdev/vals v0.0.0-20191026125821-5d18b16cf30a
|
|
go.mozilla.org/sops v0.0.0-20190912205235-14a22d7a7060 // indirect
|
|
go.opencensus.io v0.22.1 // indirect
|
|
go.uber.org/multierr v1.1.0
|
|
go.uber.org/zap v1.9.1
|
|
golang.org/x/time v0.0.0-20191024005414-555d28b269f0 // indirect
|
|
google.golang.org/api v0.11.0 // indirect
|
|
google.golang.org/appengine v1.6.5 // indirect
|
|
google.golang.org/grpc v1.24.0 // indirect
|
|
gopkg.in/square/go-jose.v2 v2.4.0 // indirect
|
|
gopkg.in/yaml.v2 v2.2.4
|
|
gopkg.in/yaml.v3 v3.0.0-20191026110619-0b21df46bc1d // indirect
|
|
gotest.tools v2.2.0+incompatible
|
|
)
|