From 9886b8e296bf657bb4e656a2271b48467f481ea0 Mon Sep 17 00:00:00 2001 From: Joseph Ware <53935796+DiamondJoseph@users.noreply.github.com> Date: Fri, 22 Aug 2025 14:35:03 +0100 Subject: [PATCH] fix: Prevent errors when being used as a dependency --- helm/blueapi/README.md | 1 + helm/blueapi/values.schema.json | 4 ++++ helm/blueapi/values.yaml | 3 +++ 3 files changed, 8 insertions(+) diff --git a/helm/blueapi/README.md b/helm/blueapi/README.md index effe4a7e94..fdd75274d3 100644 --- a/helm/blueapi/README.md +++ b/helm/blueapi/README.md @@ -12,6 +12,7 @@ A Helm chart deploying a worker pod that runs Bluesky plans | debug.enabled | bool | `false` | If enabled, disables liveness and readiness probes, and does not start the service on startup This allows connecting to the pod and starting the service manually to allow debugging on the cluster | | extraEnvVars | list | `[]` | Additional envVars to mount to the pod | | fullnameOverride | string | `""` | | +| global | object | `{}` | Not used, but must be present for validation when using as a dependency of another chart | | hostNetwork | bool | `false` | May be needed for EPICS depending on gateway configuration | | image.pullPolicy | string | `"IfNotPresent"` | | | image.repository | string | `"ghcr.io/diamondlightsource/blueapi"` | To use a container image that extends the blueapi one, set it here | diff --git a/helm/blueapi/values.schema.json b/helm/blueapi/values.schema.json index 422c883b94..e39ce44075 100644 --- a/helm/blueapi/values.schema.json +++ b/helm/blueapi/values.schema.json @@ -24,6 +24,10 @@ "fullnameOverride": { "type": "string" }, + "global": { + "description": "Not used, but must be present for validation when using as a dependency of another chart", + "type": "object" + }, "hostNetwork": { "description": "May be needed for EPICS depending on gateway configuration", "type": "boolean" diff --git a/helm/blueapi/values.yaml b/helm/blueapi/values.yaml index 38328f8fa1..1178e9de7c 100644 --- a/helm/blueapi/values.yaml +++ b/helm/blueapi/values.yaml @@ -226,3 +226,6 @@ debug: # -- If enabled, disables liveness and readiness probes, and does not start the service on startup # This allows connecting to the pod and starting the service manually to allow debugging on the cluster enabled: false + +# -- Not used, but must be present for validation when using as a dependency of another chart +global: {}