~ knotless Search/
↑↓ move↵ open⇧↵ all results
0
0
main
178 lines · 5.1 KB Raw History
apiVersion: apis.kcp.io/v1alpha1
kind: APIResourceSchema
metadata:
  name: v1alpha1-7.atprotorecordwatches.socialweb.computer
spec:
  group: socialweb.computer
  names:
    kind: AtprotoRecordWatch
    listKind: AtprotoRecordWatchList
    plural: atprotorecordwatches
    singular: atprotorecordwatch
  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
              repo:
                type: string
              collection:
                type: string
              rkeys:
                type: array
                items:
                  type: string
                x-kubernetes-list-type: set
              match:
                type: array
                items:
                  type: object
                  properties:
                    fieldPath:
                      type: string
                    value:
                      type: string
                    valueFrom:
                      type: object
                      properties:
                        kind:
                          type: string
                        resource:
                          type: string
                        apiVersion:
                          type: string
                        name:
                          type: string
                        fieldPath:
                          type: string
                        workspace:
                          type: string
                        namespace:
                          type: string
                        optional:
                          type: boolean
                      required:
                        - name
                        - fieldPath
                  required:
                    - fieldPath
              source:
                type: object
                properties:
                  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:
              - collection
              - source
          status:
            type: object
            properties:
              observedGeneration:
                type: integer
                format: int64
              records:
                type: array
                items:
                  type: object
                  properties:
                    did:
                      type: string
                    handle:
                      type: string
                    uri:
                      type: string
                    cid:
                      type: string
                    value:
                      type: object
                      x-kubernetes-preserve-unknown-fields: true
                    verifiedAt:
                      type: string
                  required:
                    - did
                    - uri
                    - value
                    - verifiedAt
              deleted:
                type: array
                items:
                  type: string
              cursors:
                type: array
                items:
                  type: object
                  properties:
                    source:
                      type: string
                    cursor:
                      type: integer
                      format: int64
                  required:
                    - source
                    - cursor
              message:
                type: string
              conditions:
                type: array
                items:
                  type: object
                  x-kubernetes-preserve-unknown-fields: true
      additionalPrinterColumns:
        - name: Repo
          type: string
          jsonPath: .spec.repo
        - name: Collection
          type: string
          jsonPath: .spec.collection
        - name: Message
          type: string
          jsonPath: .status.message
        - name: Age
          type: date
          jsonPath: .metadata.creationTimestamp