fix(t8s-cluster/management-cluster): prefix the autoscaler with as-#2167
Conversation
Otherwise clusters starting with a number break the autoscaler service
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe autoscaler HelmRelease template now includes a ChangesAutoscaler Configuration
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Possibly related PRs
Suggested labels
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Code Review
This pull request updates the autoscaler template to include a fullnameOverride with an as- prefix, ensuring that generated resources comply with DNS-1035 standards by starting with a letter. The review feedback identifies an inconsistency where the HelmRelease name lacks this prefix and suggests quoting the template value to adhere to Helm best practices.
There was a problem hiding this comment.
Pull request overview
This PR updates the management-cluster cluster-autoscaler HelmRelease configuration to ensure the autoscaler’s rendered Kubernetes resource names don’t begin with a digit, avoiding name-derived constraints when a cluster/release name starts with a number.
Changes:
- Set
values.fullnameOverridefor the autoscaler HelmRelease toas-<release>-autoscalerto force a non-numeric prefix on autoscaler resource names.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Otherwise clusters starting with a number break the autoscaler service
Summary by CodeRabbit