-
Notifications
You must be signed in to change notification settings - Fork 38.6k
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
kubectl: copy deployment util dependency into kubectl #69692
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: seans3 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/kind cleanup |
dfc05a4
to
1b4f356
Compare
/cc @soltysh |
1 similar comment
/cc @soltysh |
a53e703
to
2e37b94
Compare
pkg/kubectl/history.go
Outdated
kapps "k8s.io/kubernetes/pkg/kubectl/apps" | ||
"k8s.io/kubernetes/pkg/kubectl/util/deploymentutil" |
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.
I know we've landed podutils
, but it bothers me, how about we call this pkg/kubectl/util/deployment
it'll be shorter and straightforward and doesn't repeat that nasty util word.
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.
I've changed the directory/package to "util/deployment". But I had to use an import alias of "deploymentutil" because there were collisions with variables named "deployment". Please let me know what you think.
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.
I've changed the directory/package to "util/deployment". But I had to use an import alias of "deploymentutil" because there were collisions with variables named "deployment"
I think that's fine 👍
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.
Yup, aliases are fine, I cared only about the package naming itself. Thanks!
2e37b94
to
ffd4ea9
Compare
/retest |
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.
/lgtm
Helps address:
kubernetes/kubectl#80