Marc Nuri
Marc Nuri
Relates to: https://github.com/fabric8io/kubernetes-client/pull/2030#issuecomment-592425843
Hi @yimoucao, Do you want to contribute a fix for this?
If the provided code reproduces an issue, i.e. the provided snippet (or any other resource retrieved from the cluster) doesn't get deserialized properly, this should be treated as a bug...
Despite not being the most Java friendly way (OffsetDateTime, or other Java Time API types would be much better suited), we're currently mapping Tiemestamps to Strings: https://github.com/fabric8io/kubernetes-client/blob/711482cf7b75081693883d1fc538e65dd8f8043b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ObjectMeta.java#L58-L59 https://github.com/kubernetes/apimachinery/blob/478dd6ed1ec9b4cc3459dcd4f1d772013ac0103c/pkg/apis/meta/v1/types.go#L179-L188 So for...
I need to check, but I think this one would break the feature where we allow deserializing fields with unmatched types to the additionalProperties map.
> > I need to check, but I think this one would break the feature where we allow deserializing fields with unmatched types to the additionalProperties map. > > Other...
I'm guessing you're talking about the CRUD mode. I'm not sure if you're only considering how this affects to the provided resource, or if it should also consider dependent resources....
> I manually specify the job as the owner of the secret Given this use case, it does make sense indeed to implement this functionality. > Concerning Foreground, I may...
So an initial implementation would be to delete dependent Objects, despite the DeletionPropagation. Anyway, I think that with the initial complexity this enhancement requires, taking into consideration the propagation policy...
You need to check your configuration. It seems that you configured an HTTPS kubernetes URL for a non-verified hostname. You are probably missing a custom CA configuration.