~ knotless Search/
↑↓ move↵ open⇧↵ all results
0
0
main
81 lines · 2.0 KB Raw History
apiVersion: apis.kcp.io/v1alpha1
kind: APIResourceSchema
metadata:
  name: v1alpha1-1.hostreleases.socialweb.computer
spec:
  group: socialweb.computer
  names:
    kind: HostRelease
    listKind: HostReleaseList
    plural: hostreleases
    singular: hostrelease
  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:
              version:
                type: string
              prune:
                type: boolean
            required:
              - version
          status:
            type: object
            properties:
              observedGeneration:
                type: integer
                format: int64
              current:
                type: string
              previous:
                type: array
                items:
                  type: string
              selfCheck:
                type: object
                properties:
                  phase:
                    type: string
                  message:
                    type: string
                  at:
                    type: string
              gc:
                type: object
                properties:
                  removed:
                    type: array
                    items:
                      type: string
                  kept:
                    type: integer
                    format: int64
                  at:
                    type: string
              conditions:
                type: array
                items:
                  type: object
                  x-kubernetes-preserve-unknown-fields: true
      additionalPrinterColumns:
        - name: Current
          type: string
          jsonPath: .status.current
        - name: Age
          type: date
          jsonPath: .metadata.creationTimestamp