chaos-mesh-action
chaos-mesh-action copied to clipboard
unknow field scheduler
get error message:
error: error validating "./chaos.yaml": error validating data: ValidationError(PodChaos.spec): unknown field "scheduler" in org.chaos-mesh.v1alpha1.PodChaos.spec; if you choose to ignore these errors, turn validation off with --validate=false
this is because some new update in Chaos Mesh, can fix it by set CHAOS_MESH_VERSION
:
uses: chaos-mesh/[email protected]
env:
......
CHAOS_MESH_VERSION: v1.0.0
refer to https://github.com/pingcap/tidb-operator/pull/4011 and https://github.com/pingcap/dm/pull/1743