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 |
|---|---|---|---|
|
string |
||
|
object |
GatewaySelector finds the gateway pods that must be allowed through the NetworkPolicy. |
|
|
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. |
|
|
[]object |
matchExpressions is a list of label selector requirements. The requirements are ANDed. |
|
|
string |
key is the label key that the selector applies to. |
|
|
string |
operator represents a key’s relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. |
|
|
[]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. |
|
|
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. |
|
|
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. |
|
|
[]object |
matchExpressions is a list of label selector requirements. The requirements are ANDed. |
|
|
string |
key is the label key that the selector applies to. |
|
|
string |
operator represents a key’s relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. |
|
|
[]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. |
|
|
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. |
|
|
integer |
MaxListenersPerShard is operator policy. 0 means the API’s own limit of 64, not unlimited. |
|
|
object |
ParentRef names the Gateway an HTTP exposure attaches to. |
|
|
string |
Validation: min length 1 |
|
|
string |
||
|
object |
PortRange is the inclusive range a TCP exposure may be allocated from. |
|
|
integer |
Validation: minimum 1; maximum 65535 |
|
|
integer |
Validation: minimum 1; maximum 65535 |
|
|
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. |
|
|
[]object |
matchExpressions is a list of label selector requirements. The requirements are ANDed. |
|
|
string |
key is the label key that the selector applies to. |
|
|
string |
operator represents a key’s relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. |
|
|
[]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. |
|
|
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. |
|
|
[]enum: HTTP, HTTPS, TCP |
Validation: min items 1 |
|
|
object |
ExposureTLS says who terminates TLS and, when sigillum does, with what. |
|
|
object |
IssuerRef names the cert-manager issuer for TLSModePerExposure. |
|
|
enum: Issuer, ClusterIssuer |
||
|
string |
Validation: min length 1 |
|
|
enum: GatewayTerminated, PerExposure |
TLSMode is who terminates TLS for an exposure. |
|
|
enum: Gateway |
ExposureType is how an ExposureClass gets traffic into the cluster. |
NetworkConfig
sigillum.helmetica.io/v1, namespaced
NetworkConfig is sigillum’s placeholder resource.
Spec
| Path | Type | Default | Description |
|---|---|---|---|
|
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. |
|
|
[]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. |
|
|
[]object |
Expose asks for ways into this namespace from outside the cluster. |
|
|
object |
Backend names the in-namespace service an exposure points at. |
|
|
integer |
Validation: minimum 1; maximum 65535 |
|
|
string |
Validation: min length 1; max length 63; pattern |
|
|
string |
Empty means the class named after this exposure’s protocol, lowercased. |
|
|
string |
Name identifies the exposure within this NetworkConfig. It becomes the listener and route name, so it has to be a DNS label. |
|
|
enum: HTTP, HTTPS, TCP |
Protocol is what an exposure carries. |
|
|
string |
Empty means no subdomain label. HTTP and HTTPS only. |
Status
| Path | Type | Default | Description |
|---|---|---|---|
|
[]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". |
|
|
string |
||
|
string |
||
|
integer |
ConflictCount stops a re-allocation loop when the gateway controller keeps rejecting the port it was given. |
|
|
string |
||
|
string |
||
|
string |
Validation: min length 1; max length 63 |
|
|
integer |
Validation: minimum 1; maximum 65535 |
|
|
boolean |
||
|
string |
||
|
string |
||
|
string |
Message explains a Failed phase. |
|
|
integer |
ObservedGeneration is the spec generation the phase was computed from. |
|
|
string |