/
DirectorySecurity AdvisoriesPricing
Sign in
Directory
secretgen-controller-fips logoFIPS

secretgen-controller-fips

Last changed

Request a free trial

Contact our team to test out this image for free. Please also indicate any other images you would like to evaluate.

Tags
Overview
Comparison
Provenance
Specifications
SBOM
Vulnerabilities
Advisories

Chainguard Container for secretgen-controller-fips

secretgen-controller provides CRDs to specify what secrets need to be on Kubernetes cluster (to be generated or not)

Chainguard Containers are regularly-updated, secure-by-default container images.

Download this Container Image

For those with access, this container image is available on cgr.dev:

docker pull cgr.dev/ORGANIZATION/secretgen-controller-fips:latest

Be sure to replace the ORGANIZATION placeholder with the name used for your organization's private repository within the Chainguard Registry.

Compatibility Notes

Chainguard's secretgen-controller-fips container image is compatible with the upstream carvel-dev/secretgen-controller, with the following differences:

  • Built on a minimal, distroless base for enhanced security
  • Uses FIPS 140-2 validated cryptographic modules for compliance
  • Regularly updated with the latest security patches
  • Significantly reduced attack surface with minimal dependencies

Note: This FIPS variant is suitable for environments requiring FIPS 140-2 compliance, such as government and regulated industries.

Getting Started

Install with kubectl

kubectl apply -f https://github.com/carvel-dev/secretgen-controller/releases/latest/download/release.yml

Then patch the deployment to use the Chainguard FIPS image:

kubectl patch deployment secretgen-controller \
  -n secretgen-controller \
  --type='json' \
  -p='[{"op": "replace", "path": "/spec/template/spec/containers/0/image", "value": "cgr.dev/ORGANIZATION/secretgen-controller-fips:latest"}]'

Generate a Password

Create a Password resource to generate a random password:

apiVersion: secretgen.k14s.io/v1alpha1
kind: Password
metadata:
  name: my-password
  namespace: default
spec:
  length: 40
  secretTemplate:
    type: kubernetes.io/basic-auth
    stringData:
      username: admin

Apply the resource:

kubectl apply -f password.yaml

View the generated secret:

kubectl get secret my-password -o jsonpath='{.data.password}' | base64 -d

Generate an RSA Key

Create an RSAKey resource to generate an RSA private/public key pair:

apiVersion: secretgen.k14s.io/v1alpha1
kind: RSAKey
metadata:
  name: my-rsa-key
  namespace: default
spec:
  secretTemplate:
    type: Opaque

Apply and view the generated keys:

kubectl apply -f rsa-key.yaml
kubectl get secret my-rsa-key -o jsonpath='{.data.privateKey}' | base64 -d
kubectl get secret my-rsa-key -o jsonpath='{.data.publicKey}' | base64 -d

Generate an SSH Key

Create an SSHKey resource to generate an SSH key pair:

apiVersion: secretgen.k14s.io/v1alpha1
kind: SSHKey
metadata:
  name: my-ssh-key
  namespace: default
spec:
  secretTemplate:
    type: Opaque

Apply and view the generated keys:

kubectl apply -f ssh-key.yaml
kubectl get secret my-ssh-key -o jsonpath='{.data.ssh-privatekey}' | base64 -d
kubectl get secret my-ssh-key -o jsonpath='{.data.ssh-publickey}' | base64 -d

Generate a Certificate

Create a Certificate resource to generate a self-signed certificate:

apiVersion: secretgen.k14s.io/v1alpha1
kind: Certificate
metadata:
  name: my-certificate
  namespace: default
spec:
  commonName: example.com
  alternativeNames:
    - "*.example.com"
  secretTemplate:
    type: kubernetes.io/tls

Apply and view the generated certificate:

kubectl apply -f certificate.yaml
kubectl get secret my-certificate -o jsonpath='{.data.tls\.crt}' | base64 -d | openssl x509 -text -noout

Documentation and Resources

What are Chainguard Containers?

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.

Need additional packages?

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.

Learn More

Refer to our Chainguard Containers documentation on Chainguard Academy. Chainguard also offers VMs and Librariescontact us for access.

Trademarks

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.

Licenses

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

  • GCC-exception-3.1

  • GPL-3.0-or-later

  • LGPL-2.1-or-later

  • MIT

  • MPL-2.0

For a complete list of licenses, please refer to this Image's SBOM.

Software license agreement

Compliance

This 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

Related images
secretgen-controller logo
secretgen-controller

Category
FIPS
STIG

The trusted source for open source

Talk to an expert
© 2025 Chainguard. All Rights Reserved.
PrivacyTerms

Product

Chainguard ContainersChainguard LibrariesChainguard VMsIntegrationsPricing