fix(t8s-cluster/management-cluster): fix replicas type checking#1754
Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR fixes the type checking logic for replica configuration in the management cluster template by replacing typeIs with the more appropriate kindIs function.
Key Changes:
- Changed type checking function from
typeIstokindIsfor replica validation in the cluster template
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
|
Caution Review failedThe pull request is closed. WalkthroughThis PR modifies the Helm template introspection method in the cluster configuration from Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Possibly related PRs
Suggested reviewers
Poem
✨ Finishing touches🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
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 |
🤖 I have created a release *beep* *boop* --- ## [9.4.1](t8s-cluster-v9.4.0...t8s-cluster-v9.4.1) (2025-10-22) ### Bug Fixes * **t8s-cluster/management-cluster:** fix replicas type checking ([#1754](#1754)) ([1b56411](1b56411)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Bug Fixes** * Fixed a type checking issue with cluster replicas in the management cluster. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Summary by CodeRabbit