Skip to content

Conversation

@shinji62
Copy link

Rollback Plan

If a change needs to be reverted, we will publish an updated version of the library.

Changes to Security Controls

Are there any changes to security controls (access controls, encryption, logging) in this pull request? If so, explain.

Description

Added a feature to scope workspaces from the Agent Pool a new field allowedWorkspaces is added to the AgentPool spec which contain the list of Workspace ID.

Usage Example

apiVersion: app.terraform.io/v1alpha2
kind: AgentPool
metadata:
  name: vault-agent-pool
  namespace: default
spec:
  organization: gwenn-org
  token:
    secretKeyRef:
      name: terraform-agent-token
      key: token
  name: vault-agent-pool
  allowedWorkspaces:
  - 'ws-idzzzzzz'
  - 'ws-idxxxx'

References

Fixes: #308

Community Note

  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.
  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request.
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment.

@shinji62 shinji62 requested a review from a team as a code owner July 18, 2025 06:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

🚀 Support for allowed workspaces on AgentPools

1 participant