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
Prevent elastic agent profile selection in Pipeline as code #10864
Comments
Relates to #7605 where the initial set of rules were implemented. |
Hello @chadlwilson, May I ask this feature has planned to implement yet? |
It should be reasonably straightforward to add I think (and makes sense to me), but I didn't get a chance to look at it for 22.3.0 (just released) and think about the right approach here. |
Thank you for this follow up. |
Sorry to bother you @chadlwilson, I saw this request was removed from Release 23.1.0. When it be release on which version? By the way, do we have a workaround to prevent this use case? |
I removed it because I hadn't had time/motivation to work on it and I wanted to release other changes in The only workaround I can think of might be to implement some kind of pull request process outside GoCD on your config repo changes using some automation that validates the |
This issue has been automatically marked as stale because it has not had activity in the last 90 days. |
Issue Type
Summary
My use case is that I've one cluster profile and many agent profile for each squad team.
I'm also using YAML plugin to allow squad can write their own pipeline as code.
The problem is that the config repo allow to set the permission only Environment, Pipeline and Pipeline Group.
In the config repo of Squad B, it can select Squad-A-Build-Agent profile or Squad-B-Build-Agent profile with
elastic_profile_id
property.It cannot prevent elastic agent profile selection as code.
In the UI, it's OK because it allows to list and view but you cannot use the agent profile which is not configured in Role.
https://docs.gocd.org/current/configuration/policy_in_gocd.html#elastic-agent-configuration
Basic environment details
22.1.0 (13913-f4c9c1650e2e27fe0a9962faa39536f94f57e297)
17.0.2
Linux 4.14.281-212.502.amzn2.x86_64
Expected Results
The elastic cluster profile and elastic agent profile in Config Repo
The text was updated successfully, but these errors were encountered: