Skip to content

Commit

Permalink
Use empty dir for tmp dir in embedded clusters as well (#4027)
Browse files Browse the repository at this point in the history
* Use EmptyDir volume for the tmp directory  of the kotsadm container
  • Loading branch information
sgalsaleh authored Sep 6, 2023
1 parent a7cbde9 commit 549c2cb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ spec:
name: kotsadm-web-scripts
- name: backup
emptyDir: {}
- name: tmp
emptyDir: {}
- name: migrations
emptyDir:
medium: Memory
Expand Down Expand Up @@ -141,6 +143,8 @@ spec:
subPath: start-kotsadm-web.sh
- mountPath: /backup
name: backup
- mountPath: /tmp
name: tmp
- name: kubelet-client-cert
readOnly: true
mountPath: /etc/kubernetes/pki/kubelet
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ spec:
name: kotsadm-web-scripts
- name: backup
emptyDir: {}
- name: tmp
emptyDir: {}
- name: migrations
emptyDir:
medium: Memory
Expand Down Expand Up @@ -140,6 +142,8 @@ spec:
subPath: start-kotsadm-web.sh
- mountPath: /backup
name: backup
- mountPath: /tmp
name: tmp
- name: kubelet-client-cert
readOnly: true
mountPath: /etc/kubernetes/pki/kubelet
Expand Down

0 comments on commit 549c2cb

Please sign in to comment.