~ knotless Search/
↑↓ move↵ open⇧↵ all results
0
0
main
57 lines · 1.3 KB Raw History
apiVersion: apis.kcp.io/v1alpha1
kind: APIResourceSchema
metadata:
  name: v1alpha1-2.nodes.socialweb.computer
spec:
  group: socialweb.computer
  names:
    kind: Node
    listKind: NodeList
    plural: nodes
    singular: node
  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:
              clusterRef:
                type: object
                properties:
                  name:
                    type: string
                    maxLength: 253
                required:
                  - name
            required:
              - clusterRef
          status:
            type: object
            properties:
              phase:
                type: string
                enum:
                  - Pending
                  - Running
                  - Draining
              nodeExpiry:
                type: integer
                format: int64
              conditions:
                type: array
                items:
                  type: object
                  x-kubernetes-preserve-unknown-fields: true