mirror of
https://github.com/kubernetes-sigs/prometheus-adapter.git
synced 2026-04-05 17:27:51 +00:00
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:
parent
7b606a79fc
commit
eb6949c2a4
1 changed files with 4 additions and 0 deletions
|
|
@ -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: {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue