Skip to content

add webook and API for sessionspaces-controller - #1611

Open
iamvigneshwars wants to merge 20 commits into
mainfrom
sessionspaces-rr
Open

iamvigneshwars wants to merge 20 commits into
mainfrom
sessionspaces-rr

Conversation

@iamvigneshwars

Copy link
Copy Markdown
Contributor

This PR adds the webhook and API for the sessionspaces controller

Webhook:

  • Reconciles SessionSpace resources and creates/manages the required Kubernetes child resources.
  • Materialises the session namespace and associated configuration/RBAC based on the desired state in the SessionSpace CR.
  • Updates the SessionSpace status to reflect the reconciled state.

API:

  • Provides the endpoint to prepare a SessionSpace before workflow submission.
  • Validates the proposal/visit and retrieves the required session metadata and authorised members from ISPyB/LDAP.
  • Creates or updates the SessionSpace CR, which is then reconciled by the webhook.

@iamvigneshwars iamvigneshwars self-assigned this Sep 14, 2026
@iamvigneshwars iamvigneshwars added the enhancement New feature or request label Sep 14, 2026
Comment thread backend/sessionspaces-controller/src/api/health.rs
}
Ok(subjects)
}
}

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment thread backend/sessionspaces-controller/src/api/handler.rs
Comment thread backend/sessionspaces-controller/src/api/prepare.rs
@@ -0,0 +1,12 @@
[[repos]]

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo in file name. I think it has to be prek.toml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants