diff --git a/operator-common/src/main/java/io/strimzi/operator/cluster/model/Ca.java b/operator-common/src/main/java/io/strimzi/operator/cluster/model/Ca.java index e784e87eae4..4b7b7c9efd7 100644 --- a/operator-common/src/main/java/io/strimzi/operator/cluster/model/Ca.java +++ b/operator-common/src/main/java/io/strimzi/operator/cluster/model/Ca.java @@ -113,13 +113,6 @@ protected static Secret forceRenewal(Secret caCert, Secret caKey, String key) { return caCert; } - protected static Secret forceReplacement(Secret caCert, Secret caKey, String key) { - if (caCert != null && caKey != null && caKey.getData() != null && caKey.getData().containsKey(key)) { - caKey = new SecretBuilder(caKey).editMetadata().addToAnnotations(ANNO_STRIMZI_IO_FORCE_REPLACE, "true").endMetadata().build(); - } - return caKey; - } - enum RenewalType { NOOP() { @Override