fix(t8s-cluster/workload-cluster): migrate extraArgs type to string#1985
fix(t8s-cluster/workload-cluster): migrate extraArgs type to string#1985
Conversation
This seems to have changed in some release
Summary of ChangesHello @cwrau, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request addresses a configuration compatibility issue within the Highlights
Changelog
Activity
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
📝 WalkthroughWalkthroughModified Helm chart configuration for the cinder-csi-plugin's controllerPlugin component, converting the extraArgs field from a scalar representation to a block scalar format and adding the Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Possibly related PRs
Suggested labels
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 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.
Pull request overview
This pull request attempts to fix the extraArgs field type for the OpenStack Cinder CSI plugin configuration by adding a pipe operator (|) to convert it to a string. However, this change introduces a critical bug rather than fixing an issue.
Changes:
- Modified
extraArgsfield in cinder-csi-plugin.yaml to use YAML block scalar syntax (|)
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
charts/t8s-cluster/templates/workload-cluster/cinder-csi-plugin/cinder-csi-plugin.yaml
Show resolved
Hide resolved
There was a problem hiding this comment.
Code Review
This pull request updates the "extraArgs" type in the "cinder-csi-plugin" Helm chart to a string literal, addressing a reported type change in an upstream release. While this aligns with the PR's stated goal, it introduces a potential semantic change where "extraArgs" might be interpreted as a single string rather than a list of arguments in the final Kubernetes manifest, which could lead to runtime issues if not handled correctly by the target system.
charts/t8s-cluster/templates/workload-cluster/cinder-csi-plugin/cinder-csi-plugin.yaml
Show resolved
Hide resolved
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Fix all issues with AI agents
In
`@charts/t8s-cluster/templates/workload-cluster/cinder-csi-plugin/cinder-csi-plugin.yaml`:
- Around line 50-51: The extraArgs field in the cinder-csi-plugin chart is
defined as a block scalar string (extraArgs: | - --with-topology=false) which
yields a literal string instead of the required key/value map; update extraArgs
to be a YAML map with the flag name as the key and its value as a string (e.g.,
set with-topology: "false") so the chart receives a proper map rather than a
literal string—modify the extraArgs entry in the
workload-cluster/cinder-csi-plugin/cinder-csi-plugin.yaml accordingly.
charts/t8s-cluster/templates/workload-cluster/cinder-csi-plugin/cinder-csi-plugin.yaml
Show resolved
Hide resolved
🤖 I have created a release *beep* *boop* --- ## [9.6.0](t8s-cluster-v9.5.2...t8s-cluster-v9.6.0) (2026-02-25) ### Features * **t8s-cluster/management-cluster:** add `compute-plane` role label to nodes ([#1953](#1953)) ([f5897e3](f5897e3)) * **t8s-cluster/management-cluster:** add quotas fied to cluster ([#1998](#1998)) ([3123514](3123514)) * **t8s-cluster/management-cluster:** ignore local storage for autoscaler ([#1973](#1973)) ([d4abff8](d4abff8)) ### Bug Fixes * **t8s-cluster/management-cluster:** add missing securityGroupRule for cilium hubble ([#1971](#1971)) ([f36f231](f36f231)) * **t8s-cluster/management-cluster:** adjust test helmRepositories ([#1964](#1964)) ([66be444](66be444)) * **t8s-cluster/management-cluster:** remove hardcoded field ([#1984](#1984)) ([227af97](227af97)) * **t8s-cluster/workload-cluster:** add missing tolerations ([#1933](#1933)) ([8718c0d](8718c0d)) * **t8s-cluster/workload-cluster:** correctly set extraArgs value ([#2003](#2003)) ([6e558f0](6e558f0)) * **t8s-cluster/workload-cluster:** migrate extraArgs type to string ([#1985](#1985)) ([79d6df5](79d6df5)) ### Miscellaneous Chores * **t8s-cluster/dependencies:** update common docker tag to v1.8.0 ([#1940](#1940)) ([cdf387f](cdf387f)) * **t8s-cluster/dependencies:** update helm release cilium to v1.19.0 ([#1969](#1969)) ([e95a9a5](e95a9a5)) * **t8s-cluster/dependencies:** update helm release cluster-autoscaler to v9.55.0 ([#1963](#1963)) ([659a529](659a529)) * **t8s-cluster/dependencies:** update helm release openstack-cinder-csi to v2.35.0 ([#1970](#1970)) ([741d5b2](741d5b2)) * **t8s-cluster/dependencies:** update helm release openstack-cloud-controller-manager to v2.35.0 ([#1941](#1941)) ([a580142](a580142)) * **t8s-cluster/dependencies:** update registry.k8s.io/etcd docker tag to v3.6.8 ([#1996](#1996)) ([aa7d054](aa7d054)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --------- Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
This seems to have changed in some release
Summary by CodeRabbit