@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.
- package/kubernetes.js +8 -4
- 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.
|
|
207
|
-
...localPod.
|
|
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.
|
|
582
|
-
...localPod.
|
|
585
|
+
localPod.metadata.labels = {
|
|
586
|
+
...localPod.metadata.labels,
|
|
583
587
|
...this._app.config.driver.options.projectLabels
|
|
584
588
|
}
|
|
585
589
|
localService.metadata.labels = {
|