github.com/argoproj-labs/argocd-operator@v0.10.0/deploy/olm-catalog/argocd-operator/0.4.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) 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. If RecoverVolumeExpansionFailure feature
   129                            is enabled users are allowed to specify resource requirements
   130                            that are lower than previous value but must still be higher
   131                            than capacity recorded in the status field of the claim.
   132                            More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources'
   133                          properties:
   134                            limits:
   135                              additionalProperties:
   136                                anyOf:
   137                                - type: integer
   138                                - type: string
   139                                pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
   140                                x-kubernetes-int-or-string: true
   141                              description: 'Limits describes the maximum amount of compute
   142                                resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/'
   143                              type: object
   144                            requests:
   145                              additionalProperties:
   146                                anyOf:
   147                                - type: integer
   148                                - type: string
   149                                pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
   150                                x-kubernetes-int-or-string: true
   151                              description: 'Requests describes the minimum amount of
   152                                compute resources required. If Requests is omitted for
   153                                a container, it defaults to Limits if that is explicitly
   154                                specified, otherwise to an implementation-defined value.
   155                                More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/'
   156                              type: object
   157                          type: object
   158                        selector:
   159                          description: A label query over volumes to consider for binding.
   160                          properties:
   161                            matchExpressions:
   162                              description: matchExpressions is a list of label selector
   163                                requirements. The requirements are ANDed.
   164                              items:
   165                                description: A label selector requirement is a selector
   166                                  that contains values, a key, and an operator that
   167                                  relates the key and values.
   168                                properties:
   169                                  key:
   170                                    description: key is the label key that the selector
   171                                      applies to.
   172                                    type: string
   173                                  operator:
   174                                    description: operator represents a key's relationship
   175                                      to a set of values. Valid operators are In, NotIn,
   176                                      Exists and DoesNotExist.
   177                                    type: string
   178                                  values:
   179                                    description: values is an array of string values.
   180                                      If the operator is In or NotIn, the values array
   181                                      must be non-empty. If the operator is Exists or
   182                                      DoesNotExist, the values array must be empty.
   183                                      This array is replaced during a strategic merge
   184                                      patch.
   185                                    items:
   186                                      type: string
   187                                    type: array
   188                                required:
   189                                - key
   190                                - operator
   191                                type: object
   192                              type: array
   193                            matchLabels:
   194                              additionalProperties:
   195                                type: string
   196                              description: matchLabels is a map of {key,value} pairs.
   197                                A single {key,value} in the matchLabels map is equivalent
   198                                to an element of matchExpressions, whose key field is
   199                                "key", the operator is "In", and the values array contains
   200                                only "value". The requirements are ANDed.
   201                              type: object
   202                          type: object
   203                        storageClassName:
   204                          description: 'Name of the StorageClass required by the claim.
   205                            More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1'
   206                          type: string
   207                        volumeMode:
   208                          description: volumeMode defines what type of volume is required
   209                            by the claim. Value of Filesystem is implied when not included
   210                            in claim spec.
   211                          type: string
   212                        volumeName:
   213                          description: VolumeName is the binding reference to the PersistentVolume
   214                            backing this claim.
   215                          type: string
   216                      type: object
   217                    secretName:
   218                      description: SecretName is the name of a Secret with encryption
   219                        key, credentials, etc.
   220                      type: string
   221                  type: object
   222                version:
   223                  description: Version is the tag/digest to use for the export Job container
   224                    image.
   225                  type: string
   226              required:
   227              - argocd
   228              type: object
   229            status:
   230              description: ArgoCDExportStatus defines the observed state of ArgoCDExport
   231              properties:
   232                phase:
   233                  description: 'Phase is a simple, high-level summary of where the ArgoCDExport
   234                    is in its lifecycle. There are five possible phase values: Pending:
   235                    The ArgoCDExport has been accepted by the Kubernetes system, but
   236                    one or more of the required resources have not been created. Running:
   237                    All of the containers for the ArgoCDExport are still running, or
   238                    in the process of starting or restarting. Succeeded: All containers
   239                    for the ArgoCDExport have terminated in success, and will not be
   240                    restarted. Failed: At least one container has terminated in failure,
   241                    either exited with non-zero status or was terminated by the system.
   242                    Unknown: For some reason the state of the ArgoCDExport could not
   243                    be obtained.'
   244                  type: string
   245              required:
   246              - phase
   247              type: object
   248          type: object
   249      served: true
   250      storage: true
   251      subresources:
   252        status: {}
   253  status:
   254    acceptedNames:
   255      kind: ""
   256      plural: ""
   257    conditions: []
   258    storedVersions: []