SwissDataScienceCenter / amalthea

A kubernetes operator for spawning and exposing interactive user session servers.
Apache License 2.0
14 stars 4 forks source link

feat: implement secret adoption #633

Closed sgaist closed 1 month ago

sgaist commented 1 month ago

Describe your changes

This PR implements secrets adoption where secrets used for AmaltheaSession will get deleted when the session itself is deleted.

Following discussion, the method selected is through a finalizer.

Issue ticket number and link

Closes #632 Part of https://github.com/SwissDataScienceCenter/renku/issues/3679

sgaist commented 1 month ago

@olevski I've added the RBAC directly so we don't have to do it later.