Explicitly mount /tmp as an emptyDir

If using an image build with `FROM scratch` (as built by the
build-local-images make target), you need to explictly mount
/tmp as an emptyDir.
This commit is contained in:
Solly Ross 2018-06-30 21:19:40 -04:00
parent 7b606a79fc
commit eb6949c2a4

View file

@ -39,6 +39,8 @@ spec:
- mountPath: /etc/adapter/
name: config
readOnly: true
- mountPath: /tmp
name: tmp-vol
volumes:
- name: volume-serving-cert
secret:
@ -46,3 +48,5 @@ spec:
- name: config
configMap:
name: adapter-config
- name: tmp-vol
emptyDir: {}