-
Notifications
You must be signed in to change notification settings - Fork 2
Platform/3833 add non root group capabilities #21
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
Conversation
…and new variable mappings
…DME with new variables and configuration modes; deprecate old variables
…ity and consistency in main.tf
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
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.
Pull Request Overview
This PR enhances the GitLab Agent Terraform module to support non-root group capabilities by adding flexible configuration options. The enhancement allows users to operate the agent at different levels (root group, auto-detected parent group, or specific groups/projects) while maintaining backward compatibility with existing configurations.
- Add new
operate_at_root_group_level
variable to replace deprecated variables and simplify configuration - Implement auto-detection of parent group when no specific targets are provided
- Support for enabling GitLab Agent on specific groups and projects with dynamic configuration generation
Reviewed Changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 5 comments.
Show a summary per file
File | Description |
---|---|
variables.tf | Add new variables for flexible configuration and deprecate old ones |
main.tf | Implement core logic for multi-target support and backward compatibility |
outputs.tf | Add new outputs for enabled targets and configuration status |
README.md | Document new configuration modes with practical examples |
CHANGELOG.md | Record new features, changes, and deprecations |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
/help |
PR Agent Walkthrough 🤖Welcome to the PR Agent, an AI-powered tool for automated pull request analysis, feedback, suggestions and more. Here is a list of tools you can use to interact with the PR Agent:
(1) Note that each tool can be triggered automatically when a new PR is opened, or called manually by commenting on a PR. (2) Tools marked with [*] require additional parameters to be passed. For example, to invoke the |
/improve |
…, and Terraform files for breaking changes and variable deprecations
/improve |
…tion in config.yaml.tftpl to check for operate_at_root_group_level
…ude version 1.0.0 release date and details
…, and configuration files for version 1.0.0 release, including new variables and breaking changes
…ion in config.yaml.tftpl to properly check for gitlab_agent_grant_user_access_to_root_namespace
/improve |
PR Code Suggestions ✨Latest suggestions up to b56fc7d
Previous suggestionsSuggestions up to commit 213df83
Suggestions up to commit c802bfe
Suggestions up to commit d7eb67a
|
…nd documentation for GitLab Agent module to simplify root group behavior and enhance variable management
PR Type
Enhancement
Description
Add new
operate_at_root_group_level
variable to simplify configurationSupport for enabling GitLab Agent on specific groups/projects
Auto-detect parent group when no targets specified
Deprecate old variables with backward compatibility
Changes walkthrough 📝
main.tf
Enhanced GitLab Agent configuration with multi-target support
main.tf
groups/projects
outputs.tf
Extended outputs for new configuration modes
outputs.tf
variables.tf
New variables for flexible agent configuration
variables.tf
operate_at_root_group_level
variable to replace deprecated onesgroups_enabled
andprojects_enabled
variablesCHANGELOG.md
Document new features and deprecations
CHANGELOG.md
README.md
Enhanced documentation with configuration examples
README.md