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

Make nodeport exposure idempotent #24

Merged

Conversation

eaceaser
Copy link

The script fails on subsequent runs because kubectl patch exits with a non-zero exit code when the patch is a no-op.

I'm just testing if the service exists as a clusterIP before we apply the patch. There may be a better test to use there but this seems fine for now.

@viglesiasce
Copy link
Owner

Thanks @eaceaser!

@viglesiasce viglesiasce merged commit 7297496 into viglesiasce:spin-v1.0.0 Aug 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants