use of io.strimzi.certs.OpenSslCertManager in project strimzi-kafka-operator by strimzi.
the class ZookeeperClusterTest method generateNodeSecret.
private Secret generateNodeSecret() {
ClusterCa clusterCa = new ClusterCa(Reconciliation.DUMMY_RECONCILIATION, new OpenSslCertManager(), new PasswordGenerator(10, "a", "a"), cluster, null, null);
clusterCa.createRenewOrReplace(namespace, cluster, emptyMap(), emptyMap(), emptyMap(), null, true);
zc.generateCertificates(ka, clusterCa, true);
return zc.generateNodesSecret(clusterCa);
}
use of io.strimzi.certs.OpenSslCertManager in project strimzi by strimzi.
the class ZookeeperClusterTest method generateNodeSecret.
private Secret generateNodeSecret() {
ClusterCa clusterCa = new ClusterCa(Reconciliation.DUMMY_RECONCILIATION, new OpenSslCertManager(), new PasswordGenerator(10, "a", "a"), cluster, null, null);
clusterCa.createRenewOrReplace(namespace, cluster, emptyMap(), emptyMap(), emptyMap(), null, true);
zc.generateCertificates(ka, clusterCa, true);
return zc.generateNodesSecret(clusterCa);
}
Aggregations