diff --git a/operator/src/main/java/com/datastax/oss/kaap/crds/GlobalSpec.java b/operator/src/main/java/com/datastax/oss/kaap/crds/GlobalSpec.java index ab155999..81b2cdc7 100644 --- a/operator/src/main/java/com/datastax/oss/kaap/crds/GlobalSpec.java +++ b/operator/src/main/java/com/datastax/oss/kaap/crds/GlobalSpec.java @@ -37,6 +37,7 @@ import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; +import lombok.EqualsAndHashCode; import lombok.NoArgsConstructor; import org.apache.commons.lang3.ObjectUtils; @@ -44,6 +45,7 @@ @NoArgsConstructor @AllArgsConstructor @Builder +@EqualsAndHashCode(callSuper = false) public class GlobalSpec extends ValidableSpec implements WithDefaults { @@ -151,7 +153,6 @@ public static class GlobalStorageConfig { private String existingStorageClassName; } - @NotNull @Required @JsonPropertyDescription("Pulsar cluster name.")