Tolerations marshal error

drone-kube-runner: 1.0.0-beta-2
drone: 1.6.5
drone-registry-plugin: 1.0.0

This appears to happen when I use the tolerations config in our pipeline

{
  "kind": "pipeline",
  "type": "kubernetes",
  "name": "test",
  "platform": {
    "os": "linux",
    "arch": "amd64"
  },
  "volumes": volumes,
  "services": services,
  "steps": steps,
  "tolerations": {
    "key": "cloud.google.com/gke-preemptible",
    "operator": "Equal",
    "value": "true",
    "effect": "NoSchedule"
  },
}

this is because you have defined tolerations as an object, when it needs to be an array

-tolerations: { ... }
+tolerations: [{ ... }]

Oh my god, I should take a break. Thanks for clarifying.