Description of changes:
This change prevents the aws-node pod from entering a crash loop in the case that a networking policy is applied to a pod containing a period. I also added a unit test to ensure this behavior.
Had a discussion with Apurup, going to explore alternatives to resolving the bug. I don't think we'll proceed with the fix proposed in the PR so I'm closing it.
Issue #, if available: https://github.com/aws/aws-network-policy-agent/issues/118
Description of changes: This change prevents the
aws-node
pod from entering a crash loop in the case that a networking policy is applied to a pod containing a period. I also added a unit test to ensure this behavior.Testing:
aws-network-policy-agent
intoaws-node
and followed the documentation to enable network policy.Sample Policy
andSample Deployment
from https://github.com/aws/aws-network-policy-agent/issues/118#issue-1967965139 on the cluster/var/logs/aws-routed-eni/network-policy-agent.log
I also observed the following in
/var/logs/aws-routed-eni/ebpf-sdk.log
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.