github.com/opendevstack/tailor@v1.3.5-0.20220119161809-cab064e60a67/internal/test/e2e/testdata/service/steps.json (about)

     1  [
     2      {
     3          "command": "apply svc",
     4          "wantStdout": true,
     5          "wantResources": {
     6              "svc/foo": true
     7          },
     8          "wantFields": {
     9              "svc/foo": {
    10                  ".spec.selector.bar": "baz"
    11              }
    12          }
    13      },
    14      {
    15          "command": "apply svc",
    16          "wantStdout": true,
    17          "wantResources": {
    18              "svc/foo": true
    19          },
    20          "wantFields": {
    21              "svc/foo": {
    22                  ".spec.selector.bar": "qux"
    23              }
    24          }
    25      },
    26      {
    27          "command": "apply svc",
    28          "wantStdout": true,
    29          "wantErr": true,
    30          "wantResources": {
    31              "svc/foo": true
    32          }
    33      },
    34      {
    35          "command": "apply svc --force",
    36          "wantStdout": true,
    37          "wantResources": {
    38              "is/foo": false
    39          }
    40      }
    41  ]