~ knotless Search/
↑↓ move↵ open⇧↵ all results
0
0
main
144 lines · 4.2 KB Raw History
apiVersion: apis.kcp.io/v1alpha1
kind: APIResourceSchema
metadata:
  name: v1alpha1-3.componentlinks.exposure.socialweb.computer
spec:
  group: exposure.socialweb.computer
  names:
    kind: ComponentLink
    listKind: ComponentLinkList
    plural: componentlinks
    singular: componentlink
  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:
              from:
                type: object
                properties:
                  ref:
                    type: object
                    properties:
                      group:
                        type: string
                      kind:
                        type: string
                        maxLength: 63
                      name:
                        type: string
                        maxLength: 253
                      workspace:
                        type: string
                    required:
                      - kind
                      - name
                  selector:
                    type: object
                    properties:
                      group:
                        type: string
                      kind:
                        type: string
                      workspace:
                        type: string
                      matchLabels:
                        type: object
                        additionalProperties:
                          type: string
                      matchExpressions:
                        type: array
                        items:
                          type: object
                          properties:
                            key:
                              type: string
                            operator:
                              type: string
                              enum:
                                - In
                                - NotIn
                                - Exists
                                - DoesNotExist
                            values:
                              type: array
                              items:
                                type: string
                          required:
                            - key
                            - operator
                    required:
                      - kind
              to:
                type: object
                properties:
                  group:
                    type: string
                  kind:
                    type: string
                    maxLength: 63
                  name:
                    type: string
                    maxLength: 253
                  workspace:
                    type: string
                required:
                  - kind
                  - name
              capabilities:
                type: array
                items:
                  type: object
                  properties:
                    name:
                      type: string
                    scope:
                      type: array
                      items:
                        type: string
                  required:
                    - name
              suspend:
                type: boolean
            required:
              - from
              - to
              - capabilities
          status:
            type: object
            properties:
              observedGeneration:
                type: integer
                format: int64
              conditions:
                type: array
                items:
                  type: object
                  x-kubernetes-preserve-unknown-fields: true
      additionalPrinterColumns:
        - name: To Kind
          type: string
          jsonPath: .spec.to.kind
        - name: To
          type: string
          jsonPath: .spec.to.name
        - name: Suspend
          type: boolean
          jsonPath: .spec.suspend
        - name: Age
          type: date
          jsonPath: .metadata.creationTimestamp