mirror of
https://github.com/not-kennethreitz/knative-for-humans.git
synced 2026-06-05 06:56:16 +00:00
27 lines
708 B
YAML
27 lines
708 B
YAML
apiVersion: serving.knative.dev/v1alpha1
|
|
kind: Service
|
|
metadata:
|
|
name: httpbin
|
|
namespace: default
|
|
spec:
|
|
runLatest:
|
|
configuration:
|
|
build:
|
|
# serviceAccountName: build-bot
|
|
source:
|
|
git:
|
|
url: https://github.com/requests/httpbin.git
|
|
revision: master
|
|
template:
|
|
name: bob-builder
|
|
arguments:
|
|
- name: REGISTRY
|
|
value: knative-registry.knative-build.svc.cluster.local
|
|
- name: IMAGE
|
|
value: httpbin:latest
|
|
revisionTemplate:
|
|
spec:
|
|
container:
|
|
image: knative-registry.knative-build.svc.cluster.local/httpbin:latest
|
|
imagePullPolicy: Always
|