fix(helm): remove duplicate metrics service causing install failures#83
fix(helm): remove duplicate metrics service causing install failures#83ian-flores merged 1 commit intomainfrom
Conversation
The auth_proxy_service.yaml in rbac/ creates the same team-operator-controller-manager-metrics-service as the one in metrics/metrics-service.yaml. When both rbac.enable and metrics.enable are true, Helm fails with "already exists". Add rm -f to helm-generate post-processing to prevent kubebuilder from re-introducing the duplicate.
|
Claude finished @ian-flores's task —— View job PR Review: fix(helm): remove duplicate metrics service causing install failures
Overall: Clean, targeted fix that correctly addresses the duplicate service issue. What's good
Helm checklist
Suggestion (non-blocking)
SecurityNo security concerns — this is purely removing a duplicate resource definition. No RBAC, credential, or network policy changes.
|
## [1.8.1](v1.8.0...v1.8.1) (2026-02-12) ### Bug Fixes * **helm:** remove duplicate metrics service causing install failures ([#83](#83)) ([8533b4f](8533b4f))
Summary
dist/chart/templates/rbac/auth_proxy_service.yamlwhich duplicates the metrics service already defined indist/chart/templates/metrics/metrics-service.yamlrm -fpost-processing step tomake helm-generateto prevent kubebuilder from re-introducing the fileContext
The duplicate was originally fixed in PR #44 (Jan 20) and comprehensively addressed in PR #60 (Feb 2), but was re-introduced in commit
ec76694("fix tests", Feb 3). Every release from v1.6.0 onward has both files, causingservices "team-operator-controller-manager-metrics-service" already existserrors when bothrbac.enableandmetrics.enableare true.Test plan
helm templaterenders only one metrics servicemake helm-generatedoes not re-createauth_proxy_service.yaml