edgelesssys / contrast

Deploy and manage confidential containers on Kubernetes
https://docs.edgeless.systems/contrast
GNU Affero General Public License v3.0
161 stars 6 forks source link

resourcegen: support StatefulSet in PatchImages #489

Closed burgerdev closed 1 month ago

burgerdev commented 1 month ago

This PR changes the implementation of PatchImages to use MapPodSpec. That way, we only implement the big switch statement once (in MapPodSpec) and automatically get support for all types that have a PodSpec - including StatefulSet, which is currently not supported.

Drive-by fixes: