Skip to content

Inconsistent devfile docs wrt schema 2.x.x #314

@maysunfaisal

Description

@maysunfaisal

I have glanced through the devfile docs and found inconsistencies wrt devfile schema 2.x.x. Perhaps these are from devfile schema 1.x.x?

projects

  1. Schema has no location and branch for git
    Screen Shot 2021-01-19 at 12 48 28 PM

  2. Schema has no tag, commitId, branch
    Screen Shot 2021-01-19 at 12 50 25 PM

component

plugin

plugin component has no preferences
Screen Shot 2021-01-19 at 1 00 20 PM

kubernetes

kubernetes component has no selector, reference, reference content, entrypoint, etc
Screen Shot 2021-01-19 at 1 08 00 PM

storage

persistent storage (vol mount)cannot be specified via kubernetes/openshift except for container
Screen Shot 2021-01-19 at 1 12 02 PM

You will need to have a volume component to specify storage

env

plugin cannot mention env in its spec
Screen Shot 2021-01-19 at 1 13 48 PM

endpoints

plugin cannot define endpoints like this
Screen Shot 2021-01-19 at 1 15 32 PM

command

exec

exec command does not have run as root spec

Screen Shot 2021-01-19 at 1 17 52 PM

exec has no preview url spec
Screen Shot 2021-01-19 at 1 21 03 PM

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/documentationImprovements or additions to documentationkind/bugSomething isn't workingseverity/P1Issues that have a critical impact

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions