Some HelmReleases use `chartRef` instead of `chart`. If the lineage webhook finds such a HelmRelease, a nil pointer dereference happens. This patch adds a nil check to guard against this. ```release-note [lineage] Add a nil check to guard against HelmReleases with a nil .spec.chart field when traversing the ownership tree. ``` Signed-off-by: Timofei Larkin <lllamnyp@gmail.com> |
||
|---|---|---|
| .. | ||
| config.go | ||
| controller.go | ||
| matcher.go | ||
| types.go | ||
| webhook.go | ||