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

k8s: Fix CCNP for host policies #11638

Merged
merged 1 commit into from
May 28, 2020
Merged

Commits on May 27, 2020

  1. k8s: Fix CCNP for host policies

    This commit fixes the CCNP parsing to accept NodeSelectors, used to
    define host policies. NodeSelectors are only accepted in CCNP resources.
    Because host policies are never limited to a namespace, it would be
    misleading to accept NodeSelectors in CNP resources.
    
    This commit also adds a new CCNP example of host policies in the same
    directory as the existing JSON example.
    
    Fixes: f9c205d ("pkg/policy: Host network policies")
    Signed-off-by: Paul Chaignon <paul@cilium.io>
    pchaigno committed May 27, 2020
    Configuration menu
    Copy the full SHA
    0b5ff4f View commit details
    Browse the repository at this point in the history