name: "Attempting to override undefined plugin component"

input:
  devworkspace:
    components:
      - name: "bad-override"
        plugin:
          kubernetes:
            name: override
          components:
            - name: non-existent
              container:
                memoryLimit: 512Mi
  devworkspaceResources:
    override:
      metadata:
        name: override
        annotations:
          "controller.devfile.io/allow-import-from": "*"
      spec:
        components:
          - name: my-component
            container:
              image: test-image

output:
  errRegexp: "Some Components do not override any existing element: non-existent.*"
