Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(kubernetes): ignore diff errs on apply #231

Merged
merged 1 commit into from
Mar 5, 2020
Merged

Conversation

sh0rez
Copy link
Member

@sh0rez sh0rez commented Mar 4, 2020

If diff fails, it doesn't mean apply couldn't succeed anyways, so it is wrong to abort in such a case.

Changes that behavior so that the diff error is printed, but still continued to applying.

This does not fix the actual issue (diff failing for complex reasons), but makes Tanka still usable because after the first apply diff will most probably work again.

If diff fails, it doesn't mean apply couldn't suceed anyways, so it is
wrong to abort in such a case.

Changes that behavior so that the diff error is printed, but still
continued to applying.
@sh0rez sh0rez added kind/bug Something isn't working component/kubernetes Working with Kubernetes clusters labels Mar 4, 2020
@sh0rez sh0rez requested a review from mplzik March 4, 2020 21:27
Copy link
Contributor

@mplzik mplzik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@sh0rez sh0rez merged commit bf34367 into master Mar 5, 2020
@sh0rez sh0rez deleted the apply-diff-noerr branch March 5, 2020 06:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/kubernetes Working with Kubernetes clusters kind/bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants