mirror of https://github.com/k3s-io/k3s
19 lines
439 B
YAML
Executable File
19 lines
439 B
YAML
Executable File
description: try to mutate a fixed field
|
|
mode: edit
|
|
args:
|
|
- configmap
|
|
namespace: "edit-test"
|
|
expectedStderr:
|
|
- At least one of apiVersion, kind and name was changed
|
|
expectedExitCode: 1
|
|
steps:
|
|
- type: request
|
|
expectedMethod: GET
|
|
expectedPath: /api/v1/namespaces/edit-test/configmaps
|
|
expectedInput: 0.request
|
|
resultingStatusCode: 200
|
|
resultingOutput: 0.response
|
|
- type: edit
|
|
expectedInput: 1.original
|
|
resultingOutput: 1.edited
|