apiVersion: v1
kind: Pod
metadata:
  name: webserver
spec:
  containers:
  - name: nginx
    image: nginx
    volumeMounts:
    - mountPath: /usr/share/nginx/html
      name: contents-vol
      readOnly: true
  
  - name: cloner
    image: brubian/c-cloner:0.1
    env:
    - name: CONTENTS_SOURCE_URL
      value: "https://github.com/greatestgoat/web-contents"
    volumeMounts:
    - mountPath: /data
      name: contents-vol
    
  volumes:
  - name: contents-vol
    emptyDir: {}