Skip to content

Commit fe323c3

Browse files
fix: Prevent errors when being used as a dependency (#1173)
See losisin/helm-values-schema-json#254 for further context
1 parent 2d61c5f commit fe323c3

3 files changed

Lines changed: 8 additions & 0 deletions

File tree

helm/blueapi/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ A Helm chart deploying a worker pod that runs Bluesky plans
1212
| 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 |
1313
| extraEnvVars | list | `[]` | Additional envVars to mount to the pod |
1414
| fullnameOverride | string | `""` | |
15+
| global | object | `{}` | Not used, but must be present for validation when using as a dependency of another chart |
1516
| hostNetwork | bool | `false` | May be needed for EPICS depending on gateway configuration |
1617
| image.pullPolicy | string | `"IfNotPresent"` | |
1718
| image.repository | string | `"ghcr.io/diamondlightsource/blueapi"` | To use a container image that extends the blueapi one, set it here |

helm/blueapi/values.schema.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@
2424
"fullnameOverride": {
2525
"type": "string"
2626
},
27+
"global": {
28+
"description": "Not used, but must be present for validation when using as a dependency of another chart",
29+
"type": "object"
30+
},
2731
"hostNetwork": {
2832
"description": "May be needed for EPICS depending on gateway configuration",
2933
"type": "boolean"

helm/blueapi/values.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,3 +226,6 @@ debug:
226226
# -- If enabled, disables liveness and readiness probes, and does not start the service on startup
227227
# This allows connecting to the pod and starting the service manually to allow debugging on the cluster
228228
enabled: false
229+
230+
# -- Not used, but must be present for validation when using as a dependency of another chart
231+
global: {}

0 commit comments

Comments
 (0)