You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using videoManager.extraVolumeMounts or videoManager.extraVolumes in the official Selenium Grid Helm chart, the Helm template fails with an error like: json: cannot unmarshal object into Go struct field Container.spec.template.spec.containers.volumeMounts of type []v1.VolumeMount
This is caused by the template rendering the extraVolumeMounts and extraVolumes values incorrectly — treating them as objects rather than arrays.
Command used to start Selenium Grid with Docker (or Kubernetes)
Use this minimal values.yaml
videoManager:
enabled: true
extraVolumeMounts:
- name: srv
mountPath: /srv
extraVolumes:
- name: srv
persistentVolumeClaim:
claimName: my-pvc
Relevant log output
":\"2025-05-05T17:47:36Z\",\"lastTransitionTime\":\"2025-05-05T17:47:36Z\",\"reason\":\"MinimumReplicasAvailable\",\"message\":\"Deployment has minimum availability.\"}]}}": json: cannot unmarshal object into Go struct field Container.spec.template.spec.containers.volumeMounts of type []v1.VolumeMount