~ knotless Search/
↑↓ move↵ open⇧↵ all results
0
0
main
68 lines · 1.7 KB Raw History
apiVersion: apis.kcp.io/v1alpha1
kind: APIResourceSchema
metadata:
  name: v1alpha1-1.jetstreameventsources.events.socialweb.computer
  labels:
    contracts.socialweb.computer/eventsources: v1alpha1
spec:
  group: events.socialweb.computer
  names:
    kind: JetstreamEventSource
    listKind: JetstreamEventSourceList
    plural: jetstreameventsources
    singular: jetstreameventsource
  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:
              url:
                type: string
            required:
              - url
          status:
            type: object
            properties:
              observedGeneration:
                type: integer
                format: int64
              cursor:
                type: integer
                format: int64
              lastEventAt:
                type: string
                format: date-time
              lag:
                type: integer
                format: int64
              address:
                type: string
              conditions:
                type: array
                items:
                  type: object
                  x-kubernetes-preserve-unknown-fields: true
      additionalPrinterColumns:
        - name: URL
          type: string
          jsonPath: .spec.url
        - name: Cursor
          type: integer
          jsonPath: .status.cursor
        - name: Age
          type: date
          jsonPath: .metadata.creationTimestamp