The enhancement
The Need
The granular Kubernetes agent permissions feature supports Space, Project, Environment, Tenant and Step slugs as inputs to the permissions scope. The project group is also available and could be used for this purpose.
Solution
Add the project group to the script pod annotations so it can be used to assign permissions