kuberig-io / kuberig-dsl-openshift

KubeRig DSLs for vanilla Openshift
https://kuberig.io
Apache License 2.0
1 stars 0 forks source link

fasterxml is confused #4

Open guai opened 3 years ago

guai commented 3 years ago

I'm getting an exception java.lang.IllegalArgumentException: Conflicting getter definitions for property "iscsi": io.k8s.api.core.v1.Volume#getIscsi() vs io.k8s.api.core.v1.Volume#getCsi() while using dsl for a Pod. Volume have both csi and iscsi properties, which fasterxml interprets as boolean is-getter. I think there should be some annotations to make it work properly.

guai commented 3 years ago

Nevermind, it looks like this issue is version-dependent. with com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.12.3 it is there. But with com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.11.4 everything's fine