mirror of
https://github.com/jpetazzo/container.training.git
synced 2026-02-14 17:49:59 +00:00
Use v1beta1 for the first example (it's a bit simpler) and v1 for the second example. The second example illustrate the served and storage attributes, and the fact that each version can have a different schema. Closes #541
16 lines
285 B
YAML
16 lines
285 B
YAML
apiVersion: apiextensions.k8s.io/v1beta1
|
|
kind: CustomResourceDefinition
|
|
metadata:
|
|
name: coffees.container.training
|
|
spec:
|
|
group: container.training
|
|
version: v1alpha1
|
|
scope: Namespaced
|
|
names:
|
|
plural: coffees
|
|
singular: coffee
|
|
kind: Coffee
|
|
shortNames:
|
|
- cof
|
|
|