rundeck-plugins / kubernetes

51 stars 59 forks source link

Add handling of exit code to pods-run-script.py #45

Closed tholok97 closed 4 years ago

tholok97 commented 4 years ago

With https://github.com/kubernetes-client/python-base/pull/160 the Python Kubernetes client can give the returncode of the executed script with the returncode property. Once this change is released it could be used by this plugin to show the user whether their script succeeded or not.

Already using it in my own installation.

ltamaster commented 4 years ago

it should be fixed with https://github.com/rundeck-plugins/kubernetes/pull/51