disable aws pipe for now

This commit is contained in:
Frostebite 2023-07-10 23:22:53 +01:00
parent 334afd83b2
commit cf758e2db0
3 changed files with 2 additions and 1 deletions

BIN
dist/index.js generated vendored

Binary file not shown.

BIN
dist/index.js.map generated vendored

Binary file not shown.

View File

@ -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`);
}