Fix helm chart 404 and applicationset delete permission for caas operator in production#11333
Fix helm chart 404 and applicationset delete permission for caas operator in production#11333amisstea wants to merge 1 commit intoredhat-appstudio:mainfrom
Conversation
…ator in production Move the repoURL trailing slash fix and RBAC resources from dev/staging overlays into the base so they apply to all environments including production. Assisted-by: Claude claude-opus-4-6 Signed-off-by: amisstea <[email protected]>
Review Summary by QodoMove cluster-aas-operator fixes to base for production deployment
WalkthroughsDescription• Remove trailing slash from helm chart repoURL to fix 404 errors • Add RBAC resources to base for applicationset delete permissions • Consolidate duplicated fixes from dev/staging overlays into base • Ensure consistent configuration across all environments Diagramflowchart LR
base["Base Configuration"]
dev["Development Overlay"]
staging["Staging Overlay"]
prod["Production Environment"]
base -- "repoURL fix + RBAC" --> prod
dev -- "removes duplicates" --> base
staging -- "removes duplicates" --> base
File Changes1. components/cluster-as-a-service/base/clustertemplates.yaml
|
Code Review by Qodo🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)
Great, no issues found!Qodo reviewed your code and found no material issues that require reviewⓘ The new review experience is currently in Beta. Learn more |
Kustomize Render DiffComparing
Total: 1 components, +28 -1 lines 📋 Full diff available in the workflow summary and as a downloadable artifact. |
|
/assign @kelchen123 @hmariset |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: amisstea, kelchen123 The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #11333 +/- ##
=======================================
Coverage 51.62% 51.62%
=======================================
Files 18 18
Lines 1263 1263
=======================================
Hits 652 652
Misses 539 539
Partials 72 72
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
What/Why
The
cluster-aas-operator-controller-managerin production is experiencing crash loops partly due to two recurring errors that contribute to tight reconcile loops:repoURLfor thehypershift-aws-templatehelm chart causes a double-slash in the index.yaml request path, resulting in 404 errors.applicationsets, causing repeated reconciler errors.This PR fixes both issues in the base configuration and removes the now-redundant duplicates from the dev and staging overlays.
Staging PR
#11293
Verification in staging (kflux-stg-es01)
ApplicationSethas the correctrepoURL(no trailing slash):ERRORorforbiddenmessages in the controller logs since the staging fix was deployed.Assisted-by: Claude claude-opus-4-6