-
Notifications
You must be signed in to change notification settings - Fork 3
/
supply-chain.yaml
41 lines (36 loc) · 905 Bytes
/
supply-chain.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
apiVersion: carto.run/v1alpha1
kind: ClusterSupplyChain
metadata:
name: supply-chain
spec:
selector:
app.tanzu.vmware.com/workload-type: web
resources:
- name: source-provider
templateRef:
kind: ClusterSourceTemplate
name: source
- name: image-builder
templateRef:
kind: ClusterImageTemplate
name: image
params:
- name: image_prefix
value: index.docker.io/waciumawanjohi/example-gitwriter-sc-
sources:
- name: source
resource: source-provider
- name: config-provider
templateRef:
kind: ClusterConfigTemplate
name: app-config
images:
- name: image
resource: image-builder
- name: git-writer
templateRef:
kind: ClusterTemplate
name: git-writer
configs:
- name: data
resource: config-provider