test.yaml 439 B

12345678910111213141516171819
  1. description: try to mutate a fixed field
  2. mode: edit
  3. args:
  4. - configmap
  5. namespace: "edit-test"
  6. expectedStderr:
  7. - At least one of apiVersion, kind and name was changed
  8. expectedExitCode: 1
  9. steps:
  10. - type: request
  11. expectedMethod: GET
  12. expectedPath: /api/v1/namespaces/edit-test/configmaps
  13. expectedInput: 0.request
  14. resultingStatusCode: 200
  15. resultingOutput: 0.response
  16. - type: edit
  17. expectedInput: 1.original
  18. resultingOutput: 1.edited