Skip to content

Commit

Permalink
Removed unused Ca method (#6251)
Browse files Browse the repository at this point in the history
Signed-off-by: Paolo Patierno <[email protected]>
  • Loading branch information
ppatierno authored Jan 25, 2022
1 parent 8aa2c5a commit c8793a2
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c8793a2

Please sign in to comment.