aws / aws-network-policy-agent

Apache License 2.0
43 stars 27 forks source link

Remove python2.7 from the aws-network-policy-agent image. #107

Closed maxres-ch closed 10 months ago

maxres-ch commented 10 months ago

What would you like to be added:

I would like to see python2.7 removed from the container for the network policy agent.

I see this on amazon/aws-network-policy-agent:v1.0.2

❯ k exec -it -n kube-system aws-node-wt6mn -c aws-eks-nodeagent -- bash
bash-4.2# python2.7
Python 2.7.18 (default, Feb 28 2023, 02:51:06)
[GCC 7.3.1 20180712 (Red Hat 7.3.1-15)] on linux2
Type "help", "copyright", "credits" or "license" for more information.

Why is this needed:

We work in a regulated environment, which requires remediation of CVEs within a time period. Python2.7 is deprecated and has unresolved open CVEs.

jayanthvn commented 10 months ago

Duplicate of #109 hence closing.

maxres-ch commented 10 months ago

@jayanthvn sorry about that, I opened it on the wrong repo apparently and went looking for it this morning and thought I didn't hit submit last night.

jayanthvn commented 10 months ago

no worries @maxres-ch :)