-
Notifications
You must be signed in to change notification settings - Fork 73
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
Conversation
WAIT ... pushed approved on wrong PR ... just starting on this one. |
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()) | ||
} |
There was a problem hiding this comment.
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")
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good! Added some tests
There was a problem hiding this 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.
Unit test failures have been fixed |
Several sync related fixes, tests & improvements.
This PR includes #143