...
1apiVersion: apiextensions.k8s.io/v1
2kind: CustomResourceDefinition
3metadata:
4 name: stores.edge.ncr.com
5 annotations:
6 controller-gen.kubebuilder.io/version: (unknown)
7spec:
8 group: edge.ncr.com
9 names:
10 kind: Store
11 listKind: StoreList
12 plural: stores
13 singular: store
14 scope: Namespaced
15 versions:
16 - name: v1alpha1
17 schema:
18 openAPIV3Schema:
19 type: object
20 description: Store is the Schema for the stores API
21 properties:
22 apiVersion:
23 type: string
24 description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
25 kind:
26 type: string
27 description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
28 metadata:
29 type: object
30 spec:
31 type: object
32 description: StoreSpec defines the desired state of Store
33 properties:
34 clusterID:
35 type: string
36 description: ClusterID is an ID unique to the cluster
37 clusterRef:
38 type: object
39 description: ClusterRef is the reference to the kcc cluster object
40 properties:
41 name:
42 type: string
43 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
44 clusterType:
45 type: string
46 description: ClusterType represents who is responsible for managing the cluster
47 id:
48 type: string
49 description: ID is a unique ID specific to the store
50 location:
51 type: string
52 description: Location is a description of where the store is physical located
53 required:
54 - clusterType
55 - location
56 status:
57 type: object
58 description: StoreStatus defines the observed state of Store
59 served: true
60 storage: true
View as plain text