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

Export GetIptablesVersion utility in pkg/util/iptables #9679

Merged
merged 1 commit into from Jun 15, 2015
Merged

Export GetIptablesVersion utility in pkg/util/iptables #9679

merged 1 commit into from Jun 15, 2015

Conversation

BenTheElder
Copy link
Member

For kube-proxy to determine whether to use pure iptables as in #3760
Related WIP PR: #9210

@k8s-bot
Copy link

k8s-bot commented Jun 11, 2015

Can one of the admins verify that this patch is reasonable to test? (reply "ok to test", or if you trust the user, reply "add to whitelist")

If this message is too spammy, please complain to ixdy.

@ArtfulCoder ArtfulCoder added sig/network Categorizes an issue or PR as relevant to SIG Network. team/cluster labels Jun 12, 2015
@@ -343,6 +343,15 @@ func getIptablesVersionString(exec utilexec.Interface) (string, error) {
return string(bytes), nil
}

//exported utility for use with kube-proxy
func GetIptablesVersion(exec utilexec.Interface) (int, int, int, error) {
Copy link
Member

Choose a reason for hiding this comment

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

Can you add a properly formatted godoc comment to this now that it is public?

Copy link
Member Author

Choose a reason for hiding this comment

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

Done, pushing.

For kube-proxy to determine whether to use pure iptables as in
#3760
Related WIP PR:
#9210
@mikedanese mikedanese self-assigned this Jun 12, 2015
@mikedanese mikedanese added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jun 13, 2015
fabioy added a commit that referenced this pull request Jun 15, 2015
Export GetIptablesVersion utility in pkg/util/iptables
@fabioy fabioy merged commit 26e7d8b into kubernetes:master Jun 15, 2015
@BenTheElder BenTheElder mentioned this pull request Jul 1, 2015
13 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm "Looks good to me", indicates that a PR is ready to be merged. sig/network Categorizes an issue or PR as relevant to SIG Network.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants