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

Adding syncmaster&worker reconciliation support. #145

Merged
merged 16 commits into from
Jun 5, 2018

Conversation

ewoutp
Copy link
Contributor

@ewoutp ewoutp commented May 28, 2018

Several sync related fixes, tests & improvements.

This PR includes #143

@ewoutp ewoutp added the 9 WIP label May 28, 2018
@ewoutp ewoutp requested a review from neunhoef May 31, 2018 07:08
@ewoutp ewoutp mentioned this pull request May 31, 2018
matthewvon
matthewvon previously approved these changes Jun 4, 2018
@matthewvon
Copy link

WAIT ... pushed approved on wrong PR ... just starting on this one.

@matthewvon matthewvon dismissed their stale review June 4, 2018 18:20

approved wrong PR ... working this one now

assert.Equal(t, "test-image", def(SyncSpec{}).GetImage())
assert.Equal(t, "foo", def(SyncSpec{Image: util.NewString("foo")}).GetImage())
assert.Equal(t, v1.PullAlways, def(SyncSpec{}).GetImagePullPolicy())
assert.Equal(t, v1.PullNever, def(SyncSpec{ImagePullPolicy: util.NewPullPolicy(v1.PullNever)}).GetImagePullPolicy())
assert.Equal(t, "test-jwt", def(SyncSpec{}).Authentication.GetJWTSecretName())
assert.Equal(t, "foo", def(SyncSpec{Authentication: SyncAuthenticationSpec{JWTSecretName: util.NewString("foo")}}).Authentication.GetJWTSecretName())
}

Choose a reason for hiding this comment

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

no test for new parameter to monitoring.SetDefaults("string")

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good! Added some tests

Copy link

@matthewvon matthewvon left a comment

Choose a reason for hiding this comment

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

Need feedback on unit test failure. but otherwise ok.

@ewoutp
Copy link
Contributor Author

ewoutp commented Jun 5, 2018

Unit test failures have been fixed

@ewoutp ewoutp merged commit 4ab7a63 into master Jun 5, 2018
@ewoutp ewoutp deleted the feature/sync-reconciliation branch June 5, 2018 05:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants