pull/310/head
Frostebite 2021-12-30 20:45:45 +00:00
parent 0956a889f8
commit 312faf5820
3 changed files with 1 additions and 4 deletions

1
dist/index.js vendored
View File

@ -1742,7 +1742,6 @@ class Kubernetes {
this.kubeConfig.loadFromDefault();
this.kubeClient = this.kubeConfig.makeApiClient(k8s.CoreV1Api);
this.kubeClientBatch = this.kubeConfig.makeApiClient(k8s.BatchV1Api);
this.kubeClientBatchBeta = this.kubeConfig.makeApiClient(k8s.BatchV1beta1Api);
cloud_runner_logger_1.default.log('Loaded default Kubernetes configuration for this environment');
this.namespace = 'default';
this.buildParameters = buildParameters;

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -27,14 +27,12 @@ class Kubernetes implements CloudRunnerProviderInterface {
private containerName: string = '';
private cleanupCronJobName: string = '';
private serviceAccountName: string = '';
private kubeClientBatchBeta: k8s.BatchV1beta1Api;
constructor(buildParameters: BuildParameters) {
this.kubeConfig = new k8s.KubeConfig();
this.kubeConfig.loadFromDefault();
this.kubeClient = this.kubeConfig.makeApiClient(k8s.CoreV1Api);
this.kubeClientBatch = this.kubeConfig.makeApiClient(k8s.BatchV1Api);
this.kubeClientBatchBeta = this.kubeConfig.makeApiClient(k8s.BatchV1beta1Api);
CloudRunnerLogger.log('Loaded default Kubernetes configuration for this environment');
this.namespace = 'default';