~ knotless Search/
↑↓ move↵ open⇧↵ all results
0
0
main
568 lines · 17.5 KB Raw History
apiVersion: apis.kcp.io/v1alpha1
kind: APIResourceSchema
metadata:
  name: v1alpha1-16.nodeclaims.socialweb.computer
spec:
  group: socialweb.computer
  names:
    kind: NodeClaim
    listKind: NodeClaimList
    plural: nodeclaims
    singular: nodeclaim
  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
              nodeName:
                type: string
              ownerDid:
                type: string
              apiserverPort:
                type: integer
              advertiseAddress:
                type: string
              tokenFile:
                type: string
              nodePasswordFile:
                type: string
              serverCAFile:
                type: string
              denyBidderDids:
                type: array
                items:
                  type: string
              adoptJoinedNode:
                type: boolean
            required:
              - clusterRef
              - nodeName
              - ownerDid
              - apiserverPort
              - advertiseAddress
              - tokenFile
              - nodePasswordFile
              - serverCAFile
          status:
            type: object
            properties:
              phase:
                type: string
                enum:
                  - Pending
                  - Bidding
                  - Provisioning
                  - Joining
                  - Running
                  - Failed
                  - Released
                  - Lost
                  - Adopting
              contract:
                type: object
                properties:
                  vmUri:
                    type: string
                  rfpUri:
                    type: string
                  acceptUri:
                    type: string
                  receiptUri:
                    type: string
                  receiptCid:
                    type: string
                  submitEventRef:
                    type: string
                  version:
                    type: integer
                  phase:
                    type: string
                    enum:
                      - requested
                      - rfp_submitted
                      - winner_selected
                      - accepted
                      - receipt
                      - network
                      - released
                  vmName:
                    type: string
                  requesterDid:
                    type: string
                  marketDid:
                    type: string
                  payload:
                    type: object
                    properties:
                      uri:
                        type: string
                      cid:
                        type: string
                    required:
                      - uri
                      - cid
                  rfp:
                    type: object
                    properties:
                      uri:
                        type: string
                      cid:
                        type: string
                    required:
                      - uri
                      - cid
                  policy:
                    type: object
                    properties:
                      uri:
                        type: string
                      cid:
                        type: string
                    required:
                      - uri
                      - cid
                  bid:
                    type: object
                    properties:
                      uri:
                        type: string
                      cid:
                        type: string
                    required:
                      - uri
                      - cid
                  winner:
                    type: object
                    properties:
                      did:
                        type: string
                      submitAccept:
                        type: string
                    required:
                      - did
                  acceptPending:
                    type: object
                    properties:
                      bidUri:
                        type: string
                    required:
                      - bidUri
                  accept:
                    type: object
                    properties:
                      uri:
                        type: string
                      cid:
                        type: string
                    required:
                      - uri
                      - cid
                  receipt:
                    type: object
                    properties:
                      uri:
                        type: string
                      cid:
                        type: string
                    required:
                      - uri
                      - cid
                  receiptOk:
                    type: boolean
                  vmAddress:
                    type: string
                  networks:
                    type: array
                    items:
                      type: object
                      properties:
                        tag:
                          type: string
                        kind:
                          type: string
                          enum:
                            - iroh
                            - https
                            - webrtc
                        address:
                          type: string
                        at:
                          type: string
                        event:
                          type: object
                          properties:
                            uri:
                              type: string
                            cid:
                              type: string
                          required:
                            - uri
                            - cid
                      required:
                        - tag
                        - address
                        - event
                  bids:
                    type: integer
                  release:
                    type: object
                    properties:
                      event:
                        type: object
                        properties:
                          uri:
                            type: string
                          cid:
                            type: string
                        required:
                          - uri
                          - cid
                      payload:
                        type: object
                        properties:
                          uri:
                            type: string
                          cid:
                            type: string
                        required:
                          - uri
                          - cid
                      ok:
                        type: boolean
                      status:
                        type: integer
                    required:
                      - event
                      - payload
                      - ok
                  termination:
                    type: object
                    properties:
                      reason:
                        type: string
                      exitCode:
                        type: integer
                      observedAt:
                        type: string
                      event:
                        type: object
                        properties:
                          uri:
                            type: string
                          cid:
                            type: string
                        required:
                          - uri
                          - cid
                      payload:
                        type: object
                        properties:
                          uri:
                            type: string
                          cid:
                            type: string
                        required:
                          - uri
                          - cid
                      request:
                        type: object
                        properties:
                          uri:
                            type: string
                          cid:
                            type: string
                        required:
                          - uri
                          - cid
                    required:
                      - reason
                      - observedAt
                      - event
                      - payload
                  hostKeys:
                    type: object
                    properties:
                      keys:
                        type: array
                        items:
                          type: object
                          properties:
                            type:
                              type: string
                            publicKey:
                              type: string
                            fingerprint:
                              type: string
                          required:
                            - type
                            - publicKey
                            - fingerprint
                      observedAt:
                        type: string
                      event:
                        type: object
                        properties:
                          uri:
                            type: string
                          cid:
                            type: string
                        required:
                          - uri
                          - cid
                      payload:
                        type: object
                        properties:
                          uri:
                            type: string
                          cid:
                            type: string
                        required:
                          - uri
                          - cid
                    required:
                      - keys
                      - observedAt
                      - event
                      - payload
                  sandbox:
                    type: object
                    properties:
                      exitCode:
                        type: integer
                      timedOut:
                        type: boolean
                      stdout:
                        type: string
                      stderr:
                        type: string
                      observedAt:
                        type: string
                    required:
                      - exitCode
                  secretsRequested:
                    type: object
                    properties:
                      requestedAt:
                        type: string
                      event:
                        type: object
                        properties:
                          uri:
                            type: string
                          cid:
                            type: string
                        required:
                          - uri
                          - cid
                      payload:
                        type: object
                        properties:
                          uri:
                            type: string
                          cid:
                            type: string
                        required:
                          - uri
                          - cid
                    required:
                      - requestedAt
                      - event
                      - payload
                  secretsApplied:
                    type: object
                    properties:
                      appliedAt:
                        type: string
                      via:
                        type: string
                      count:
                        type: integer
                        format: int64
                      event:
                        type: object
                        properties:
                          uri:
                            type: string
                          cid:
                            type: string
                        required:
                          - uri
                          - cid
                      payload:
                        type: object
                        properties:
                          uri:
                            type: string
                          cid:
                            type: string
                        required:
                          - uri
                          - cid
                    required:
                      - appliedAt
                      - event
                      - payload
                  guestRequester:
                    type: object
                    properties:
                      did:
                        type: string
                      state:
                        type: string
                        enum:
                          - Pending
                          - Verified
                          - Refused
                      message:
                        type: string
                      reportedAt:
                        type: string
                      event:
                        type: object
                        properties:
                          uri:
                            type: string
                          cid:
                            type: string
                        required:
                          - uri
                          - cid
                      payload:
                        type: object
                        properties:
                          uri:
                            type: string
                          cid:
                            type: string
                        required:
                          - uri
                          - cid
                    required:
                      - did
                      - state
                      - reportedAt
                      - event
                      - payload
                  r2Release:
                    type: object
                    properties:
                      phase:
                        type: string
                        enum:
                          - Requested
                          - Released
                          - Failed
                          - TimedOut
                      ok:
                        type: boolean
                      message:
                        type: string
                      requestedAt:
                        type: string
                      answeredAt:
                        type: string
                    required:
                      - phase
                  outcome:
                    type: string
                    enum:
                      - no_bids
                      - bids_denied
                      - policy_rejected
                      - returned
                      - receipt_invalid
                      - network_timeout
                      - complete
                  error:
                    type: string
                  timestamps:
                    type: object
                    properties:
                      requested:
                        type: string
                      rfp_submitted:
                        type: string
                      winner_selected:
                        type: string
                      accepted:
                        type: string
                      receipt:
                        type: string
                      network:
                        type: string
                      released:
                        type: string
              fqdn:
                type: string
              message:
                type: string
              grant:
                type: object
                properties:
                  issuer:
                    type: string
                  subject:
                    type: string
                  audience:
                    type: string
                  role:
                    type: string
                required:
                  - issuer
                  - subject
                  - audience
              secrets:
                type: object
                properties:
                  ingressDid:
                    type: string
                  keyRef:
                    type: string
                  url:
                    type: string
                  servedAt:
                    type: string
                required:
                  - ingressDid
                  - keyRef
                  - url
              joinedAt:
                type: string
              infra:
                type: object
                properties:
                  workspace:
                    type: string
                  name:
                    type: string
                  contract:
                    type: string
                  computeContract:
                    type: string
                required:
                  - workspace
                  - name
                  - contract
                  - computeContract