cozystack/internal/lineagecontrollerwebhook
Timofei Larkin 354507a4ea [lineage] Check for nil chart in HelmRelease
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>
2025-10-16 15:52:14 +03:00
..
config.go [lineage] Check for nil chart in HelmRelease 2025-10-16 15:52:14 +03:00
controller.go [cozystack-api] Implement TenantNamespace, TenantModules, TenantSecret and TenantSecretsTable resources 2025-09-24 18:27:54 +02:00
matcher.go [controller, api] Select ingresses and services 2025-10-06 11:31:09 +03:00
types.go [cozystack-controller] Ancestor tracking webhook 2025-09-24 12:07:18 +03:00
webhook.go [lineage] Separate webhook from cozy controller 2025-10-14 10:50:28 +03:00