~ knotless Search/
↑↓ move↵ open⇧↵ all results
0
0
main
65 lines · 1.6 KB Raw History
apiVersion: apis.kcp.io/v1alpha1
kind: APIResourceSchema
metadata:
  name: v1alpha1-1.plcidentities.socialweb.computer
spec:
  group: socialweb.computer
  names:
    kind: PlcIdentity
    listKind: PlcIdentityList
    plural: plcidentities
    singular: plcidentity
  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
            required:
              - did
          status:
            type: object
            properties:
              observedGeneration:
                type: integer
                format: int64
              head:
                type: string
              opCount:
                type: integer
                format: int64
              tombstoned:
                type: boolean
              conditions:
                type: array
                items:
                  type: object
                  x-kubernetes-preserve-unknown-fields: true
      additionalPrinterColumns:
        - name: DID
          type: string
          jsonPath: .spec.did
        - name: Operations
          type: integer
          jsonPath: .status.opCount
        - name: Tombstoned
          type: boolean
          jsonPath: .status.tombstoned
        - name: Age
          type: date
          jsonPath: .metadata.creationTimestamp