kube-backup icon indicating copy to clipboard operation
kube-backup copied to clipboard

Pods always complete successfully after restart

Open meurig opened this issue 5 years ago • 0 comments

If I remove write permission to the git repo then on the first run the pod fails and spits out an error.

However, kubernetes is then restarting the pod and on the second run it passes (without attempting the git push).

I've added a pull request which I think addresses the underlying issue (that we're not starting with a fresh copy of the repo on the second attempt). But I'm aware that I might be missing something obvious, so any thoughts would be appreciated.

meurig avatar Dec 17 '19 10:12 meurig