cozystack/internal/lineagecontrollerwebhook
Timofei Larkin a5cdaddbb4 [lineage] Check for nil chart in HelmRelease (#1525)
## What this PR does

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

```release-note
[lineage] Add a nil check to guard against HelmReleases with a nil
.spec.chart field when traversing the ownership tree.
```

(cherry picked from commit d57f9acc7a)
Signed-off-by: Timofei Larkin <lllamnyp@gmail.com>
2025-10-16 17:19:19 +03:00
..
config.go [lineage] Check for nil chart in HelmRelease (#1525) 2025-10-16 17:19:19 +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 (#1515) 2025-10-15 12:49:02 +02:00