I have a use case where a PersistentVolumeClaim is used to clone a volume snapshot, which is a prebuilt m2 repository. A PVC object needs to be created before creating the Pod object, then deleted after the pod finishes.
Using kubernetes-plugin, it seems that the yaml attribute in the declarative pipeline only supports Pod objects. Before I go off and try to figure out how to script the creation of a PVC object before launching the Pod, I wanted to ask if there is a mechanism in this plugin that would help manage a PVC lifecycle...and I'm just not seeing it. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/e1011b4f-1222-433d-91dd-44c1dba7b748%40googlegroups.com.
