RouterAccess resource

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.

Metadata properties

name

string
required

The name of the resource.

namespace

string

The namespace of the resource.

Spec properties

roles

array
required

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.

tlsCredentials

string
required

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.

generateTlsCredentials

boolean

When set, Skupper generates the TLS credentials to be stored in the Secret specified by tlsCredentials. See also issuer.

DefaultFalse

issuer

string

The name of the Kubernetes Secret containing the signing CA used to generate TLS certificates for the RouterAccess when generateTlsCredentials is set.

accessType

string

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.

Default

On OpenShift, the default is route. For other Kubernetes flavors, the default is loadbalancer.

Choices
route

Use an OpenShift route. OpenShift only.

loadbalancer

Use a Kubernetes load balancer.

bindHost

string

The hostname or IP address of the network interface to bind to. By default, Skupper binds all the interfaces on the host.

Default

0.0.0.0

subjectAlternativeNames

array

The hostnames and IPs secured by the router TLS certificate.

Default

The current hostname and the IP address of each bound network interface

Status properties

status

string

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.

message

string

A human-readable status message. Error messages are reported here.