Skip to content

A secure runtime platform for mission-critical capabilities

License

Notifications You must be signed in to change notification settings

Racer159/uds-core

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unicorn Delivery Service - Core (UDS Core)

Warning

UDS Core is in early alpha and is not ready for general use.

UDS Core groups foundational Unicorn Delivery Service applications that are heavily influenced Big Bang.

The core applications are:

Prerequisites

Dependency Minimum Version
Zarf 0.31.1
UDS CLI 0.4.1
NodeJS LTS or Current

Users

Quickstart

A common need is bootstrapping a new UDS Core environment for development or testing. The commands below will deploy the latest version of UDS Core. See the remaining sections for more details on the different bundles and packages available.

# ARM version
uds deploy oci://ghcr.io/defenseunicorns/packages/uds/bundles/k3d-core:arm64

# AMD version
uds deploy oci://ghcr.io/defenseunicorns/packages/uds/bundles/k3d-core:amd64

The bundle includes the uds.dev certs by default. You can use the UDS environment variables to override the default values. E.g.

# Set environment variables with the contents of your certificate and key files
UDS_ADMIN_TLS_CERT=$(cat admin.crt)
UDS_ADMIN_TLS_KEY=$(cat admin.key)
UDS_TENANT_TLS_CERT=$(cat tenant.crt)
UDS_TENANT_TLS_KEY=$(cat tenant.key)

# AMD version
uds deploy ocs://ghcr.io/defenseunicorns/package/uds/bundles/k3d-core:amd64

UDS Core Packages

UDS core publishes two packages:

  • core: The standard UDS Core package that is a collection of individual packages that are deployed as a single unit.

  • core-istio: The UDS Core Istio package that only deploys Istio.

UDS Core Bundles

These bundles are intended for bootstrapping common development & testing environments and should not be used for production. They also serve as examples to create custom bundles.

  • k3d-core: A bundle to create a local k3d cluster with UDS Core installed.

  • k3d-core-istio: A bundle to create a local k3d cluster with only Istio from UDS Core installed.

Development: Create, build, and test the UDS Core Package

For complete testing, we test against a UDS Bundle that uses a locally-built Zarf package. Manually testing against the packages found under /packages is also possible using the zarf command.

Create, build, and test the UDS Core Package

uds run test-uds-core

Working with an individual package

The individual packages that make up UDS Core are broken down in src/, the commands below can be used to work with them individually in development.

Create, build, and test a single package (e.g. Neuvector)

UDS_PKG=neuvector uds run test-single-package

To build a single package (e.g. Neuvector)

UDS_PKG=neuvector uds run create-single-package

To deploy a single built package (e.g. Neuvector)

UDS_PKG=neuvector uds run deploy-single-package

To test a single package already deployed (e.g. Neuvector)

uds run -f src/neuvector/tasks/validate.yaml run

About

A secure runtime platform for mission-critical capabilities

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 55.6%
  • Smarty 44.0%
  • JavaScript 0.4%