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

unify kluster specs #93

Merged
merged 3 commits into from
Nov 10, 2017
Merged

unify kluster specs #93

merged 3 commits into from
Nov 10, 2017

Conversation

databus23
Copy link
Member

@databus23 databus23 commented Nov 8, 2017

This commit unifies the kluster specs used by the apiserver and the CRD.

This change contains some minor breaking api changes:

  • Kluster.Status.Kluster.State --> Kluster.Status.Phase
    • Ready state is now Running phase
  • Kluster.Status.Kluster.Message --> Kluster.Status.Message
  • Kluster.Spec.Version --> Kluster.Status.Version
  • Removed Kluster.Spec.Domain
  • Kluster.Spec.ClusterDNS --> Kluster.Spec.DNSAddress
  • Kluster.Soec.ClusterDNSDomain --> Kluster.Spec.DNSDomain

@edda
Copy link
Contributor

edda commented Nov 9, 2017

UI is ready to be tested with this change. I made the necessary changes (not deployed yet)

This commit unifies the kluster specs used by the apiserver and the CRD.
@databus23 databus23 force-pushed the unify-spec branch 2 times, most recently from c62825a to 8b32417 Compare November 10, 2017 08:55
* Remove unused Spec.Domain
* Spec.ClusterDNS —> Spec.DNSAddress
* Spec.ClusterDNSDomain —> spec.DNSDomain
@databus23
Copy link
Member Author

@edda three more changes to the api (See last 3 bullets above). Can you confirm this won't break your stuff? I think you are not using those fields yet.

@databus23
Copy link
Member Author

I added some initial tests to the apiserver and made some minor changes to the Spec.
We now run go test ./... in the docker build to make sure the build fails when tests fail
@BugRoger @SchwarzM please review

@databus23
Copy link
Member Author

databus23 commented Nov 10, 2017

By the powers of greyskull I'm merging this PR

@databus23 databus23 merged commit c18593f into master Nov 10, 2017
@databus23 databus23 deleted the unify-spec branch November 10, 2017 13:06
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