nuvo / kube-tasks

A tool to perform simple Kubernetes related actions
Apache License 2.0
23 stars 30 forks source link

Authentication errors are not correctly propagating #9

Open mcandre opened 3 years ago

mcandre commented 3 years ago

When AWS fails to authenticate during backup operation, the kube-task container keeps running forever.

Please fix the error handling logic so that any authentication / authorization errors fail loudly and early. The container should terminate with an exit failure status. Any Kubernetes jobs should terminate with an exit failure status.