@flowfuse/driver-kubernetes 2.22.2-c4cd2cc-202510160855.0 → 2.22.2-d3f9800-202510171249.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/README.md CHANGED
@@ -44,6 +44,10 @@ driver:
44
44
  - `projectSelector` a list of labels that should be used to select which nodes Project Pods
45
45
  should run on
46
46
  - `projectLabels` a list of custom labels that should be applied to all resources created for Projects (Pods, Services, Ingresses, PVCs)
47
+ - `projectProbes` optional configuration for liveness, readiness and startup probes for project containers
48
+ - `projectProbes.livenessProbe` custom liveness probe configuration (default not set)
49
+ - `projectProbes.readinessProbe` custom readiness probe configuration (default not set)
50
+ - `projectProbes.startupProbe` custom startup probe configuration (default not set)
47
51
  - `cloudProvider` normally not set, but can be `aws` This triggers the adding of
48
52
  AWS EKS specific annotation for ALB Ingress. or `openshift` to allow running on OpenShift (Enterprise license only)
49
53
  - `privateCA` name of ConfigMap holding PEM CA Cert Bundle (file name `certs.pem`) Optional
package/kubernetes.js CHANGED
@@ -213,6 +213,16 @@ const createDeployment = async (project, options) => {
213
213
  }
214
214
  }
215
215
 
216
+ if (this._app.config.driver.options?.projectProbes?.livenessProbe) {
217
+ localPod.spec.containers[0].livenessProbe = this._app.config.driver.options.projectProbes.livenessProbe
218
+ }
219
+ if (this._app.config.driver.options?.projectProbes?.readinessProbe) {
220
+ localPod.spec.containers[0].readinessProbe = this._app.config.driver.options.projectProbes.readinessProbe
221
+ }
222
+ if (this._app.config.driver.options?.projectProbes?.startupProbe) {
223
+ localPod.spec.containers[0].startupProbe = this._app.config.driver.options.projectProbes.startupProbe
224
+ }
225
+
216
226
  const ha = await project.getSetting('ha')
217
227
  if (ha?.replicas > 1) {
218
228
  localDeployment.spec.replicas = ha.replicas
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowfuse/driver-kubernetes",
3
- "version": "2.22.2-c4cd2cc-202510160855.0",
3
+ "version": "2.22.2-d3f9800-202510171249.0",
4
4
  "description": "Kubernetes driver for FlowFuse",
5
5
  "main": "kubernetes.js",
6
6
  "scripts": {