You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What happened (please include outputs or screenshots):
The call to method list_namespaced_ingress() of NetworkingV1Api is raising 404 error.
What you expected to happen:
It should return an empty list, as other list methods do (e.g. list_namespaced_config_map, list_namespaced_deployment, list_namespaced_horizontal_pod_autoscaler, etc)
How to reproduce it (as minimally and precisely as possible):
Call NetworkingV1Api().list_namespaced_ingress(namespace=...) for a namespace that doesn't have ingresses. In my case, it was the default namespace.
Anything else we need to know?:
Running inside GitHub Actions.
Environment:
Kubernetes version (kubectl version): -
OS (e.g., MacOS 10.13.6): Ubuntu 20.04
Python version (python --version): 3.10.2
Python client version (pip list | grep kubernetes): 21.7.0