Drone-runner-kube: using tolerations "Equals" operator claims "key" is empty

Using drone-runner-kube v1.0.0-beta.1, pipeline config includes:

tolerations:
- key: "designation"
  operator: Equal
  value: drone
  effect: NoExecute

This immediately produces the following error upon executing the pipeline:

test-build: Pod "drone-bpwfkdtrlxx6de98tj1q" is invalid: spec.tolerations[0].operator: Invalid value: "Equal": operator must be Exists when `key` is empty, which means "match all values and all keys"

However, “key” is not empty, as is evident from the above configuration snippet.

We merged a patch that resolved this issue a few months ago. Please ensure you are running the latest release to take advantage of such fixes.

Thank you for the quick reply. I am running an up-to-date version of drone-runner-kube Helm chart. Please update its image.tag since it’s apparently outdated. I will try latest in the meantime.

1 Like