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

host network promoted to spec field #294

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

basit9958
Copy link
Contributor

Ⅰ. Describe what this PR does

Host network annotation elevated to spec field

II. Does this pull request fix one issue?

fixes #260

III. Special notes for reviewers if any.

Test files is not updated yet!

)

func EnableHostNetwork(job metav1.Object) bool {
return job.GetAnnotations()[v1.AnnotationNetworkMode] == string(v1.HostNetworkMode)
Copy link
Collaborator

Choose a reason for hiding this comment

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

should we consider backward compatibility?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[feature request] Promote host network feature annotation as the spec fields
2 participants