name: "Should return init container with prestart apply command"

input:
  components:
    - name: test-container1
      container:
        image: my-image
    - name: test-container2
      container:
        image: my-image
  commands:
    - id: test_apply_command
      apply:
        component: test-container1
  events:
    preStart:
      - "test_apply_command"

output:
  initContainers:
    - name: test-container1
      container:
        image: my-image
  mainContainers:
    - name: test-container2
      container:
        image: my-image
  errRegexp:
