Situation: Using Tekton tasks to build and deploy following this tutorial. After running the pipeline, it creates a pod that requires persistent volume. A persistent volume claim is automatically created to try and bind to a PV.
However, what if I want to run the pipeline again and again? I noticed after a pipeline run (right now it's failing for unrelated reasons), the PVC will no longer be needed, but the PV will be in a Released state. I can manually edit out the PVC in the YAML.
I looked into dynamic provisioning but the plug ins there do not seem to be for NFS, but rather other tools with APIs.
Is there an option for me to not have to manually reclaim my PV every time?