API reference

ExposureClass

sigillum.helmetica.io/v1, cluster

ExposureClass describes how one protocol reaches the outside world.

An exposure that names no class falls back to the class named after its protocol, lowercased: TCP looks for "tcp", HTTPS for "https". There is no default flag, so two classes can never both claim a protocol.

Spec

Path Type Default Description

spec.domain

string

spec.gatewaySelector

object

GatewaySelector finds the gateway pods that must be allowed through the NetworkPolicy.

spec.gatewaySelector.namespaceSelector

object

A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.

spec.gatewaySelector.namespaceSelector.matchExpressions

[]object

matchExpressions is a list of label selector requirements. The requirements are ANDed.

spec.gatewaySelector.namespaceSelector.matchExpressions[].key (required)

string

key is the label key that the selector applies to.

spec.gatewaySelector.namespaceSelector.matchExpressions[].operator (required)

string

operator represents a key’s relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.

spec.gatewaySelector.namespaceSelector.matchExpressions[].values

[]string

values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.

spec.gatewaySelector.namespaceSelector.matchLabels

map[string]string

matchLabels is a map of \{key,value} pairs. A single \{key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.

spec.gatewaySelector.podSelector

object

A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.

spec.gatewaySelector.podSelector.matchExpressions

[]object

matchExpressions is a list of label selector requirements. The requirements are ANDed.

spec.gatewaySelector.podSelector.matchExpressions[].key (required)

string

key is the label key that the selector applies to.

spec.gatewaySelector.podSelector.matchExpressions[].operator (required)

string

operator represents a key’s relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.

spec.gatewaySelector.podSelector.matchExpressions[].values

[]string

values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.

spec.gatewaySelector.podSelector.matchLabels

map[string]string

matchLabels is a map of \{key,value} pairs. A single \{key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.

spec.maxListenersPerShard

integer

MaxListenersPerShard is operator policy. 0 means the API’s own limit of 64, not unlimited.
Validation: minimum 0; maximum 64

spec.parentRef

object

ParentRef names the Gateway an HTTP exposure attaches to.

spec.parentRef.name (required)

string

Validation: min length 1

spec.parentRef.namespace

string

spec.portRange

object

PortRange is the inclusive range a TCP exposure may be allocated from.
Validation: to must not be below from

spec.portRange.from (required)

integer

Validation: minimum 1; maximum 65535

spec.portRange.to (required)

integer

Validation: minimum 1; maximum 65535

spec.shardSelector

object

A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.

spec.shardSelector.matchExpressions

[]object

matchExpressions is a list of label selector requirements. The requirements are ANDed.

spec.shardSelector.matchExpressions[].key (required)

string

key is the label key that the selector applies to.

spec.shardSelector.matchExpressions[].operator (required)

string

operator represents a key’s relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.

spec.shardSelector.matchExpressions[].values

[]string

values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.

spec.shardSelector.matchLabels

map[string]string

matchLabels is a map of \{key,value} pairs. A single \{key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.

spec.supports (required)

[]enum: HTTP, HTTPS, TCP

Validation: min items 1

spec.tls

object

ExposureTLS says who terminates TLS and, when sigillum does, with what.

spec.tls.issuerRef

object

IssuerRef names the cert-manager issuer for TLSModePerExposure.

spec.tls.issuerRef.kind

enum: Issuer, ClusterIssuer

spec.tls.issuerRef.name (required)

string

Validation: min length 1

spec.tls.mode (required)

enum: GatewayTerminated, PerExposure

TLSMode is who terminates TLS for an exposure.

spec.type (required)

enum: Gateway

ExposureType is how an ExposureClass gets traffic into the cluster.
Ingress and LoadBalancer are out of scope, so the enum does not offer them.

NetworkConfig

sigillum.helmetica.io/v1, namespaced

NetworkConfig is sigillum’s placeholder resource.

Spec

Path Type Default Description

spec.allowAllNamespaces

boolean

AllowAllNamespaces allows access from every namespace in the cluster, effectively disabling the NetworkPolicy. It overrides AllowedNamespaces and the claim namespace. Traffic from outside the cluster stays blocked.

spec.allowedNamespaces

[]string

AllowedNamespaces names the namespaces that may reach this one, on top of the claim namespace the network config’s own namespace is annotated with. Ignored when AllowAllNamespaces is true.

spec.expose

[]object

Expose asks for ways into this namespace from outside the cluster.
listType=map makes the API server reject duplicate names and makes server-side apply merge per entry rather than replacing the whole list.

spec.expose[].backend (required)

object

Backend names the in-namespace service an exposure points at.

spec.expose[].backend.port (required)

integer

Validation: minimum 1; maximum 65535

spec.expose[].backend.service (required)

string

Validation: min length 1; max length 63; pattern ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$

spec.expose[].exposureClass

string

Empty means the class named after this exposure’s protocol, lowercased.

spec.expose[].name (required)

string

Name identifies the exposure within this NetworkConfig. It becomes the listener and route name, so it has to be a DNS label.
Validation: min length 1; max length 63; pattern ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$

spec.expose[].protocol (required)

enum: HTTP, HTTPS, TCP

Protocol is what an exposure carries.

spec.expose[].subdomain

string

Empty means no subdomain label. HTTP and HTTPS only.

Status

Path Type Default Description

status.exposures

[]object

Exposures reports one entry per Expose entry, in spec order. Every requested exposure appears here from the first reconcile, even before its class resolves: an empty list would read as "nothing was requested".

status.exposures[].address

string

status.exposures[].class

string

status.exposures[].conflictCount

integer

ConflictCount stops a re-allocation loop when the gateway controller keeps rejecting the port it was given.
Validation: minimum 0

status.exposures[].hostname

string

status.exposures[].message

string

status.exposures[].name (required)

string

Validation: min length 1; max length 63

status.exposures[].port

integer

Validation: minimum 1; maximum 65535

status.exposures[].ready (required)

boolean

status.exposures[].shard

string

status.exposures[].url

string

status.message

string

Message explains a Failed phase.

status.observedGeneration

integer

ObservedGeneration is the spec generation the phase was computed from.

status.phase

string