cozystack/packages
IvanHunters fdbb6fdfd7
fix(harbor): mark credentials Secret with user-secret label
The Helm-managed harbor-{name}-credentials Secret was not visible
through the TenantSecrets API because the lineage webhook compared the
real Secret name against the rendered template "{{ .name }}-credentials"
(which becomes "{name}-credentials" without the "harbor-" HelmRelease
prefix), failed to match, and labelled the Secret as
internal.cozystack.io/tenantresource=false.

Adopt the same pattern Bucket and RabbitMQ already use: stamp the
user-facing Secret with apps.cozystack.io/user-secret=true and add a
matchLabels rule alongside the existing resourceNames entry in the
ApplicationDefinition. The webhook now matches via labels instead of
relying on Secret-name templating, so the Secret is properly marked
tenantresource=true and surfaces in tenant-aware clients.

Signed-off-by: IvanHunters <ivan.okhotnikov@aenix.io>
2026-04-29 20:47:09 +03:00
..
apps fix(harbor): mark credentials Secret with user-secret label 2026-04-29 20:47:09 +03:00
core feat(hami): add HAMi GPU virtualization system package (#2484) 2026-04-29 16:22:58 +03:00
extra feat(ingress): add loadBalancer exposure mode via CiliumLoadBalancerIPPool (#2468) 2026-04-28 15:21:16 +03:00
library [cozy-lib] Add a hexToInt helper 2026-03-19 07:29:50 +03:00
system fix(harbor): mark credentials Secret with user-secret label 2026-04-29 20:47:09 +03:00
tests/cozy-lib-tests refactor: replace Helm lookup with valuesFrom mechanism 2026-01-05 16:10:55 +01:00