For the complete documentation index, see llms.txt. Markdown versions of all docs pages are available by appending .md to any docs URL.
FIPS images
Install FIPS 140-3 validated images for Solo Enterprise for kgateway, and let the control plane select matching FIPS images for the workloads that it manages.
Solo provides FIPS variants of the Solo Enterprise for kgateway images for environments that must meet the National Institute of Standards and Technology (NIST) Federal Information Processing Standards (FIPS). When you install a FIPS control plane, that control plane selects the FIPS variant of every workload that it manages, so that a single installation choice covers the whole deployment.
Important
Automatic FIPS image selection was added in version 2.3.4. In versions 2.3.0 through 2.3.3, set the repository for each workload yourself, as described in Deploy a specific image variant.
About FIPS images
In version 2.3.4 and later, the FIPS images are built against Go’s validated FIPS 140-3 Cryptographic Module, version v1.0.0. Versions 2.3.0 through 2.3.3 built the same binaries with Go+BoringCrypto, which is validated to FIPS 140-2.
Version v1.0.0 of Go’s FIPS 140-3 Cryptographic Module is covered by Cryptographic Module Validation Program (CMVP) certificate #5247.
The FIPS images run with fips140=on, which enables the validated module. The images also support GODEBUG=fips140=only, which rejects any cryptographic operation that the validated module does not approve. Use fips140=only to verify an installation rather than as a steady-state setting, because a rejected operation fails the request that needs it.
Important
FIPS is a property of the images that you install, not a field that you set on a resource. No EnterpriseKgatewayParameters field turns FIPS on or off. To run FIPS, install the FIPS control plane image, as described in Install the FIPS control plane.
How the control plane selects FIPS images
You set the FIPS repository on the control plane controller image only. A FIPS control plane then selects the FIPS repository for each workload that it manages, such as the proxy, the Secret Discovery Service (SDS) sidecar, and the external auth, rate limit, and Web Application Firewall (WAF) servers, so you do not set the repository for each of these images yourself.
For each workload, the control plane uses the first repository that it finds in the following order.
- A repository that you set on a EnterpriseKgatewayParameters resource, such as in the
spec.kube.envoyContainer.image.repositoryfield. This setting is more specific than the control plane default, so it always wins, and the control plane uses it exactly as you set it. - The default repository plus a
-fipssuffix, such asenvoy-wrapper-fips, when the control plane runs the FIPS image. - The default repository, such as
envoy-wrapper, when the control plane runs the standard image.
The Helm chart has no values for the data plane image repositories, so a EnterpriseKgatewayParameters resource is the only place to override them. Keep the following points in mind when you plan an installation.
- The control plane never adds
-fipsto a repository that you set. This behavior keeps mirrored, air-gapped, and upstream configurations working. If you set a repository on a FIPS control plane, you must set the-fipsrepository, such asenvoy-wrapper-fips, or that workload runs a standard image. - The control plane never adds a second
-fipssuffix. A repository that already ends in-fipsis used as is. - The control plane changes the repository only. The registry and the tag that you set are used as is.
FIPS image repositories
Every first-party FIPS image uses the same repository name as its standard counterpart, plus a -fips suffix. The images share the registry and tag of the release that they belong to. You set only the control plane controller and the portal controller repositories yourself. The controllers select the other repositories, as described in How the control plane selects FIPS images. Use this table to mirror the images or to set a repository explicitly.
| Component | Standard repository | FIPS repository |
|---|---|---|
| Control plane controller | enterprise-kgateway-controller | enterprise-kgateway-controller-fips |
| Gateway proxy | envoy-wrapper | envoy-wrapper-fips |
| Secret Discovery Service (SDS) sidecar | sds | sds-fips |
| External auth server | ext-auth-service | ext-auth-service-fips |
| Rate limit server | rate-limiter | rate-limiter-fips |
| Web Application Firewall (WAF) server | waf-server | waf-server-fips |
| Portal controller | portal-controller | portal-controller-fips |
| Portal web server and auth server | portal-web-server | portal-web-server-fips |
All of these repositories live under us-docker.pkg.dev/solo-public/enterprise-kgateway.
Note
The Portal web server and the Portal auth server are separate deployments that run the same image, so both deployments use the portal-web-server-fips repository.
The ext-cache Redis image has no FIPS variant, because it is a third-party image rather than one that Solo.io builds. A FIPS control plane leaves the ext-cache image unchanged.
In version 2.2.x and earlier, the external auth and rate limit servers came from gcr.io/gloo-mesh and marked the FIPS build with a -fips suffix on the image tag instead of on the repository. If you still pull either image from that registry, set its repository explicitly alongside the registry and the tag, because the control plane never rewrites a repository that you set.
Install the FIPS control plane
Set the controller image repository to the FIPS variant when you install the Helm chart. The controller.image.repository value defaults to enterprise-kgateway-controller.
Set your license key and the version that you want to install as environment variables.
export LICENSE_KEY=<license-key> export KGATEWAY_VERSION=2.3.8Deploy the Kubernetes Gateway API CRDs.
kubectl apply -f https://github.com/kubernetes-sigs/gateway-api/releases/download/v1.6.1/standard-install.yamlDeploy the Solo Enterprise for kgateway CRDs. The CRD chart has no FIPS variant, because it contains no images.
helm upgrade -i enterprise-kgateway-crds oci://us-docker.pkg.dev/solo-public/enterprise-kgateway/charts/enterprise-kgateway-crds \ --create-namespace \ --namespace kgateway-system \ --version $KGATEWAY_VERSIONNote
If you already installed the external auth, rate limit, and Enterprise listener set CRDs, such as by previously installing another Solo product in the same cluster, include the
--set installExtAuthCRDs=falseand--set installRateLimitCRDs=falseflags in the Helm installation.Install or upgrade the chart with the FIPS controller image and your license key. If you upgrade an existing installation, also add
--reuse-values, so that the upgrade keeps the other values that you set. Without that flag, the upgrade resets every value that you do not repeat on the command line to its default.helm upgrade -i enterprise-kgateway oci://us-docker.pkg.dev/solo-public/enterprise-kgateway/charts/enterprise-kgateway \ --version $KGATEWAY_VERSION \ -n kgateway-system \ --set-string licensing.licenseKey=$LICENSE_KEY \ --set controller.image.repository=enterprise-kgateway-controller-fips
| Setting | Description |
|---|---|
licensing.licenseKey | Your Solo Enterprise for kgateway license key. For more information, see Licensing. |
controller.image.repository | The repository for the control plane controller image. Set this value to enterprise-kgateway-controller-fips to install the FIPS build. A control plane that runs the standard image never selects FIPS images for the workloads that it manages, even when those workloads are available in your registry. |
For the other installation options, see the Helm installation guide.
Install the FIPS portal
The portal is installed from its own Helm chart, so a FIPS Solo Enterprise for kgateway control plane does not select the portal images. Set the portal controller image repository to the FIPS variant yourself. The portal controller then selects the FIPS web server image for each Portal resource that it deploys, in the same way that the control plane selects images for the workloads that it manages.
Add the FIPS portal controller repository to your portal Helm values file.
portal: image: repository: portal-controller-fipsInstall or upgrade the portal chart with those values. For the license key and the rest of the portal setup, see Set up a portal.
helm upgrade -i portal \ oci://us-docker.pkg.dev/solo-public/enterprise-kgateway/charts/portal \ --version $KGATEWAY_VERSION \ --namespace portal-system \ -f values.yamlVerify that the portal controller and the web server that it deploys both run FIPS images.
kubectl get deployments -n portal-system \ -o jsonpath='{range .items[*]}{.metadata.name}{"\t"}{.spec.template.spec.containers[*].image}{"\n"}{end}'
| Setting | Description |
|---|---|
portal.image.repository | The repository for the portal controller image. This value defaults to portal-controller. Set it to portal-controller-fips to install the FIPS build. A portal controller that runs the standard image never selects FIPS images for the web server or the auth server. |
spec.webServer.container.image.repository | Optional. The repository for the web server image, set on a PortalParameters resource. A repository that you set here is used exactly as given, so set portal-web-server-fips rather than portal-web-server when you pin this field on a FIPS portal. |
spec.authServer.container.image.repository | Optional. The repository for the auth server image, set on a PortalParameters resource. The auth server is deployed only when you set spec.authServer. It runs the web server image, but it does not inherit a repository that you pin on spec.webServer. If you pin the web server repository, pin portal-web-server-fips here as well. |
Mirror FIPS images to a private registry
Warning
If you mirror images into a private registry, mirror the -fips repositories before you upgrade to a release that selects them. A FIPS control plane requests the -fips repository for each managed workload, so a workload whose repository is missing from your registry cannot pull its image. Mirror the repositories that are listed in FIPS image repositories, or pin each image explicitly to a repository that you already mirror.
To mirror the FIPS images and install them in an air-gapped environment, follow Install in air-gapped environments and select the FIPS tab in the first step.
Verify FIPS mode
The FIPS images ship a fips-check self-check that reports the linked module and the runtime mode, then exercises an approved SHA-256 path and the FIPS deterministic random bit generator (DRBG). The steps that follow check the control plane.
Confirm that the control plane runs the FIPS image.
kubectl get deploy -n kgateway-system -o jsonpath='{range .items[*]}{.metadata.name}{"\t"}{range .spec.template.spec.containers[*]}{.image}{" "}{end}{"\n"}{end}'Expected output, truncated:
enterprise-kgateway us-docker.pkg.dev/solo-public/enterprise-kgateway/enterprise-kgateway-controller-fips:2.3.8Run
fips-checkin the control plane container.kubectl exec -n kgateway-system deploy/enterprise-kgateway -- \ /gloo-gateway fips-checkExpected output, similar to the following.
fips140 ok: enabled=true enforced=false version=v1.0.0 gofips140=v1.0.0-c2097c7cField Description enabledtrueconfirms that the validated module is active.enforcedfalsemeans that the process runs in the defaultfips140=onmode. The field reportstrueonly when the container runs with theGODEBUG=fips140=onlyenvironment variable, which you might set temporarily to verify an installation, as described in About FIPS images. To set the variable on the control plane, use thecontroller.extraEnvHelm value.versionThe version of the validated module. gofips140The GOFIPS140value that the binary was built with.
A standard image exits with an error from fips-check, because the binary is not built against the validated module.
The entry point and the invocation differ per component. To check another workload, use the command for its image.
| Image | Command |
|---|---|
enterprise-kgateway-controller-fips | /gloo-gateway fips-check |
envoy-wrapper-fips | /usr/local/bin/envoyinit fips-check |
sds-fips | /sds fips-check |
waf-server-fips | /usr/local/bin/waf-server --fips-check |
ext-auth-service-fips | /usr/local/bin/fips-check |
rate-limiter-fips | /usr/local/bin/executable fips-check |
portal-controller-fips | /usr/local/bin/portal-controller fips-check |
portal-web-server-fips | /usr/local/bin/portal-web-server fips-check |
The ext-auth-service-fips image reports fips140 ok: enabled=true version=v1.0.0 gofips140=v1.0.0-c2097c7c without an enforced field, because its self-check is a separate executable rather than a subcommand of the server.