As of Airlock Microgateway 4.2, Airlock Microgateway Operator is installed via Helm. To verify whether the installation was successful, a helm test
is integrated in the Airlock Microgateway Operator installation procedure (see also Install the Airlock Microgateway Operator). This article explains what to do when this helm test
failed.
You can find the Airlock Microgateway Helm charts here:
The helm test
of checks whether the previously installed Microgateway Operator is up and running as expected. The tested setup resembles a basic Airlock Microgateway environment, including the Microgateway Operator and a Web application Pod (it is assumed that the Microgateway CNI is already installed).
- The
helm test
includes the following steps: - Cleaning up Web application Pods that were possibly leftover from previous (test) runs.
- Creating a Web application Pod for testing purposes.
- Checking that the Microgateway Operator injected the Microgateway Engine sidecar container into the Web application Pod. The injection should have been triggered by the previous step.
- Verifying the Airlock Microgateway license.
- Generating and applying a basic CustomResource
SidecarGateway
to the Web application Pod for testing purposes. - Verifying that the Web application Pod and the Microgateway Engine are up and working.
- Sending a valid request and verifying that it correctly returns HTTP status code
200 OK
. - Sending a request with an injection attack and verifying that it is blocked returning HTTP status code
400 Bad Request
.
On successful helm test
and with Airlock Microgateway running as expected, the message Installation of airlock-microgateway.<full name> succeeded
is displayed at the bottom of the test log. On failure, the log will contain a failure message, such as Timeout occurred
, Pod not ready
or Sidecar container not injected
.
The failure message Microgateway license is missing or invalid
may occur when upgrading to Airlock Microgateway 4.2 due to a change of the license format. If your current license is incompatible with the new format, update the license. For more information, go to Configuration and monitoring of licenses.
The failure message will also occur when more than 3 Microgateway Engine sidecars have been deployed and an Airlock Microgateway Community edition is used. Check the number of deployed sidecars and consider either upgrading to a Premium edition license or removing the excess sidecars. For more information, go to Airlock Microgateway license editions and support.
To tackle all other failure messages, proceed with the next section.