ploigos / ploigos-software-factory-operator

33 stars 22 forks source link

Convert shell commands that call oc into k8s module tasks #117

Open dwinchell opened 3 years ago

dwinchell commented 3 years ago

Stop doing this:

Do it like this:

Why?

  1. The shell commands that run during the finalizer fail when things are missing, which causes the finalizer to fail, which results in other resources not being cleaned up
  2. We use the k8s module for most changes to ocp resources and want to be consistent