-
Notifications
You must be signed in to change notification settings - Fork 9
/
service-patch.json
44 lines (44 loc) · 1.05 KB
/
service-patch.json
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
[{"op":"replace",
"path":"/spec",
"value": {
"release": {
"revisions": [ "helloworld-${LATEST}", "helloworld-${PREVIOUS}" ],
"rolloutPercent": 10,
"configuration": {
"build": {
"apiVersion": "build.knative.dev/v1alpha1",
"kind": "Build",
"metadata": {
"annotations" : {
"trigger": "15"
}
},
"spec": {
"serviceAccountName": "build-bot",
"source": {
"git":{
"revision": "master",
"url": "https://github.com/${GITREPO}"
}
},
"template": {
"name": "kaniko",
"arguments": [ {
"name": "IMAGE",
"value": "index.docker.io/${APP_IMAGE}"
}]
}
}
},
"revisionTemplate": {
"spec": {
"container": {
"image": "${APP_IMAGE}"
},
"containerConcurrency": 1
}
}
}
}
}
}]