helmfile/pkg
Yusuke Kuoka 9efb7afb47
Do fail on a possible typo in `needs` entries (#2026)
* Do fail on a possible typo in `needs` entries

Helmfile kindly fails with a friendly error when you made a typo in a `needs` entry, i.e. a `needs` entry included a reference to a release that is not defined in the helmfile config.

Example Output:

```
in ./helmfile.needs.yaml: release(s) "app" depend(s) on an undefined release "infrastructure/cert-manager2". Perhaps you made a typo in `needs` or forgot defining a release named "cert-manager2" with appropriate `namespace` and `kubeContext`?
```

This prevents issues like #1959

* Fix regression in helmfile-diff (This may break when you had two or more duplicated releases that are intended to be de-duplicated before DAG calculation using selectors

* Fix regression when you used selector to deduplicate releases before DAG calculation

* Comments

* Fix regressions in helmfile-apply and helmfile-sync

* Fix regression in duplicate release detection
2021-12-18 17:44:55 +09:00
..
app Do fail on a possible typo in `needs` entries (#2026) 2021-12-18 17:44:55 +09:00
argparser Bump sprig to v3.1.0 and mergo 3.11 (#1456) 2020-09-04 09:58:54 +09:00
environment Fix: populate .Values regardless of prestate success (#1202) 2020-04-17 09:18:01 +09:00
event Fix some hook log not honoring log level (#1769) 2021-04-10 16:50:42 +09:00
exectest feat: pass-credentials to repo (#1899) 2021-07-02 07:31:16 +09:00
helmexec Support Helm 3.7.0's reworked OCI support (#1970) 2021-10-04 09:19:15 +09:00
maputil Add indexed key support to --state-values-set (#1042) 2019-12-17 07:31:42 +09:00
plugins feat(template): added secret template function (#1221) 2020-04-25 21:10:02 +09:00
remote Fix error on concurrent go-getter on same URL (#1669) 2021-02-05 09:02:21 +09:00
state Do fail on a possible typo in `needs` entries (#2026) 2021-12-18 17:44:55 +09:00
testhelper Fix filepath handling on Windows (#1754) 2021-05-02 09:22:25 +09:00
tmpl feat: Helmfile renders *.yaml.gotmpl in a K8s manifests/kustomization directory (#1745) 2021-04-06 14:22:34 +09:00