~ knotless Search/
↑↓ move↵ open⇧↵ all results
0
0
main
118 lines · 3.1 KB Raw History
apiVersion: apis.kcp.io/v1alpha1
kind: APIResourceSchema
metadata:
  name: v1alpha1-1.infracollections.socialweb.computer
spec:
  group: socialweb.computer
  names:
    kind: InfraCollection
    listKind: InfraCollectionList
    plural: infracollections
    singular: infracollection
  scope: Cluster
  versions:
    - name: v1alpha1
      served: true
      storage: true
      subresources:
        status: {}
      schema:
        type: object
        properties:
          apiVersion:
            type: string
          kind:
            type: string
          metadata:
            type: object
          spec:
            type: object
            properties:
              repoRef:
                type: object
                properties:
                  group:
                    type: string
                  kind:
                    type: string
                    maxLength: 63
                  name:
                    type: string
                    maxLength: 253
                  workspace:
                    type: string
                required:
                  - kind
                  - name
              eventSourceRefs:
                type: array
                items:
                  type: object
                  properties:
                    group:
                      type: string
                    kind:
                      type: string
                      maxLength: 63
                    name:
                      type: string
                      maxLength: 253
                    workspace:
                      type: string
                  required:
                    - kind
                    - name
            required:
              - repoRef
          status:
            type: object
            properties:
              observedGeneration:
                type: integer
                format: int64
              did:
                type: string
              collection:
                type: string
              records:
                type: integer
              children:
                type: array
                items:
                  type: object
                  properties:
                    rkey:
                      type: string
                    uri:
                      type: string
                    cid:
                      type: string
                    name:
                      type: string
                    boundBy:
                      type: string
                    message:
                      type: string
                  required:
                    - rkey
                    - uri
              message:
                type: string
              conditions:
                type: array
                items:
                  type: object
                  x-kubernetes-preserve-unknown-fields: true
      additionalPrinterColumns:
        - name: Repo
          type: string
          jsonPath: .spec.repoRef.name
        - name: Records
          type: integer
          jsonPath: .status.records
        - name: Message
          type: string
          jsonPath: .status.message
        - name: Age
          type: date
          jsonPath: .metadata.creationTimestamp