maclof / kubernetes-client

A simple yet elegant client for accessing and controlling a Kubernetes cluster (https://github.com/kubernetes/kubernetes)
MIT License
231 stars 82 forks source link

Model with yaml attribute type can not be created since 0.23 #104

Open mtsteinbrenner opened 2 years ago

mtsteinbrenner commented 2 years ago

I'm currently updating our dependency from 0.22 to 0.24 and there seems to an issue since 0.23: The class src/Models/Model takes (with typehint) array $attributes = [] but expects it to be a string in case of $attributeType === 'yaml'. This creates issues in our code when we instantiate new CronJobs.