-
Notifications
You must be signed in to change notification settings - Fork 0
/
service.yml
31 lines (31 loc) · 986 Bytes
/
service.yml
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
apiVersion: serving.knative.dev/v1alpha1
kind: Service
metadata:
name: knative-cf-gobuildpack-demo
namespace: knative-cf-gobuildpack-domain
spec:
runLatest:
configuration:
build:
serviceAccountName: sa-build-bot
source:
git:
url: https://github.com/ComcastSamples/knative-cf-gobuildpack-demo.git
revision: master
template:
name: buildpacks-cloudfoundry
env:
- name: GOPACKAGENAME
value: "knative-cf-gobuildpack-demo"
arguments:
- name: IMAGE
value: docker.io/<docker-acct>/knative-cf-gobuildpack-demo:latest
- name: BUILDPACK_ORDER
value: https://github.com/cloudfoundry/go-buildpack.git
- name: SKIP_DETECT
value: "true"
revisionTemplate:
spec:
container:
image: docker.io/<docker-acct>/knative-cf-gobuildpack-demo:latest
imagePullPolicy: Always