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.
Many tutorials use
oc create -f file.yamlto create resource(s) in open shift cluster. k8s extension providesKubernetes: Createcommand 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. becauseocallows to skip some objects/attributes and rely on default values, so where 'oc create -f file.yamlworks,kubectlmight fail because it runs validation first and stop execution if required fields are missing. Would be good to have similar 'OpenShift: Createcommand that can be used in place ofoc create -f file.yamlcall.