name: "Component conflicts with plugin component"

input:
  devworkspace:
    components:
      - name: "component-conflict"
        plugin:
          kubernetes:
            name: test-plugin
      - name: my-component
        container:
          image: test-image
  devworkspaceResources:
    test-plugin:
      metadata:
        name: test-plugin
        annotations:
          "controller.devfile.io/allow-import-from": "*"
      spec:
        components:
          - name: my-component
            container:
              image: test-image

output:
  errRegexp: "Some Components are already defined in plugin '.*': my-component.*"
