vmware-tanzu-labs / educates-training-platform

A platform for hosting interactive workshop environments in Kubernetes, or on top of a local container runtime.
https://docs.educates.dev
Apache License 2.0
63 stars 15 forks source link

PSPs and SCCs not being deleted for workshop environment. #395

Closed GrahamDumpleton closed 1 month ago

GrahamDumpleton commented 1 month ago

Describe the bug

The pod security polices (obsolete Kubernetes versions) and security context constraints (OpenShift) resources created for a workshop environment are not being set as being owned by the workshop namespace. This means these resources are not being deleted automatically when the workshop environment and workshop namespace were deleted.

Additional information

No response

jorgemoralespou commented 1 month ago

I think we should probably remove support for PSPs, since they have been deprecated for long time and those cluster versions are no longer supported.