apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: name: stores.edge.ncr.com annotations: controller-gen.kubebuilder.io/version: (unknown) spec: group: edge.ncr.com names: kind: Store listKind: StoreList plural: stores singular: store scope: Namespaced versions: - name: v1alpha1 schema: openAPIV3Schema: type: object description: Store is the Schema for the stores API properties: apiVersion: type: string 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' kind: type: string 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' metadata: type: object spec: type: object description: StoreSpec defines the desired state of Store properties: clusterID: type: string description: ClusterID is an ID unique to the cluster clusterRef: type: object description: ClusterRef is the reference to the kcc cluster object properties: name: type: string 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?' clusterType: type: string description: ClusterType represents who is responsible for managing the cluster id: type: string description: ID is a unique ID specific to the store location: type: string description: Location is a description of where the store is physical located required: - clusterType - location status: type: object description: StoreStatus defines the observed state of Store served: true storage: true