|
@@ -88,7 +88,6 @@ public class Activator {
|
|
|
}
|
|
|
if (!tlscaFile.exists()) {
|
|
|
LOG.warn("TLS CA file set, but does not exist: " + tlscaFile.getAbsolutePath());
|
|
|
- // throw new RuntimeException("TLS CA cert file set, but does not exist.");
|
|
|
}
|
|
|
// Try to build an SSLContext by using a PEM file.
|
|
|
LOG.info("Attempting to build SSLContext with " + tlscaFile.getAbsolutePath());
|
|
@@ -129,7 +128,7 @@ public class Activator {
|
|
|
|
|
|
@POST
|
|
|
public String createJob(JobDescription job) {
|
|
|
- LOG.info("Sending request: " + this.apiserver);
|
|
|
+ LOG.info("Sending request: " + this.apiserver.get());
|
|
|
String response = k8s.createJob(
|
|
|
"Bearer " + token.get(),
|
|
|
job.getNamespace(),
|