chaos-mesh-action icon indicating copy to clipboard operation
chaos-mesh-action copied to clipboard

unknow field scheduler

Open WangXiangUSTC opened this issue 3 years ago • 1 comments

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

WangXiangUSTC avatar Jun 08 '21 06:06 WangXiangUSTC

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

WangXiangUSTC avatar Jun 08 '21 06:06 WangXiangUSTC