Skip to content

Names field mandatory for k8s/openshift, optional for plugins #9

@l0rd

Description

@l0rd
  • alias should not be used anymore
  • name should be mandatory for kubernetes/openshift/containers components
  • name should be optional for plugins components
  • If name is not specified for a component of type plugin it should be inferred from its id/url field (id/url are used as name if its not specified explicitly)
### a Devfile spec

- container:
     name: tooling-container # <-- mandatory
     image: busybox
     mountSources: true
     endpoints:
       - name: petclinic-web-server

- kubernetes:
     name: mongodb # <-- mandatory
     reference: .../deployment.yaml # <-- already have a metadata.name: 'database1'

- plugin:
     name: vscode-java # <-- optional
     id: ms-vscode/vscode-java/1.1.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/apiEnhancement or issue related to the api/devfile specificationkind/enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions