Skupper CRD: routeraccesses-skupper-io

Source: human/skupper/config/crd/bases/skupper_router_access_crd.yaml

apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
  name: routeraccesses.skupper.io
spec:
  group: skupper.io
  versions:
    - name: v2alpha1
      served: true
      storage: true
      schema:
        openAPIV3Schema:
          description: |-
            Configuration for secure access to the site router.  The
            configuration includes TLS credentials and router ports.  The
            RouterAccess resource is used to implement link access for sites.
          type: object
          properties:
            spec:
              type: object
              properties:
                roles:
                  description: |-
                    The named interfaces by which a router can be accessed.  These
                    include "inter-router" for links between interior routers and
                    "edge" for links from edge routers to interior routers.
                  type: array
                  items:
                    type: object
                    properties:
                      name:
                        description: The role name. Either "inter-router" or "edge".
                        type: string
                      port:
                        description: The port for the router to bind. Must not conflict with another role.
                        type: integer
                    required:
                      - name
                generateTlsCredentials:
                  description: |-
                    When set, Skupper generates the TLS credentials to be
                    stored in the Secret specified by `tlsCredentials`. See
                    also `issuer`.
                  type: boolean
                issuer:
                  type: string
                  description: |-
                    The name of the Kubernetes Secret containing the signing CA
                    used to generate TLS certificates for the RouterAccess when
                    `generateTlsCredentials` is set.
                accessType:
                  description: |-
                    Configures the access type for the router endpoints.
                    Available access types and the default selection is
                    configured on the Skupper controller for Kubernetes.
 
                    Additional options when enabled on the Skupper controller include:
                      - `local`: No external ingress. Implies a Kubernetes Service with type ClusterIP.
                      - `route`: Exposed via an OpenShift Route.
                      - `loadbalancer`: Exposed via a Kubernetes Service with type LoadBalancer.
                      - `ingress`: Exposed via a Kubernetes Ingress (no nginx-specific annotations).
                      - `ingress-nginx`: Exposed via Ingress with the NGINX Ingress Controller annotations.
 
                    To select which IngressClass handles Skupper-managed Ingress resources, set
                    controller flag/env `SKUPPER_INGRESS_CLASS_NAME` or per-site
                    `spec.settings.ingressClassName` on this resource.
                  type: string
                tlsCredentials:
                  description: |-
                    The name of a bundle of TLS certificates used for mutual TLS
                    router-to-router communication.  The bundle contains the
                    server certificate and key and the trusted client certificate
                    (usually a CA).
 
                    On Kubernetes, the value is the name of a Secret in the
                    current namespace.
 
                    On Docker, Podman, and Linux, the value is the name of a
                    directory under `input/certs/` in the current namespace.
                  type: string
                bindHost:
                  description: |-
                    The hostname or IP address of the network interface to bind
                    to.  By default, Skupper binds all the interfaces on the host.
                  type: string
                subjectAlternativeNames:
                  type: array
                  description: |-
                    The hostnames and IPs secured by the router TLS certificate.
                  items:
                    type: string
                settings:
                  description: |-
                    Advanced. A map containing additional settings. Each map
                    entry has a string name and a string value.
 
                    For access types `ingress` and `ingress-nginx`, the key
                    `ingressClassName` sets `spec.ingressClassName` on the managed
                    Ingress (overrides the controller-wide default).
 
                    **Note:** In general, we recommend not changing `settings`
                    from their default values except when required.
                  type: object
                  additionalProperties:
                    type: string
              required:
              - roles
              - tlsCredentials
            status:
              type: object
              properties:
                status:
                  description: |-
                    The current state of the resource.
                     - `Pending`: The resource is being processed.
                     - `Error`: There was an error processing the resource. See `message` for more information.
                     - `Ready`: The resource is ready to use.
                  type: string
                message:
                  description: |-
                    A human-readable status message. Error messages are reported here.
                  type: string
                conditions:
                  type: array
                  description: |-
                    A set of named conditions describing the current state of the resource.
 
                     - `Configured`: The output resources for this resource have been created.
                     - `Resolved`: The connection endpoints are available.
                     - `Ready`: The router access is ready for use. All other conditions are true.
                  items:
                    type: object
                    properties:
                      lastTransitionTime:
                        format: date-time
                        type: string
                      message:
                        maxLength: 32768
                        type: string
                      observedGeneration:
                        format: int64
                        minimum: 0
                        type: integer
                      reason:
                        maxLength: 1024
                        minLength: 1
                        pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
                        type: string
                      status:
                        enum:
                        - "True"
                        - "False"
                        - Unknown
                        type: string
                      type:
                        maxLength: 316
                        pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
                        type: string
                    required:
                    - lastTransitionTime
                    - message
                    - reason
                    - status
                    - type
                endpoints:
                  type: array
                  description: |-
                    An array of connection endpoints.  Each item has a name, host,
                    port, and group.
                  items:
                    type: object
                    properties:
                      name:
                        type: string
                      host:
                        type: string
                      port:
                        type: string
                      group:
                        type: string
      subresources:
        status: {}
      additionalPrinterColumns:
      - name: Status
        type: string
        description: The status of the router access
        jsonPath: .status.status
      - name: Message
        type: string
        description: Any relevant human readable message
        jsonPath: .status.message
  scope: Namespaced
  names:
    plural: routeraccesses
    singular: routeraccess
    kind: RouterAccess