disable aws pipe for now
parent
334afd83b2
commit
cf758e2db0
|
@ -3286,7 +3286,8 @@ class Kubernetes {
|
|||
const body = new k8s.V1ConfigMap();
|
||||
body.data = {};
|
||||
body.data['logs'] = logs;
|
||||
body.metadata = { name: `${this.jobName}-logs` };
|
||||
body.metadata = { name: `${this.jobName}-logs`, namespace: this.namespace, labels: { app: 'unity-builder' } };
|
||||
remote_client_logger_1.RemoteClientLogger.log(`Pushing to Kubernetes ConfigMap`);
|
||||
await this.kubeClient.createNamespacedConfigMap(this.namespace, body);
|
||||
remote_client_logger_1.RemoteClientLogger.log(`Pushed logs to Kubernetes ConfigMap`);
|
||||
}
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -50,7 +50,8 @@ class Kubernetes implements ProviderInterface {
|
|||
const body: k8s.V1ConfigMap = new k8s.V1ConfigMap();
|
||||
body.data = {};
|
||||
body.data['logs'] = logs;
|
||||
body.metadata = { name: `${this.jobName}-logs` };
|
||||
body.metadata = { name: `${this.jobName}-logs`, namespace: this.namespace, labels: { app: 'unity-builder' } };
|
||||
RemoteClientLogger.log(`Pushing to Kubernetes ConfigMap`);
|
||||
await this.kubeClient.createNamespacedConfigMap(this.namespace, body);
|
||||
RemoteClientLogger.log(`Pushed logs to Kubernetes ConfigMap`);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue