Migrating install_asapd_lite module to helm#5410
Conversation
Summary of ChangesHello, 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 significantly refactors the Highlights
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. Footnotes
|
3638311 to
0a03ae2
Compare
There was a problem hiding this comment.
Code Review
This pull request refactors the installation of the asapd_lite daemonset by migrating its deployment from a direct kubectl module to a helm_install module. This change involves updating the asapd_lite variable definition in variables.tf and README.md to include optional parameters for installation, configuration path, and template variables. A new local variable asapd_lite_config_content is introduced in main.tf to process the configuration, which is then passed to the helm_install module. A review comment suggests simplifying a conditional check for var.asapd_lite.config_path in main.tf by removing the redundant != null check, as the variable's definition ensures it will default to an empty string.
253ab3a to
aaa8cf1
Compare
aaa8cf1 to
5a9469c
Compare
|
/gcbrun(fe3af61) |
403277e to
2f28c10
Compare
|
The changes have been tested locally. The above failing PR tests have been disabled since there is no active reservation for them. The spot tests are successful for the same machine types. |
2f28c10 to
2fc7662
Compare
shubpal07
left a comment
There was a problem hiding this comment.
LGTM !! Added minor nits
d8645fc
3f13ee7
into
GoogleCloudPlatform:develop
This PR migrates the install_aspad_lite module to use helm provider instead of
gavinbunney/kubectlprovider as an effort to deprecate the kubectl submodule usage across kubectl-apply.install_asapd_litemodule from kubectl provider to helm_install provider, added template variable support for dynamic config rendering, and updated manifest handling logic.asapd_litevariable schema to support optional parameters with defaults and addedconfig_template_varsfor templating support.Submission Checklist
NOTE: Community submissions can take up to 2 weeks to be reviewed.
Please take the following actions before submitting this pull request.