Some models don't have attribute 'status', like V1ConfigMap, V1ClusterRole, and V1NetworkPolicy. AttributeError would be raised if these resources are created via create_from_yaml with verbose enabled. This patch checks if attribute 'status' exists before accessing it. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| create_from_yaml.py | ||