@flowfuse/driver-kubernetes 2.22.1-468ab35-202510010835.0 → 2.22.1-ade66aa-202510010854.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/kubernetes.js +8 -4
  2. package/package.json +1 -1
package/kubernetes.js CHANGED
@@ -203,8 +203,12 @@ const createDeployment = async (project, options) => {
203
203
  }
204
204
 
205
205
  if (this._app.config.driver.options?.projectLabels) {
206
- localPod.spec.labels = {
207
- ...localPod.spec.labels,
206
+ localPod.metadata.labels = {
207
+ ...localPod.metadata.labels,
208
+ ...this._app.config.driver.options.projectLabels
209
+ }
210
+ localDeployment.metadata.labels = {
211
+ ...localDeployment.metadata.labels,
208
212
  ...this._app.config.driver.options.projectLabels
209
213
  }
210
214
  }
@@ -578,8 +582,8 @@ const createMQTTTopicAgent = async (broker) => {
578
582
  broker: agent ? 'team-broker' : broker.hashid
579
583
  }
580
584
  if (this._app.config.driver.options?.projectLabels) {
581
- localPod.spec.labels = {
582
- ...localPod.spec.labels,
585
+ localPod.metadata.labels = {
586
+ ...localPod.metadata.labels,
583
587
  ...this._app.config.driver.options.projectLabels
584
588
  }
585
589
  localService.metadata.labels = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowfuse/driver-kubernetes",
3
- "version": "2.22.1-468ab35-202510010835.0",
3
+ "version": "2.22.1-ade66aa-202510010854.0",
4
4
  "description": "Kubernetes driver for FlowFuse",
5
5
  "main": "kubernetes.js",
6
6
  "scripts": {