-
Notifications
You must be signed in to change notification settings - Fork 0
/
sample-supply-chain-jar.yaml
46 lines (46 loc) · 1.13 KB
/
sample-supply-chain-jar.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
42
43
44
45
46
apiVersion: carto.run/v1alpha1
kind: ClusterSupplyChain
metadata:
name: supply-chain-directjar
spec:
selector:
app.tanzu.vmware.com/workload-type: web-directjar
params:
- default: default-sa
name: serviceAccount
resources:
- name: image-builder
templateRef:
kind: ClusterImageTemplate
name: image-directjar
params:
- name: image_prefix
default: test
- name: builder_name
default: java-builder
- name: jar_source
default: jar-source
- name: config-provider
images:
- resource: image-builder
name: image
templateRef:
kind: ClusterConfigTemplate
name: convention-template
- name: app-config
images:
- resource: image-builder
name: image
configs:
- name: config
resource: config-provider
templateRef:
kind: ClusterConfigTemplate
name: app-config
- name: config-writer
templateRef:
kind: ClusterTemplate
name: config-writer-template
configs:
- resource: app-config
name: config