github.com/opendevstack/tailor@v1.3.5-0.20220119161809-cab064e60a67/internal/test/e2e/testdata/recreate/steps.json (about) 1 [ 2 { 3 "command": "apply route/foo", 4 "wantStdout": true, 5 "wantResources": { 6 "route/foo": true 7 }, 8 "wantFields": { 9 "route/foo": { 10 ".spec.host": "foo.example.com" 11 } 12 } 13 }, 14 { 15 "command": "apply route/foo", 16 "wantStderr": true, 17 "wantErr": true, 18 "wantResources": { 19 "route/foo": true 20 }, 21 "wantFields": { 22 "route/foo": { 23 ".spec.host": "foo.example.com" 24 } 25 } 26 }, 27 { 28 "command": "apply route/foo --allow-recreate", 29 "wantStdout": true, 30 "wantResources": { 31 "route/foo": true 32 }, 33 "wantFields": { 34 "route/foo": { 35 ".spec.host": "foobar.example.com" 36 } 37 } 38 } 39 ]