Skip to content

Recognize Red Hat CodeReady Containers as a local cluster - #3242

Merged
jazzdan merged 2 commits into
tilt-dev:masterfrom
noseka1:master
Apr 28, 2020
Merged

Recognize Red Hat CodeReady Containers as a local cluster#3242
jazzdan merged 2 commits into
tilt-dev:masterfrom
noseka1:master

Conversation

@noseka1

@noseka1 noseka1 commented Apr 26, 2020

Copy link
Copy Markdown
Contributor

Hi there,

I tried to use tilt in combination with a CodeReady Containers (CRC) cluster. CRC is a slimmed down OpenShift cluster meant to be used for local development, see also Red Hat CodeReady Containers

Based on my testing, tilt works very weill with CRC. I encountered only one trivial glitch: tilt didn't recognize CRC as a local cluster. This pull request fixes it.

Thanks,
Ales

@jazzdan jazzdan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks so much for the issue + fix @noseka1!

Can you add a test for this case in https://github.com/windmilleng/tilt/blob/f154c9cb792f42b8f91e581326518ce7fc20739f/internal/k8s/env_test.go ? Then I think this is ready to merge in

@noseka1

noseka1 commented Apr 28, 2020

Copy link
Copy Markdown
Contributor Author

Thanks for the link to the unit test file, @jazzdan Test cases for CRC added.

@jazzdan
jazzdan merged commit 7e94878 into tilt-dev:master Apr 28, 2020
@jazzdan

jazzdan commented Apr 28, 2020

Copy link
Copy Markdown
Contributor

Thanks @noseka1!

@noseka1

noseka1 commented Apr 28, 2020

Copy link
Copy Markdown
Contributor Author

Thanks for merging @jazzdan!

@wu-victor

Copy link
Copy Markdown
Contributor

Thanks for the contribution @noseka1 . This is now available in the latest release: https://docs.tilt.dev/upgrade.html. And here's the release notes mentioning your contribution: https://github.com/windmilleng/tilt/releases/tag/v0.13.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants