~ knotless Search/
↑↓ move↵ open⇧↵ all results
0
0
main
490 lines · 15.2 KB Raw History
apiVersion: apis.kcp.io/v1alpha1
kind: APIResourceSchema
metadata:
  name: v1alpha1-12.ingressproxies.socialweb.computer
spec:
  group: socialweb.computer
  names:
    kind: IngressProxy
    listKind: IngressProxyList
    plural: ingressproxies
    singular: ingressproxy
  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:
              suspend:
                type: boolean
              restartedAt:
                type: string
              restartPolicy:
                type: string
                enum:
                  - Never
                  - OnFailure
                  - Always
              stateDir:
                type: string
              network:
                type: object
                properties:
                  plcDirectoryUrl:
                    type: string
                  ingressProxyHost:
                    type: string
                  qrOrigin:
                    type: string
                  caBundle:
                    type: string
                  hosts:
                    type: array
                    items:
                      type: object
                      properties:
                        name:
                          type: string
                        address:
                          type: string
                      required:
                        - name
                        - address
                    x-kubernetes-list-type: map
                    x-kubernetes-list-map-keys:
                      - name
                  comms:
                    type: object
                    properties:
                      mode:
                        type: string
                        enum:
                          - XRPC
                          - Firehose
                          - Both
                      eventSourceRefs:
                        type: array
                        items:
                          type: object
                          properties:
                            group:
                              type: string
                            kind:
                              type: string
                              maxLength: 63
                            name:
                              type: string
                              maxLength: 253
                            workspace:
                              type: string
                          required:
                            - kind
                            - name
                      relayUrls:
                        type: array
                        items:
                          type: string
                      jetstreamUrls:
                        type: array
                        items:
                          type: string
                  ingress:
                    type: object
                    properties:
                      provider:
                        type: string
                        enum:
                          - webrtc
                          - xrpc-subscription
                          - opentunnel
                          - iroh
                      ingressRef:
                        type: object
                        properties:
                          group:
                            type: string
                          kind:
                            type: string
                            maxLength: 63
                          name:
                            type: string
                            maxLength: 253
                          workspace:
                            type: string
                        required:
                          - kind
                          - name
                      publicHost:
                        type: string
                      xrpc:
                        type: object
                        properties:
                          ingressProxyHost:
                            type: string
                          relayURL:
                            type: string
                          relayRef:
                            type: object
                            properties:
                              group:
                                type: string
                              kind:
                                type: string
                                maxLength: 63
                              name:
                                type: string
                                maxLength: 253
                              workspace:
                                type: string
                            required:
                              - kind
                              - name
                          identityRef:
                            type: object
                            properties:
                              group:
                                type: string
                              kind:
                                type: string
                                maxLength: 63
                              name:
                                type: string
                                maxLength: 253
                              workspace:
                                type: string
                            required:
                              - kind
                              - name
                      opentunnel:
                        type: object
                        properties:
                          command:
                            type: array
                            items:
                              type: string
                          routeName:
                            type: string
                            maxLength: 63
                            pattern: ^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$
                          proxyProtocol:
                            type: string
                            enum:
                              - v1
                              - v2
                          localHost:
                            type: string
                      webrtc:
                        type: object
                        properties:
                          stunUrls:
                            type: array
                            items:
                              type: string
                          sessionTtlSeconds:
                            type: integer
                            format: int32
                            default: 600
                            minimum: 1
                          maxSessions:
                            type: integer
                            format: int32
                            default: 64
                            minimum: 1
                  discoveryRelays:
                    type: array
                    items:
                      type: string
                required:
                  - plcDirectoryUrl
                  - ingressProxyHost
                  - qrOrigin
              limits:
                type: object
                properties:
                  cpuMillicores:
                    type: integer
                    format: int32
                  memoryBytes:
                    type: integer
                    format: int64
                  diskBytes:
                    type: integer
                    format: int64
              tls:
                type: object
                properties:
                  enabled:
                    type: boolean
                  hostnames:
                    type: array
                    items:
                      type: string
                  certRef:
                    type: string
                  caBundle:
                    type: string
                  caRef:
                    type: object
                    properties:
                      group:
                        type: string
                      kind:
                        type: string
                        maxLength: 63
                      name:
                        type: string
                        maxLength: 253
                      workspace:
                        type: string
                    required:
                      - kind
                      - name
              serviceAuth:
                type: object
                properties:
                  issuer:
                    type: string
                  audience:
                    type: array
                    items:
                      type: string
                  hostname:
                    type: string
                  keyRef:
                    type: string
              provider:
                type: string
                enum:
                  - xrpc-subscription
                  - iroh
                  - opentunnel
              identity:
                type: object
                properties:
                  marketIdentityRef:
                    type: object
                    properties:
                      group:
                        type: string
                      kind:
                        type: string
                        maxLength: 63
                      name:
                        type: string
                        maxLength: 253
                      workspace:
                        type: string
                    required:
                      - kind
                      - name
                  did:
                    type: string
                  handle:
                    type: string
              vaultRef:
                type: object
                properties:
                  group:
                    type: string
                  kind:
                    type: string
                    maxLength: 63
                  name:
                    type: string
                    maxLength: 253
                  workspace:
                    type: string
                required:
                  - kind
                  - name
              relayRef:
                type: object
                properties:
                  group:
                    type: string
                  kind:
                    type: string
                    maxLength: 63
                  name:
                    type: string
                    maxLength: 253
                  workspace:
                    type: string
                required:
                  - kind
                  - name
              relayURL:
                type: string
              ingressProxyHost:
                type: string
              identityRef:
                type: object
                properties:
                  group:
                    type: string
                  kind:
                    type: string
                    maxLength: 63
                  name:
                    type: string
                    maxLength: 253
                  workspace:
                    type: string
                required:
                  - kind
                  - name
              publicHost:
                type: string
              hostnames:
                type: array
                items:
                  type: string
              storage:
                type: object
                properties:
                  dataDir:
                    type: string
                  blobsDir:
                    type: string
                  certsDir:
                    type: string
              serve:
                type: object
                default: {}
                properties:
                  host:
                    type: string
                    default: 127.0.0.1
                  port:
                    type: integer
                    format: int32
                    minimum: 0
                    maximum: 65535
                  healthPath:
                    type: string
              iroh:
                type: object
                properties:
                  dumbpipePath:
                    type: string
                  relayURL:
                    type: string
                  listenHost:
                    type: string
              opentunnel:
                type: object
                properties:
                  command:
                    type: array
                    items:
                      type: string
                  routeName:
                    type: string
                    maxLength: 63
                    pattern: ^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$
                  proxyProtocol:
                    type: string
                    enum:
                      - v1
                      - v2
                  localHost:
                    type: string
              relayTimeoutMilliseconds:
                type: integer
                format: int32
                default: 30000
                minimum: 1
              keepaliveMilliseconds:
                type: integer
                format: int32
                default: 5000
                minimum: 1
              keepaliveTimeoutMilliseconds:
                type: integer
                format: int32
                default: 5000
                minimum: 1
              reconnectGraceMilliseconds:
                type: integer
                format: int32
                minimum: 0
              nonceTTLMilliseconds:
                type: integer
                format: int32
                default: 60000
                minimum: 1
          status:
            type: object
            properties:
              observedGeneration:
                type: integer
                format: int64
              phase:
                type: string
                enum:
                  - Pending
                  - Starting
                  - Running
                  - Ready
                  - Failed
                  - Stopping
                  - Suspended
              ready:
                type: boolean
              endpoint:
                type: string
              endpoints:
                type: array
                items:
                  type: object
                  properties:
                    name:
                      type: string
                    url:
                      type: string
                    address:
                      type: string
                    protocol:
                      type: string
                  required:
                    - name
              message:
                type: string
              restarts:
                type: integer
                format: int32
              startedAt:
                type: string
              conditions:
                type: array
                items:
                  type: object
                  x-kubernetes-preserve-unknown-fields: true
            required:
              - ready
      additionalPrinterColumns:
        - name: Phase
          type: string
          jsonPath: .status.phase
        - name: Ready
          type: boolean
          jsonPath: .status.ready
        - name: Endpoint
          type: string
          jsonPath: .status.endpoint
        - name: Age
          type: date
          jsonPath: .metadata.creationTimestamp