github.com/argoproj-labs/argocd-operator@v0.10.0/deploy/olm-catalog/argocd-operator/0.2.1/argoproj.io_argocdexports.yaml (about) 1 apiVersion: apiextensions.k8s.io/v1 2 kind: CustomResourceDefinition 3 metadata: 4 annotations: 5 controller-gen.kubebuilder.io/version: v0.6.1 6 creationTimestamp: null 7 name: argocdexports.argoproj.io 8 spec: 9 group: argoproj.io 10 names: 11 kind: ArgoCDExport 12 listKind: ArgoCDExportList 13 plural: argocdexports 14 singular: argocdexport 15 scope: Namespaced 16 versions: 17 - name: v1alpha1 18 schema: 19 openAPIV3Schema: 20 description: ArgoCDExport is the Schema for the argocdexports API 21 properties: 22 apiVersion: 23 description: 'APIVersion defines the versioned schema of this representation 24 of an object. Servers should convert recognized schemas to the latest 25 internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' 26 type: string 27 kind: 28 description: 'Kind is a string value representing the REST resource this 29 object represents. Servers may infer this from the endpoint the client 30 submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' 31 type: string 32 metadata: 33 type: object 34 spec: 35 description: ArgoCDExportSpec defines the desired state of ArgoCDExport 36 properties: 37 argocd: 38 description: Argocd is the name of the ArgoCD instance to export. 39 type: string 40 image: 41 description: Image is the container image to use for the export Job. 42 type: string 43 schedule: 44 description: Schedule in Cron format, see https://en.wikipedia.org/wiki/Cron. 45 type: string 46 storage: 47 description: Storage defines the storage configuration options. 48 properties: 49 backend: 50 description: Backend defines the storage backend to use, must 51 be "local" (the default), "aws", "azure" or "gcp". 52 type: string 53 pvc: 54 description: PVC is the desired characteristics for a PersistentVolumeClaim. 55 properties: 56 accessModes: 57 description: 'AccessModes contains the desired access modes 58 the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1' 59 items: 60 type: string 61 type: array 62 dataSource: 63 description: 'This field can be used to specify either: * 64 An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot) 65 * An existing PVC (PersistentVolumeClaim) If the provisioner 66 or an external controller can support the specified data 67 source, it will create a new volume based on the contents 68 of the specified data source. If the AnyVolumeDataSource 69 feature gate is enabled, this field will always have the 70 same contents as the DataSourceRef field.' 71 properties: 72 apiGroup: 73 description: APIGroup is the group for the resource being 74 referenced. If APIGroup is not specified, the specified 75 Kind must be in the core API group. For any other third-party 76 types, APIGroup is required. 77 type: string 78 kind: 79 description: Kind is the type of resource being referenced 80 type: string 81 name: 82 description: Name is the name of resource being referenced 83 type: string 84 required: 85 - kind 86 - name 87 type: object 88 dataSourceRef: 89 description: 'Specifies the object from which to populate 90 the volume with data, if a non-empty volume is desired. 91 This may be any local object from a non-empty API group 92 (non core object) or a PersistentVolumeClaim object. When 93 this field is specified, volume binding will only succeed 94 if the type of the specified object matches some installed 95 volume populator or dynamic provisioner. This field will 96 replace the functionality of the DataSource field and as 97 such if both fields are non-empty, they must have the same 98 value. For backwards compatibility, both fields (DataSource 99 and DataSourceRef) will be set to the same value automatically 100 if one of them is empty and the other is non-empty. There 101 are two important differences between DataSource and DataSourceRef: 102 * While DataSource only allows two specific types of objects, 103 DataSourceRef allows any non-core object, as well as PersistentVolumeClaim 104 objects. * While DataSource ignores disallowed values (dropping 105 them), DataSourceRef preserves all values, and generates 106 an error if a disallowed value is specified. (Alpha) Using 107 this field requires the AnyVolumeDataSource feature gate 108 to be enabled.' 109 properties: 110 apiGroup: 111 description: APIGroup is the group for the resource being 112 referenced. If APIGroup is not specified, the specified 113 Kind must be in the core API group. For any other third-party 114 types, APIGroup is required. 115 type: string 116 kind: 117 description: Kind is the type of resource being referenced 118 type: string 119 name: 120 description: Name is the name of resource being referenced 121 type: string 122 required: 123 - kind 124 - name 125 type: object 126 resources: 127 description: 'Resources represents the minimum resources the 128 volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources' 129 properties: 130 limits: 131 additionalProperties: 132 anyOf: 133 - type: integer 134 - type: string 135 pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ 136 x-kubernetes-int-or-string: true 137 description: 'Limits describes the maximum amount of compute 138 resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/' 139 type: object 140 requests: 141 additionalProperties: 142 anyOf: 143 - type: integer 144 - type: string 145 pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ 146 x-kubernetes-int-or-string: true 147 description: 'Requests describes the minimum amount of 148 compute resources required. If Requests is omitted for 149 a container, it defaults to Limits if that is explicitly 150 specified, otherwise to an implementation-defined value. 151 More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/' 152 type: object 153 type: object 154 selector: 155 description: A label query over volumes to consider for binding. 156 properties: 157 matchExpressions: 158 description: matchExpressions is a list of label selector 159 requirements. The requirements are ANDed. 160 items: 161 description: A label selector requirement is a selector 162 that contains values, a key, and an operator that 163 relates the key and values. 164 properties: 165 key: 166 description: key is the label key that the selector 167 applies to. 168 type: string 169 operator: 170 description: operator represents a key's relationship 171 to a set of values. Valid operators are In, NotIn, 172 Exists and DoesNotExist. 173 type: string 174 values: 175 description: values is an array of string values. 176 If the operator is In or NotIn, the values array 177 must be non-empty. If the operator is Exists or 178 DoesNotExist, the values array must be empty. 179 This array is replaced during a strategic merge 180 patch. 181 items: 182 type: string 183 type: array 184 required: 185 - key 186 - operator 187 type: object 188 type: array 189 matchLabels: 190 additionalProperties: 191 type: string 192 description: matchLabels is a map of {key,value} pairs. 193 A single {key,value} in the matchLabels map is equivalent 194 to an element of matchExpressions, whose key field is 195 "key", the operator is "In", and the values array contains 196 only "value". The requirements are ANDed. 197 type: object 198 type: object 199 storageClassName: 200 description: 'Name of the StorageClass required by the claim. 201 More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1' 202 type: string 203 volumeMode: 204 description: volumeMode defines what type of volume is required 205 by the claim. Value of Filesystem is implied when not included 206 in claim spec. 207 type: string 208 volumeName: 209 description: VolumeName is the binding reference to the PersistentVolume 210 backing this claim. 211 type: string 212 type: object 213 secretName: 214 description: SecretName is the name of a Secret with encryption 215 key, credentials, etc. 216 type: string 217 type: object 218 version: 219 description: Version is the tag/digest to use for the export Job container 220 image. 221 type: string 222 required: 223 - argocd 224 type: object 225 status: 226 description: ArgoCDExportStatus defines the observed state of ArgoCDExport 227 properties: 228 phase: 229 description: 'Phase is a simple, high-level summary of where the ArgoCDExport 230 is in its lifecycle. There are five possible phase values: Pending: 231 The ArgoCDExport has been accepted by the Kubernetes system, but 232 one or more of the required resources have not been created. Running: 233 All of the containers for the ArgoCDExport are still running, or 234 in the process of starting or restarting. Succeeded: All containers 235 for the ArgoCDExport have terminated in success, and will not be 236 restarted. Failed: At least one container has terminated in failure, 237 either exited with non-zero status or was terminated by the system. 238 Unknown: For some reason the state of the ArgoCDExport could not 239 be obtained.' 240 type: string 241 required: 242 - phase 243 type: object 244 type: object 245 served: true 246 storage: true 247 subresources: 248 status: {} 249 status: 250 acceptedNames: 251 kind: "" 252 plural: "" 253 conditions: [] 254 storedVersions: []