id: blog-pod kind: Pod apiVersion: v1beta1 desiredState: manifest: version: v1beta1 containers: - name: git-sync image: proppy/git-sync imagePullPolicy: PullAlways env:: - name: GIT_SYNC_REPO value: https://github.com/proppy/blog.git - name: GIT_SYNC_DEST value: /git volumeMounts: - name: markdown mountPath: /git - name: hugo image: proppy/hugo imagePullPolicy: PullAlways env: - name: SRC value: /src - name: BUILD_DRAFT value: 'true' - name: BASE_URL value: kube.proppy.sh volumeMounts: - name: markdown mountPath: /src - name: html mountPath: /dest - name: nginx image: nginx volumeMounts: - name: html mountPath: /usr/share/nginx/html ports: - name: http-server containerPort: 80 volumes: - name: markdown source: emptyDir: {} - name: html source: emptyDir: {} labels: name: blog