~ knotless Search/
↑↓ move↵ open⇧↵ all results
0
0
main
112 lines · 2.9 KB Raw History
apiVersion: apis.kcp.io/v1alpha1
kind: APIResourceSchema
metadata:
  name: v1alpha1-2.remoterepos.socialweb.computer
  labels:
    contracts.socialweb.computer/atprotorepos: v1alpha1
spec:
  group: socialweb.computer
  names:
    kind: RemoteRepo
    listKind: RemoteRepoList
    plural: remoterepos
    singular: remoterepo
  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:
              did:
                type: string
              pdsRef:
                type: object
                properties:
                  group:
                    type: string
                  kind:
                    type: string
                    maxLength: 63
                  name:
                    type: string
                    maxLength: 253
                  workspace:
                    type: string
                required:
                  - kind
                  - name
              credentialsRef:
                type: object
                properties:
                  group:
                    type: string
                  kind:
                    type: string
                    maxLength: 63
                  name:
                    type: string
                    maxLength: 253
                  workspace:
                    type: string
                required:
                  - kind
                  - name
            required:
              - did
              - pdsRef
              - credentialsRef
          status:
            type: object
            properties:
              observedGeneration:
                type: integer
                format: int64
              did:
                type: string
              head:
                type: string
              rev:
                type: string
              seq:
                type: integer
                format: int64
              keyFingerprint:
                type: string
              writable:
                type: boolean
              address:
                type: string
              conditions:
                type: array
                items:
                  type: object
                  x-kubernetes-preserve-unknown-fields: true
      additionalPrinterColumns:
        - name: DID
          type: string
          jsonPath: .spec.did
        - name: PDS
          type: string
          jsonPath: .spec.pdsRef.name
        - name: Credentials
          type: string
          jsonPath: .spec.credentialsRef.name
        - name: Head
          type: string
          jsonPath: .status.head
        - name: Age
          type: date
          jsonPath: .metadata.creationTimestamp