Skip to content

Latest commit

 

History

History
25 lines (23 loc) · 813 Bytes

supplychain.hbs.md

File metadata and controls

25 lines (23 loc) · 813 Bytes

SupplyChain API

A SupplyChain pulls together components to define the path to production for a Components. The supply chain defines the Kind of the Workload, the Workloads and their order, and any overriding configuration that the platform engineer wishes to control.

apiVersion: supply-chain.tanzu.vmware.com/v1alpha1
kind: SupplyChain
metadata:
  name: hostedapps.widget.com-0.0.1
spec:
  defines: # Describes the workload
    kind: HostedApp
    pluralName: hostedapps
    group: widget.com
    version: v1alpha1
  stages: # Describes the stages
    - name: source-provider
      componentRef: # References the components
        name: source-1.0.0
    - name: builder-dev
      componentRef: # References the components
        name: go-build-1.0.0