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

collection of fixes #268

Merged
merged 5 commits into from
Feb 12, 2020
Merged

collection of fixes #268

merged 5 commits into from
Feb 12, 2020

Conversation

joel-bluedata
Copy link
Member

@joel-bluedata joel-bluedata commented Feb 11, 2020

Includes at least some amount of fixing or workaround for issue #265 and issue #267.

Each commit is its own self-contained thing with its own description. Bundling them together here for quicker testing and less build churn.

It's probably easiest to examine each commit individually, especially because 7b4744f changes a lot of files mechanically through find-and-replace (only the client.go changes in there are interesting).

This removes $GOPATH from the beginning of the filepaths built into the object, and e.g. shown in stacktraces.

The operator-sdk build is supposed to do this as well, although with our version of the operator SDK you need to backport this fix to your own local copy before building/installing it: operator-framework/operator-sdk#1535
* Minor: use spaces instead of underscores for human readability.
* Major: change "ready" to "configured". This state really reflects what KD has done to set up the pod and associated objects, and doesn't say anything about for example whether the pod is crashing. All of our internal variable names still say "ready" ... I should clean those up but I'll churn them later.

I'd also like to change the overall cluster state string from "ready" to "configured" but first want to check on what external things depend on that.
Error in using golang switch syntax.
Cf. bluek8s#267

To ensure this, remove the direct export of the client from the shared pkg, and instead require calling shared.Get, shared.Create, etc.

For the most part those functions will call the split client, but Get will have the desired special behavior.
@joel-bluedata joel-bluedata merged commit d9a3922 into bluek8s:master Feb 12, 2020
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.

3 participants