Skip to content

Latest commit

 

History

History
154 lines (146 loc) · 6.71 KB

README.md

File metadata and controls

154 lines (146 loc) · 6.71 KB

logo

Kubernetes CRD Snippets

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!

Suggested extensions

  1. Snippets for native Kubernetes resouces, choose which fits your needs the best:
  2. redhat.vscode-yaml - provides intellisense on YAML schemes. That means, once the kind and apiVersion is defined, this Extension can offer completions for schemas available at schemastore.org

Features

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
odh-kfdef
Openshift apps.openshift.io/v1 DeploymentConfig openshift-deploymentconfig
openshift-deployment-config
openshift-dc
build.openshift.io/v1 BuildConfig openshift-buildconfig
openshift-build-config
openshift-bc
image.openshift.io/v1 ImageStream openshift-imagestream
openshift-image-stream
openshift-is
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
spark-cluster
SparkApplication radanalyticsio-spark-application
Spark by spark-on-k8s-operator sparkoperator.k8s.io/v1beta1 ScheduledSparkApplication spark-on-k8s-operator-scheduled-spark-application
scheduled-spark-application
SparkApplication spark-on-k8s-operator-spark-application