-
Notifications
You must be signed in to change notification settings - Fork 174
[MOSIP-44048] bug fix for GA release #1691
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: release-1.2.1.x
Are you sure you want to change the base?
[MOSIP-44048] bug fix for GA release #1691
Conversation
Signed-off-by: Prafulrakhade <prafulrakhade02@gmail.com>
WalkthroughThe changes refactor the captcha module's installation process by centralizing configmap copying operations. The local copy utility is replaced with a shared utility from the parent utils directory, and the installation script now invokes configmap copy operations before proceeding with Helm deployment, removing previous secret-based copying logic. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes
Possibly related PRs
Suggested reviewers
Poem
Pre-merge checks and finishing touches❌ Failed checks (1 warning, 1 inconclusive)
✅ Passed checks (1 passed)
✨ 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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
🧹 Nitpick comments (1)
deployment/v3/mosip/captcha/copy_cm.sh (1)
6-10: Path and utility interface are correct; validation is optional rather than critical.The relative path
../../utils/copy_cm_func.shcorrectly resolves todeployment/v3/utils/copy_cm_func.sh, which exists and properly supports configmap operations. The utility accepts the parameters passed by the script in the correct order (resource type, configmap name, source namespace, destination namespace).The script's use of
set -eandset -o errexitprovides sufficient error handling for utility execution failures. While adding an explicit file existence check before invoking the utility would improve clarity of error messages, it is not critical given that the parent utility exists in the expected location and the script will exit on any utility failure.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (3)
deployment/v3/mosip/captcha/copy_cm.sh(1 hunks)deployment/v3/mosip/captcha/copy_cm_func.sh(0 hunks)deployment/v3/mosip/captcha/install.sh(1 hunks)
💤 Files with no reviewable changes (1)
- deployment/v3/mosip/captcha/copy_cm_func.sh
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.