Parameters
The parent key for all of the following parameters is airlock_microgateway
.
namespace
type |
string |
default |
|
The namespace in which to deploy this component.
install_method
type |
string |
default |
|
possible values |
|
The installation method for Airlock Microgateway.
olm
will create a subscription for the Airlock Microgateway from catalog.redhat.com/software/container-stacks/detail/67177f927cfedb209761e48f?gs=&q=airlock&rh-tabs-5gjs77yz5=rh-tab-3tk92bl2m#overview.
If you use this method, you may want to configure olm
.
Openshift is required for this to work.
helm
will install airlock-microgateway from the official helm chart.
If you use this method, you may want to configure helm_values
.
gateway_listener_manager
type |
object |
Configuration for the Gateway Listener Manager.
Gateway Listener Manager allows merging multiple gateway listeners, based on HTTPRoutes
into a single gateway.
See Manage Gateway Listeners through HTTPRoutes for more details.
httproute_certificate_manager
type |
object |
Configuration for the HTTPRoute Certificate Manager.
HTTPRoute Certificate Manager allows automatic management of TLS certificates for HTTPRoute
resources using cert-manager.
See Manage Gateway Listeners through HTTPRoutes for more details.
tls_secret_name_annotation
type |
string |
default |
|
The annotation to use on HTTPRoute
resources to specify the name of the TLS secret to create the certificate in.
create_certificate_annotation
type |
string |
default |
|
The annotation to use on HTTPRoute
resources to create a certificate automatically.
Must be set to ANNOTATION: "true"
in the resource annotations.
gateway_default_cluster_issuer_annotation
type |
string |
default |
|
The annotation to use on parent Gateway
resources to specify the default cluster issuer for certificates.
If the resource has no issuer_annotation
or cluster_issuer_annotation
, this cluster issuer will be used.
gateway_api
airlock_xopenshift
type |
object |
Configuration for deploying patched Gateway API CRDs on OpenShift.
This parameter allows us to deploy copies of upstream Gateway API CRDs in API group x-openshift.microgateway.airlock.com
.
This allows us — by leveraging Airlock Mircogateway’s support for CRDs in that API group — to deploy additional Gateway API CRDs on OpenShift without creating conflicts with the ingress-operator-managed Gateway API CRDs that are deployed on OpenShift >= 4.19.
This parameter only has an effect for install_method=olm
.
version
type |
string |
default |
|
The upstream Gateway API version of the CRDs that we want to patch.
channel
type |
string |
default |
|
The upstream Gateway API channel for the CRDs to patch.
Supported values are standard
or experimental
.
Component compilation will error when another value is provided.
crds
type |
object |
default |
|
The list of CRD names for which the component will deploy a copy of the CRD in API group x-openshift.microgateway.airlock.com
.
The keys are expected to be CRD base names, such as backendtlspolicies
.
The component will always download the full <channel>-install.yaml
from the specified Gateway API release but will only create copies of CRDs whose base name matches a key with a non-null value in this parameter.
The values are expected to be the identifying segment for the OLM operator environment variable which switches the CRD from API group gateway.networking.k8s.io
to x-openshift.microgateway.airlock.com
.
For example, value BACKEND_TLS_POLICY
results in environment variable GATEWAY_API_BACKEND_TLS_POLICY_API_GROUP=x-openshift.microgateway.airlock.com
to be set for the OLM operator.
Users can remove entries in this parameter by setting an entry to null
.
gateway_classes
type |
object |
Configuration for Gateway Classes.
gateway_classes.<name>.parametersRef
type |
string |
A reference to a Gateway Parameters object, defined in gateway_parameters
.
Example
airlock_microgateway:
gateway_classes:
my-gateway-class:
spec:
controllerName: microgateway.airlock.com/gatewayclass-controller
parametersRef:
group: microgateway.airlock.com
kind: GatewayParameters
name: gatewayparameter-mgw-poc
namespace: airlock-gateway
my-other-gateway-class:
parametersRef: airlock
gateway_parameters:
airlock: ...
gateways
type |
object |
default |
|
This parameter allows users to define Gateway
resources to deploy.
The component currently doesn’t validate that the value of spec.gatewayClassName
is a gateway class that’s managed through parameter gateway_classes
.
Airlock Microgateway also supports referencing a GatewayParameters
resource directly in spec.infrastructure.parametersRef
.
If both spec.gatewayClassName
and spec.infrastructure.parametersRef
are provided, the instance is configured with the parameters referenced in spec.infrastructure.parametersRef
.
See the Gateway API and Airlock Microgateway documentation for a full reference of supported configuration options for Gateway
resources.
When component cilium is installed in the cluster, the component also creates a CiliumNetworkPolicy which allows traffic from identity world for each managed Gateway resource.
|
Example
airlock_microgateway:
gateways:
airlock/gateway-1:
spec:
gatewayClassName: airlock-microgateway
listeners:
- allowedRoutes:
namespaces:
from: All
name: http
port: 80
protocol: HTTP
gateway_parameters:
airlock/gatewayparams: { ... }
gateway_classes:
airlock-microgateway:
parametersRef: "airlock/gatewayparams"
alerts
type |
object |
This parameter allows users to disable or patch alerts managed by the component.
The component currently expects that an openshift4-monitoring -style alert patching library is available for the target cluster’s distribution’s monitoring stack.
|
alerts.ignoreNames
type |
list |
default |
|
Users can add alert names which they want to disable in this list.
helm_values
type |
object |
default |
operator:
gatewayAPI:
enabled: true
podMonitor:
create: true
labels:
release: "kube-prometheus-stack"
serviceMonitor:
create: true
labels:
release: "kube-prometheus-stack"
dashboards:
create: true
Configuration values for the Helm chart installation. See the official Airlock documentation for more details: docs.airlock.com/microgateway/4.5/index/1726159368039.html
Example
parameters:
airlock_microgateway:
namespace: syn-airlock-microgateway
install_method: helm
license: |
-----BEGIN LICENSE-----
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAA==
-----END LICENSE-----
-- Airlock Microgateway --
License Type Premium
ID aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee
Owner OWNER
Trial true
Email foo@foo.bar
Environment Temporary
Valid Until 2025-06-30
Requests per Month 10000000
Module Base on
Module Auth on
---------------------
network_policy:
namespace_selector:
matchLabels:
'appuio.ch/waf': 'airlock'
gateway_api:
enabled: true
version: "v1.2.1"
charts:
microgateway:
version: "4.5.3"