YAML snippets for popular Kubernetes Custom Resources. If you'd like to see snippets for CRDs you use, just file an issue or submit a PR - contributions are welcome!
- Snippets for native Kubernetes resouces, choose which fits your needs the best:
redhat.vscode-yaml
- provides intellisense on YAML schemes. That means, once thekind
andapiVersion
is defined, this Extension can offer completions for schemas available at schemastore.org
Includes snippets for following CRDs:
Project | Group | Kind | Snippet prefix |
---|---|---|---|
Argo Workflows | argoproj.io |
Workflow |
argo-workflow argo-wf argo-wf-template-ref |
WorkflowTemplate |
argo-workflowtemplate argo-wftmpl |
||
CronWorkflow |
argo-cronworkflow argo-cronwf argo-cronwf-template-ref |
||
Argo CD | argoproj.io |
Application |
argocd-application |
Project |
argocd-project |
||
Grafana (Integreatly) | integreatly.io |
Grafana |
grafana-instance |
GrafanaDasboard |
grafana-dashboard |
||
GrafanaDatasource |
grafana-datasource |
||
Kustomize | kustomize.config.k8s.io |
Kustomization |
kustomization |
Component |
component |
||
Json 6902 Patch | json-patch json-6902 |
||
Kubeflow Open Data Hub |
kfdef.apps.kubeflow.org/v1 |
KfDef |
kubeflow-kfdef |
Openshift | apps.openshift.io/v1 |
DeploymentConfig |
openshift-deploymentconfig |
build.openshift.io/v1 |
BuildConfig |
openshift-buildconfig |
|
image.openshift.io/v1 |
ImageStream |
openshift-imagestream |
|
project.openshift.io/v1 |
Project |
openshift-project |
|
user.openshift.io/v1 |
Group |
openshift-group |
|
route.openshift.io/v1 |
Route |
openshift-route |
|
operators.coreos.com/v1alpha1 |
Subscription |
openshift-subscription |
|
operators.coreos.com/v1 |
OperatorSource |
openshift-operator-source |
|
Spark by Radanalytics.io | radanalytics.io/v1 |
SparkCluster |
radanalyticsio-spark-cluster |
SparkApplication |
radanalyticsio-spark-application |
||
Spark by spark-on-k8s-operator |
sparkoperator.k8s.io/v1beta1 |
ScheduledSparkApplication |
spark-on-k8s-operator-scheduled-spark-application |
SparkApplication |
spark-on-k8s-operator-spark-application |