github.com/replicatedhq/ship@v0.55.0/pkg/patch/create-test-cases/list/patch.yaml (about) 1 apiVersion: apps/v1 2 kind: Deployment 3 metadata: 4 name: the-deployment 5 spec: 6 template: 7 spec: 8 $setElementOrder/containers: 9 - name: the-container 10 containers: 11 - $setElementOrder/ports: 12 - containerPort: 1111 13 - containerPort: 8081 14 - containerPort: 8082 15 name: the-container 16 ports: 17 - containerPort: 1111 18 name: test 19 - $patch: delete 20 containerPort: 8080