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

Antrea-native policy without a Tier set in it's spec should have "application" tier set #1550

Closed
abhiraut opened this issue Nov 13, 2020 · 1 comment · Fixed by #1567
Closed
Labels
area/network-policy/api Issues or PRs related to the network policy API. kind/bug Categorizes issue or PR as related to a bug.

Comments

@abhiraut
Copy link
Contributor

Describe the bug
When an Antrea-native policy is created without a Tier, it is pushed to the default "Application" Tier but the kubectl output shows the field as empty.

To Reproduce
Create ACNP without a Tier in spec.
kubectl get acnp <name> and notice Tier field is empty. Although the ACNP is by default associated to Application Tier.

Expected
Tier field is automatically set to "application" tier

Additional context
Achieve this by setting empty Tier filed to "application" in our mutation webhook.

@abhiraut abhiraut added kind/bug Categorizes issue or PR as related to a bug. area/network-policy/api Issues or PRs related to the network policy API. labels Nov 13, 2020
@abhiraut abhiraut added this to the Antrea v0.12.0 release milestone Nov 13, 2020
@abhiraut
Copy link
Contributor Author

note.. this bug has no effect on functionality .. more cosmetic

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/network-policy/api Issues or PRs related to the network policy API. kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant