[MOSIP-43100] Updated helm chart for uitestrig to support modulewise …#1855
Conversation
…testrigs Signed-off-by: Abhi <abhishek.shankarcs@gmail.com>
WalkthroughUpdated a Helm cronjob template to reorganize environment variable handling (global and module-level), add envFrom sources for ConfigMaps/Secrets, adjust imagePullPolicy fallback to "Always", fix tplvalues rendering calls, and standardize indentation across ports, volumeMounts, volumes, and template render blocks. Changes
Estimated code review effort🎯 4 (Complex) | ⏱️ ~45 minutes
Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
🔇 Additional comments (5)
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.
Actionable comments posted: 3
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
helm/uitestrig/templates/cronjob.yaml(1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (4)
- GitHub Check: build-maven-authentication-demo-service / maven-build
- GitHub Check: build-maven-apitest-commons / maven-build
- GitHub Check: chart-lint-publish / chart-lint-publish
- GitHub Check: Analyze (java-kotlin)
🔇 Additional comments (3)
helm/uitestrig/templates/cronjob.yaml (3)
32-32: Good use of fallback for imagePullPolicy.The
default "Always"fallback ensures a sensible default when module-specific pullPolicy is not defined, maintaining compatibility across module configurations.
46-60: Module-wise environment variable support is well structured.The explicit entries for
container_user,JDK_JAVA_OPTIONS, andmodules, combined with separate rendering of global and module-levelextraEnvVars, provides clear separation of concerns and enables module-specific customization.
62-105: Comprehensive envFrom block design supports modular configuration.The new
envFromsection effectively consolidates ConfigMaps and Secrets across both global and module-wise scopes, with clear sectioning comments. This structure aligns well with the modulewise testrig support objective and allows independent module configuration without duplicating global settings.
Signed-off-by: Abhi <abhishek.shankarcs@gmail.com>
|
Approved.. |
…testrigs
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.