You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current wait_for_cpd_pod.sh script is polling the status of the first pod in the namespace. It would be safer to poll the status of the job instead just incase other pods some day run in the same namespace.
The namespace is hard coded in the script but really we should be passing it to the script based on what is passed to the helm chart.
The logic only checks if pod is in a Failed or Succeeded state. Otherwise it will run in an infinite loop. We should probably add more advanced logic here in case of other errors (such as image pull).