Skip to content

OpenShift: Create command for creating resource(s) based on content of active editor #1268

@dgolovin

Description

@dgolovin

Many tutorials use oc create -f file.yaml to create resource(s) in open shift cluster. k8s extension provides Kubernetes: Create command which creates new resource in active namespace based on content from current editor. It is not always can be used for resources that are intended for OpenShift. because oc allows to skip some objects/attributes and rely on default values, so where 'oc create -f file.yamlworks,kubectl might fail because it runs validation first and stop execution if required fields are missing. Would be good to have similar 'OpenShift: Create command that can be used in place of oc create -f file.yaml call.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions