Skip to content

rossedman/bobomb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bobomb

This is an example of how to produce an OCI release of Kubernetes manifests that also include a SBOM in SPDX format. The purpose of this is try to document how to put together a package of Kubernetes configurations that can be shipped as a single package for deploying platforms.

Setup

Install bom and kustomizer for creating our OCI packages with SBOM/SPDX created in them

go install sigs.k8s.io/bom/cmd/bom@latest
go install sigs.k8s.io/kustomize/kustomize/v4@latest
brew install stefanprodan/tap/kustomizer

Creating Artifacts

First, create an SBOM of the files that are going to be bundled into the platform. This currently does not have a way to retrieve licenses from the kustomizations we are using but it does produce checksums for all the files we will include.

bom generate -n http://kubernetes.rossedman.io -d example/core -o platform-core.spdx

This step produces multiple OCI artifacts, renders the Kustomize and pushes it into the container registry to be consumed.

make

Deploying Artifact

In this step, we will create a cluster and deploy our artifact that we have pushed

make deploy/mgmt
make deploy/client

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published