github.com/oam-dev/kubevela@v1.9.11/charts/vela-core/crds/core.oam.dev_resourcetrackers.yaml (about) 1 --- 2 apiVersion: apiextensions.k8s.io/v1 3 kind: CustomResourceDefinition 4 metadata: 5 annotations: 6 controller-gen.kubebuilder.io/version: v0.11.4 7 name: resourcetrackers.core.oam.dev 8 spec: 9 group: core.oam.dev 10 names: 11 categories: 12 - oam 13 kind: ResourceTracker 14 listKind: ResourceTrackerList 15 plural: resourcetrackers 16 shortNames: 17 - rt 18 singular: resourcetracker 19 scope: Cluster 20 versions: 21 - additionalPrinterColumns: 22 - jsonPath: .spec.type 23 name: TYPE 24 type: string 25 - jsonPath: .metadata.labels['app\.oam\.dev\/name'] 26 name: APP 27 type: string 28 - jsonPath: .metadata.labels['app\.oam\.dev\/namespace'] 29 name: APP-NS 30 type: string 31 - jsonPath: .spec.applicationGeneration 32 name: APP-GEN 33 type: number 34 name: v1beta1 35 schema: 36 openAPIV3Schema: 37 description: An ResourceTracker represents a tracker for track cross namespace 38 resources 39 properties: 40 apiVersion: 41 description: 'APIVersion defines the versioned schema of this representation 42 of an object. Servers should convert recognized schemas to the latest 43 internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' 44 type: string 45 kind: 46 description: 'Kind is a string value representing the REST resource this 47 object represents. Servers may infer this from the endpoint the client 48 submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' 49 type: string 50 metadata: 51 type: object 52 spec: 53 description: ResourceTrackerSpec define the spec of resourceTracker 54 properties: 55 applicationGeneration: 56 format: int64 57 type: integer 58 compression: 59 description: ResourceTrackerCompression represents the compressed 60 components in ResourceTracker. 61 properties: 62 data: 63 type: string 64 type: 65 description: Type the compression type 66 type: string 67 type: object 68 managedResources: 69 items: 70 description: ManagedResource define the resource to be managed by 71 ResourceTracker 72 properties: 73 apiVersion: 74 description: API version of the referent. 75 type: string 76 cluster: 77 type: string 78 component: 79 type: string 80 creator: 81 type: string 82 deleted: 83 description: Deleted marks the resource to be deleted 84 type: boolean 85 fieldPath: 86 description: 'If referring to a piece of an object instead of 87 an entire object, this string should contain a valid JSON/Go 88 field access statement, such as desiredState.manifest.containers[2]. 89 For example, if the object reference is to a container within 90 a pod, this would take on a value like: "spec.containers{name}" 91 (where "name" refers to the name of the container that triggered 92 the event) or if no container name is specified "spec.containers[2]" 93 (container with index 2 in this pod). This syntax is chosen 94 only to have some well-defined way of referencing a part of 95 an object. TODO: this design is not final and this field is 96 subject to change in the future.' 97 type: string 98 kind: 99 description: 'Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' 100 type: string 101 name: 102 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names' 103 type: string 104 namespace: 105 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/' 106 type: string 107 raw: 108 type: object 109 x-kubernetes-preserve-unknown-fields: true 110 resourceVersion: 111 description: 'Specific resourceVersion to which this reference 112 is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency' 113 type: string 114 skipGC: 115 description: SkipGC marks the resource to skip gc 116 type: boolean 117 trait: 118 type: string 119 uid: 120 description: 'UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids' 121 type: string 122 type: object 123 x-kubernetes-map-type: atomic 124 type: array 125 type: 126 description: ResourceTrackerType defines the type of resourceTracker 127 type: string 128 required: 129 - applicationGeneration 130 type: object 131 type: object 132 served: true 133 storage: true 134 subresources: 135 status: {}