-
Notifications
You must be signed in to change notification settings - Fork 0
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
platform 3251: Add support for protected namespaces and enhance scali… #4
Conversation
…ng functionality - Introduced filtering for protected namespaces in working-hours script. - Added functions to scale deployments and statefulsets based on label selectors. - Updated Terraform configuration to include protected namespaces and relevant label selectors. - Enhanced error handling and warnings for filtered namespaces.
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
…gement and sleep cycles
…amespaces in config map
…orking-hours.sh for improved maintainability
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.
LGTM 👍
User description
…ng functionality
PR Type
Enhancement
Description
scale_resources
functionChanges walkthrough 📝
main.tf
Enhanced cluster role and config map for statefulset support
main.tf
working-hours.sh
Enhanced scaling script with protected namespaces support
files/working-hours.sh
filter_namespaces
function to handle protected namespacesscale_resources
function for generic resource scalingvariables.tf
Added protected namespaces and label selector variables
variables.tf