packaged by Chainguard
Contact our team to test out this image for free. Please also indicate any other images you would like to evaluate.
FIPS-enabled build of gke-deploy, which prepares and applies Kubernetes manifests to Google Kubernetes Engine clusters. The command surface matches the standard gke-deploy image. The binary, the kubectl it shells out to, the GKE auth plugin kubectl loads, and the bundled kustomize are all FIPS builds routing cryptography through the validated OpenSSL provider; gcloud and gsutil come from the standard google-cloud-sdk package, which has no FIPS build.
Chainguard Containers are regularly-updated, secure-by-default container images.
For those with access, this container image is available on cgr.dev:
Be sure to replace the ORGANIZATION placeholder with the name used for your organization's private repository within the Chainguard Registry.
This image replaces the upstream gcr.io/cloud-builders/gke-deploy build step for running gke-deploy itself, with the differences below. The entrypoint is /bin/gke-deploy, so arguments passed to docker run reach the CLI unchanged, and the same subcommands are available.
| Property | Upstream | This image |
|---|---|---|
User | root | nonroot, UID/GID |
Cloud SDK location |
|
|
Root-level | hardlinked to the binary | absent; the |
| set | unset |
| a default | a single |
Extra tooling |
| not included |
The image runs as nonroot, so $HOME is /home/nonroot, which that user owns and can write. The /root/.config volume is still declared, inherited from upstream, but nothing under UID 65532 can write to it because /root belongs to root; treat it as vestigial rather than a place to mount SDK state. The working directory is /, which UID 65532 cannot write either, so give prepare and run an explicit --output rather than relying on its ./output default. Make any mounted output directory writable by UID 65532, and if you override the user to a UID that is not in /etc/passwd, set HOME and CLOUDSDK_CONFIG yourself, because the runtime then falls back to /.
Alongside gke-deploy the image carries the tools it shells out to, gcloud, gsutil and kubectl, along with the GKE auth plugin that kubectl loads, plus kustomize for its documented pipe. yq, envsubst, nomos and local-extract, which upstream also installs, are not included.
This is the FIPS-enabled variant of the gke-deploy image and a drop-in replacement for it. The binary is built with a FIPS-validated Go toolchain that routes cryptography through the validated OpenSSL provider, as are kubectl, the GKE auth plugin it loads, and the bundled kustomize. gcloud and gsutil are the exception: they come from the standard google-cloud-sdk package, for which no FIPS build exists. A tampered or missing OpenSSL FIPS module does not silently downgrade to unvalidated cryptography: the Go toolchain falls back to its own embedded FIPS module, and where that fallback is disabled the process aborts instead of continuing. See the FIPS-enabled images guide for supported configurations and operating requirements.
Print the available subcommands:
Expand manifests without contacting a cluster. prepare adds the recommended Kubernetes labels and writes both a suggested and an expanded copy:
The expanded manifests land in out/expanded/aggregated-resources.yaml, carrying the app.kubernetes.io/managed-by: gcp-cloud-build-deploy label that marks them as deployed by this tool.
Apply manifests to a cluster, using a kubeconfig that carries its own credentials:
apply waits up to --timeout for the workload to become ready, so a non-zero exit means either the apply itself failed or the rollout did not converge in time.
In Google Cloud Build, use the image in place of the upstream build step:
gke-deploy is configured by flags; the environment variables that matter in a container are the Cloud SDK's own:
| Variable | Image default | Purpose |
|---|---|---|
|
| Lets |
| unset | Point at a writable path so |
|
| Already writable. Set it only when running as a UID that is not in |
| unset | Cluster credentials, when not using |
gcloud is optional. When it is absent from PATH, apply and run fall back to a Go client, and prepare never uses it at all.
Chainguard's free tier of Starter container images are built with Wolfi, our minimal Linux undistro.
All other Chainguard Containers are built with Chainguard OS, Chainguard's minimal Linux operating system designed to produce container images that meet the requirements of a more secure software supply chain.
The main features of Chainguard Containers include:
For cases where you need container images with shells and package managers to build or debug, most Chainguard Containers come paired with a development, or -dev, variant.
In all other cases, including Chainguard Containers tagged as :latest or with a specific version number, the container images include only an open-source application and its runtime dependencies. These minimal container images typically do not contain a shell or package manager.
Although the -dev container image variants have similar security features as their more minimal versions, they include additional software that is typically not necessary in production environments. We recommend using multi-stage builds to copy artifacts from the -dev variant into a more minimal production image.
To improve security, Chainguard Containers include only essential dependencies. Need more packages? Chainguard customers can use Custom Assembly to add packages, either through the Console, chainctl, or API.
To use Custom Assembly in the Chainguard Console: navigate to the image you'd like to customize in your Organization's list of images, and click on the Customize image button at the top of the page.
Refer to our Chainguard Containers documentation on Chainguard Academy. Chainguard also offers VMs and Libraries — contact us for access.
This software listing is packaged by Chainguard. The trademarks set forth in this offering are owned by their respective companies, and use of them does not imply any affiliation, sponsorship, or endorsement by such companies.
Chainguard's container images contain software packages that are direct or transitive dependencies. The following licenses were found in the "latest" tag of this image:
Apache-2.0
BSD-2-Clause
GCC-exception-3.1
GPL-3.0-or-later
MIT
NIST-PD
For a complete list of licenses, please refer to this Image's SBOM.
Software license agreementChainguard Containers are SLSA Level 3 compliant with detailed metadata and documentation about how it was built. We generate build provenance and a Software Bill of Materials (SBOM) for each release, with complete visibility into the software supply chain.
SLSA compliance at ChainguardThis image helps reduce time and effort in establishing PCI DSS 4.0 compliance with low-to-no CVEs.
PCI DSS at ChainguardThis is a FIPS validated image for FedRAMP compliance.
This image is STIG hardened and scanned against the DISA General Purpose Operating System SRG with reports available.
Learn more about STIGsGet started with STIGs