-
Notifications
You must be signed in to change notification settings - Fork 39.7k
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
restore ability to run against secured etcd #21535
Conversation
Labelling this PR as size/M |
@lavalamp First I want to say I am sorry about opening this PR without carefully test since I have some questions and just want to confirm: 1) why we keep
Also the
And the e2e result is:
It seems nothing happen. |
GCE e2e build/test failed for commit 4f07378b59a7e27b7fba0df23349905ab1e265d9. |
} | ||
} | ||
|
||
func (c *EtcdConfig) newHttpTransport() etcd.CancelableTransport { |
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.
@xiang90 care to comment here.
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.
A big TODO for a test. I'm not sure the best way. I'm assuming you manually tried it and it works? :)
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.
@lavalamp of course, I am setting up a real test cluster to test this.
Thank you for throwing this together. |
Sorry, totally didn't see your comment with the question. I'm not sure what's wrong, but you can try adding the -ginkgo.focus= parameter to get it to run a specific test. |
4f07378
to
5d99a15
Compare
Labelling this PR as size/L |
GCE e2e test build/test passed for commit 5d99a15e44f257e5b0b658354d388251758f12af. |
PR needs rebase |
5d99a15
to
f6cc7db
Compare
GCE e2e test build/test passed for commit f6cc7db6add481ebfe9c8f09b841c59d14164d7b. |
client etcd.KeysAPI | ||
codec runtime.Codec | ||
copier runtime.ObjectCopier | ||
mapi etcd.MembersAPI |
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.
etcdMembers or etcdMembersClient or membersClient. Same for 'kapi'.
(IMO: short abbreviations help readability in short function local variables and hurt it in structs as member variables)
New config struct is looking good, but I guess you have a bit more to do on this? |
@lavalamp of course, I am keep going. |
f6cc7db
to
76cc3f7
Compare
GCE e2e test build/test passed for commit 76cc3f753f4f9cdfbf46d5864c1e201583d9fa97. |
76cc3f7
to
ea1a073
Compare
Is this ready to LGTM @liggitt ? I see a comment above that suggests that it is. |
Yes, LGTM |
GCE e2e build/test passed for commit 7228b9b. |
@bgrant0607 is right. kind/old-docs is pretty meaningless at this point. I might get rid of it. |
I'm fine with that @eparis |
seems ready to merge. @bgrant0607 |
@k8s-bot test this [submit-queue is verifying that this PR is safe to merge] |
GCE e2e build/test passed for commit 7228b9b. |
e2e flaked again. Manually merging @k8s-oncall |
restore ability to run against secured etcd
restore ability to run against secured etcd
This PR is included in #22874 which is slated to be included in the release-1.2 branch. |
restore ability to run against secured etcd
restore ability to run against secured etcd
restore ability to run against secured etcd
Fixes #18760