nolar / kopf

A Python framework to write Kubernetes operators in just a few lines of code
https://kopf.readthedocs.io/
MIT License
2.08k stars 158 forks source link

`FieldSpec` and `resolve` does not support list access #1102

Open majkrzak opened 8 months ago

majkrzak commented 8 months ago

Long story short

Currently it is not possible to specify the list fields like status.containerStatuses[0].state via the field parameter of the handlers.

Kopf version

1.37.1

Kubernetes version

1.27.6+k3s1

Python version

3.11.6

Code

No response

Logs

No response

Additional information

No response