Advertisement
drpanwe

Untitled

Jan 9th, 2020
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.82 KB | None | 0 0
  1. apiVersion: apiextensions.k8s.io/v1
  2. kind: CustomResourceDefinition
  3. metadata:
  4.  # name must match the spec fields below, and be in the form: <plural>.<group>
  5.   name: fancydb.db.example.com
  6. spec:
  7.  # group name to use for REST API: /apis/<group>/<version>
  8.   group: db.example.com
  9.   # list of versions supported by this CustomResourceDefinition
  10.   versions:
  11.     - name: v1
  12.   # either Namespaced or Cluster
  13.   scope: Namespaced
  14.   names:
  15.    # plural name to be used in the URL: /apis/<group>/<version>/<plural>
  16.     plural: fancydbs
  17.     # singular name to be used as an alias on the CLI and for display
  18.     singular: fancydb
  19.     # kind is normally the CamelCased singular type. Your resource manifests use this.
  20.     kind: FancyDB
  21.     # shortNames allow shorter string to match your resource on the CLI
  22.     shortNames:
  23.    - fb
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement