Use version 1.2.0 or higher from https://woodpecker-ci.org/
Set the woopecker.agent.prersistence.enabled to true
Configure a volume in woodpecker.agent.extraVolumes and woodpecker.agent.extraVolumeMounts
Descripition
When woodpecker.agent.extraVolumes and woodpecker.agent.extraVolumeMounts are configured, and woodpecker.agent.persistence is set to true, an error occurs when parsing the helm templates.
Error: YAML parse error on woodpecker/charts/woodpecker/charts/agent/templates/statefulset.yaml: error converting YAML to JSON: yaml: line 42: did not find expected '-' indicator
helm.go:84: [debug] error converting YAML to JSON: yaml: line 42: did not find expected '-' indicator
YAML parse error on woodpecker/charts/woodpecker/charts/agent/templates/statefulset.yaml
Steps to reproduce
1.2.0
or higher fromhttps://woodpecker-ci.org/
woopecker.agent.prersistence.enabled
totrue
woodpecker.agent.extraVolumes
andwoodpecker.agent.extraVolumeMounts
Descripition
When
woodpecker.agent.extraVolumes
andwoodpecker.agent.extraVolumeMounts
are configured, andwoodpecker.agent.persistence
is set totrue
, an error occurs when parsing the helm templates.My agent config