diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ObjectMeta.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ObjectMeta.java index 9f1a69f3c9e..95ff0ce4f40 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ObjectMeta.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/ObjectMeta.java @@ -53,7 +53,7 @@ public class ObjectMeta implements KubernetesResource { @JsonProperty("annotations") - private Map annotations; + private Map annotations = new HashMap<>(); @JsonProperty("clusterName") private java.lang.String clusterName; @JsonProperty("creationTimestamp") @@ -70,7 +70,7 @@ public class ObjectMeta implements KubernetesResource @JsonProperty("generation") private Long generation; @JsonProperty("labels") - private Map labels; + private Map labels = new HashMap<>(); @JsonProperty("managedFields") @JsonInclude(JsonInclude.Include.NON_EMPTY) private List managedFields = new ArrayList();