github.com/argoproj-labs/argocd-operator@v0.10.0/deploy/olm-catalog/argocd-operator/0.1.0/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) * An existing 66 custom resource that implements data population (Alpha) 67 In order to use custom resource types that implement data 68 population, the AnyVolumeDataSource feature gate must be 69 enabled. If the provisioner or an external controller can 70 support the specified data source, it will create a new 71 volume based on the contents of the specified data source.' 72 properties: 73 apiGroup: 74 description: APIGroup is the group for the resource being 75 referenced. If APIGroup is not specified, the specified 76 Kind must be in the core API group. For any other third-party 77 types, APIGroup is required. 78 type: string 79 kind: 80 description: Kind is the type of resource being referenced 81 type: string 82 name: 83 description: Name is the name of resource being referenced 84 type: string 85 required: 86 - kind 87 - name 88 type: object 89 resources: 90 description: 'Resources represents the minimum resources the 91 volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources' 92 properties: 93 limits: 94 additionalProperties: 95 anyOf: 96 - type: integer 97 - type: string 98 pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ 99 x-kubernetes-int-or-string: true 100 description: 'Limits describes the maximum amount of compute 101 resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/' 102 type: object 103 requests: 104 additionalProperties: 105 anyOf: 106 - type: integer 107 - type: string 108 pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ 109 x-kubernetes-int-or-string: true 110 description: 'Requests describes the minimum amount of 111 compute resources required. If Requests is omitted for 112 a container, it defaults to Limits if that is explicitly 113 specified, otherwise to an implementation-defined value. 114 More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/' 115 type: object 116 type: object 117 selector: 118 description: A label query over volumes to consider for binding. 119 properties: 120 matchExpressions: 121 description: matchExpressions is a list of label selector 122 requirements. The requirements are ANDed. 123 items: 124 description: A label selector requirement is a selector 125 that contains values, a key, and an operator that 126 relates the key and values. 127 properties: 128 key: 129 description: key is the label key that the selector 130 applies to. 131 type: string 132 operator: 133 description: operator represents a key's relationship 134 to a set of values. Valid operators are In, NotIn, 135 Exists and DoesNotExist. 136 type: string 137 values: 138 description: values is an array of string values. 139 If the operator is In or NotIn, the values array 140 must be non-empty. If the operator is Exists or 141 DoesNotExist, the values array must be empty. 142 This array is replaced during a strategic merge 143 patch. 144 items: 145 type: string 146 type: array 147 required: 148 - key 149 - operator 150 type: object 151 type: array 152 matchLabels: 153 additionalProperties: 154 type: string 155 description: matchLabels is a map of {key,value} pairs. 156 A single {key,value} in the matchLabels map is equivalent 157 to an element of matchExpressions, whose key field is 158 "key", the operator is "In", and the values array contains 159 only "value". The requirements are ANDed. 160 type: object 161 type: object 162 storageClassName: 163 description: 'Name of the StorageClass required by the claim. 164 More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1' 165 type: string 166 volumeMode: 167 description: volumeMode defines what type of volume is required 168 by the claim. Value of Filesystem is implied when not included 169 in claim spec. 170 type: string 171 volumeName: 172 description: VolumeName is the binding reference to the PersistentVolume 173 backing this claim. 174 type: string 175 type: object 176 secretName: 177 description: SecretName is the name of a Secret with encryption 178 key, credentials, etc. 179 type: string 180 type: object 181 version: 182 description: Version is the tag/digest to use for the export Job container 183 image. 184 type: string 185 required: 186 - argocd 187 type: object 188 status: 189 description: ArgoCDExportStatus defines the observed state of ArgoCDExport 190 properties: 191 phase: 192 description: 'Phase is a simple, high-level summary of where the ArgoCDExport 193 is in its lifecycle. There are five possible phase values: Pending: 194 The ArgoCDExport has been accepted by the Kubernetes system, but 195 one or more of the required resources have not been created. Running: 196 All of the containers for the ArgoCDExport are still running, or 197 in the process of starting or restarting. Succeeded: All containers 198 for the ArgoCDExport have terminated in success, and will not be 199 restarted. Failed: At least one container has terminated in failure, 200 either exited with non-zero status or was terminated by the system. 201 Unknown: For some reason the state of the ArgoCDExport could not 202 be obtained.' 203 type: string 204 required: 205 - phase 206 type: object 207 type: object 208 served: true 209 storage: true 210 subresources: 211 status: {} 212 status: 213 acceptedNames: 214 kind: "" 215 plural: "" 216 conditions: [] 217 storedVersions: []