Merge branch 'master', add examples

This commit is contained in:
Priya Wadhwa
2018-04-04 10:42:14 -07:00
18 changed files with 573 additions and 7 deletions
+22
View File
@@ -0,0 +1,22 @@
apiVersion: batch/v1
kind: Job
metadata:
name: kbuild-demo
spec:
template:
spec:
containers:
- name: init-static
image: gcr.io/priya-wadhwa/executor:latest
command: ["/work-dir/executor", "--context=kbuild-demo", "--name=gcr.io/priya-wadhwa/kbuild:example", "--dockerfile=/workspace/Dockerfile"]
volumeMounts:
- name: dockerfile-volume
mountPath: /workspace/
restartPolicy: Never
volumes:
- name: dockerfile-volume
configMap:
name: dockerfile-config
items:
- key: Dockerfile
path: Dockerfile