-
Notifications
You must be signed in to change notification settings - Fork 40k
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
Refactor pkg/kubelet/config/file_test.go #5705
Conversation
f7bbe21
to
3c6105b
Compare
Can rebase now that #5704 is in :) |
3c6105b
to
5d51318
Compare
Rebased. |
Namespace: kubelet.NamespaceDefault, | ||
SelfLink: "/api/v1beta2/pods/12345-" + hostname + "?namespace=default", | ||
}, | ||
Spec: api.PodSpec{Containers: []api.Container{{Image: "test/image"}}}, |
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.
Shouldn't these have the container name and imagePullPolicy? I'm a bit confused the tests pass. We do include these in http_test.go
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.
As you noted below - it's because DeepDerivative.
Looks good overall, just some questions. |
LGTM |
5d51318
to
9c4ef28
Compare
PTAL |
LGTM, thanks @wojtek-t! |
Refactor pkg/kubelet/config/file_test.go
Please do NOT merge until #5704 is merged.
This is a followup from #5704
Also - this PR is built on top of #5704, thus only the last commit is unique (and should be reviewed).
@vmarmol @yujuhong