---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
  annotations:
    helm.sh/resource-policy: keep
    controller-gen.kubebuilder.io/version: v0.17.3
  name: s3s.observability.pingcap.com
spec:
  group: observability.pingcap.com
  names:
    kind: S3
    listKind: S3List
    plural: s3s
    singular: s3
  scope: Namespaced
  versions:
  - name: v1
    schema:
      openAPIV3Schema:
        description: S3 is the Schema for the s3s API
        properties:
          apiVersion:
            description: |-
              APIVersion defines the versioned schema of this representation of an object.
              Servers should convert recognized schemas to the latest internal value, and
              may reject unrecognized values.
              More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
            type: string
          kind:
            description: |-
              Kind is a string value representing the REST resource this object represents.
              Servers may infer this from the endpoint the client submits requests to.
              Cannot be updated.
              In CamelCase.
              More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
            type: string
          metadata:
            type: object
          spec:
            description: S3Spec defines the desired state of S3
            properties:
              expirationDays:
                description: |-
                  ExpirationDays, when greater than 0, configures an S3 lifecycle rule that
                  expires all objects in the bucket after the given number of days. It is
                  used by tenant-scoped export buckets to bound data retention.
                format: int32
                type: integer
              name:
                description: Name is Bucket Name field of S3.
                type: string
            required:
            - name
            type: object
          status:
            description: S3Status defines the observed state of S3
            properties:
              phase:
                description: Phase is the now status for S3 resource
                type: string
            type: object
        required:
        - spec
        type: object
    served: true
    storage: true
    subresources:
      status: {}
