diff --git a/dist/index.js b/dist/index.js index 0e2a84e0..51e0d88d 100644 Binary files a/dist/index.js and b/dist/index.js differ diff --git a/dist/index.js.map b/dist/index.js.map index 20d60e3e..0c5bb24d 100644 Binary files a/dist/index.js.map and b/dist/index.js.map differ diff --git a/src/model/cloud-runner/providers/k8s/index.ts b/src/model/cloud-runner/providers/k8s/index.ts index e20a8834..83f85163 100644 --- a/src/model/cloud-runner/providers/k8s/index.ts +++ b/src/model/cloud-runner/providers/k8s/index.ts @@ -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`); }