|
| 1 | + |
| 2 | +--- |
| 3 | +apiVersion: apiextensions.k8s.io/v1 |
| 4 | +kind: CustomResourceDefinition |
| 5 | +metadata: |
| 6 | + annotations: |
| 7 | + controller-gen.kubebuilder.io/version: v0.2.9 |
| 8 | + creationTimestamp: null |
| 9 | + name: clusterresourcesets.clusterresourceset.cluster.x-k8s.io |
| 10 | +spec: |
| 11 | + group: clusterresourceset.cluster.x-k8s.io |
| 12 | + names: |
| 13 | + categories: |
| 14 | + - cluster-api |
| 15 | + kind: ClusterResourceSet |
| 16 | + listKind: ClusterResourceSetList |
| 17 | + plural: clusterresourcesets |
| 18 | + singular: clusterresourceset |
| 19 | + scope: Namespaced |
| 20 | + versions: |
| 21 | + - name: v1alpha3 |
| 22 | + schema: |
| 23 | + openAPIV3Schema: |
| 24 | + description: ClusterResourceSet is the Schema for the clusterresourcesets |
| 25 | + API |
| 26 | + properties: |
| 27 | + apiVersion: |
| 28 | + description: 'APIVersion defines the versioned schema of this representation |
| 29 | + of an object. Servers should convert recognized schemas to the latest |
| 30 | + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' |
| 31 | + type: string |
| 32 | + kind: |
| 33 | + description: 'Kind is a string value representing the REST resource this |
| 34 | + object represents. Servers may infer this from the endpoint the client |
| 35 | + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' |
| 36 | + type: string |
| 37 | + metadata: |
| 38 | + type: object |
| 39 | + spec: |
| 40 | + description: ClusterResourceSetSpec defines the desired state of ClusterResourceSet |
| 41 | + properties: |
| 42 | + clusterSelector: |
| 43 | + description: Label selector for Clusters. The Clusters that are selected |
| 44 | + by this will be the ones affected by this ClusterResourceSet. It |
| 45 | + must match the Cluster labels. |
| 46 | + properties: |
| 47 | + matchExpressions: |
| 48 | + description: matchExpressions is a list of label selector requirements. |
| 49 | + The requirements are ANDed. |
| 50 | + items: |
| 51 | + description: A label selector requirement is a selector that |
| 52 | + contains values, a key, and an operator that relates the key |
| 53 | + and values. |
| 54 | + properties: |
| 55 | + key: |
| 56 | + description: key is the label key that the selector applies |
| 57 | + to. |
| 58 | + type: string |
| 59 | + operator: |
| 60 | + description: operator represents a key's relationship to |
| 61 | + a set of values. Valid operators are In, NotIn, Exists |
| 62 | + and DoesNotExist. |
| 63 | + type: string |
| 64 | + values: |
| 65 | + description: values is an array of string values. If the |
| 66 | + operator is In or NotIn, the values array must be non-empty. |
| 67 | + If the operator is Exists or DoesNotExist, the values |
| 68 | + array must be empty. This array is replaced during a strategic |
| 69 | + merge patch. |
| 70 | + items: |
| 71 | + type: string |
| 72 | + type: array |
| 73 | + required: |
| 74 | + - key |
| 75 | + - operator |
| 76 | + type: object |
| 77 | + type: array |
| 78 | + matchLabels: |
| 79 | + additionalProperties: |
| 80 | + type: string |
| 81 | + description: matchLabels is a map of {key,value} pairs. A single |
| 82 | + {key,value} in the matchLabels map is equivalent to an element |
| 83 | + of matchExpressions, whose key field is "key", the operator |
| 84 | + is "In", and the values array contains only "value". The requirements |
| 85 | + are ANDed. |
| 86 | + type: object |
| 87 | + type: object |
| 88 | + mode: |
| 89 | + description: Mode is the mode to be used during applying resources. |
| 90 | + Defaults to ClusterResourceSetModeApplyOnce. |
| 91 | + type: string |
| 92 | + resources: |
| 93 | + description: Resources is a list of Secrets/ConfigMaps where each |
| 94 | + contains 1 or more resources to be applied to remote clusters. |
| 95 | + items: |
| 96 | + description: ClusterResourceSetResource specifies a resource. |
| 97 | + properties: |
| 98 | + kind: |
| 99 | + description: 'Kind of the resource. Supported kinds are: Secrets |
| 100 | + and ConfigMaps.' |
| 101 | + type: string |
| 102 | + name: |
| 103 | + description: Name of the resource that is in the same namespace |
| 104 | + with ClusterResourceSet object. |
| 105 | + type: string |
| 106 | + type: object |
| 107 | + type: array |
| 108 | + required: |
| 109 | + - clusterSelector |
| 110 | + type: object |
| 111 | + status: |
| 112 | + description: ClusterResourceSetStatus defines the observed state of ClusterResourceSet |
| 113 | + properties: |
| 114 | + lastUpdated: |
| 115 | + description: LastUpdated identifies when the ClusterResourceSet last |
| 116 | + updated. |
| 117 | + format: date-time |
| 118 | + type: string |
| 119 | + type: object |
| 120 | + type: object |
| 121 | + served: true |
| 122 | + storage: true |
| 123 | + subresources: |
| 124 | + status: {} |
| 125 | +status: |
| 126 | + acceptedNames: |
| 127 | + kind: "" |
| 128 | + plural: "" |
| 129 | + conditions: [] |
| 130 | + storedVersions: [] |
0 commit comments