Skip to content

Commit

Permalink
chore: update production manifest with new tmp dir
Browse files Browse the repository at this point in the history
Since quay#2019 clair will now use
/var/tmp instead of /tmp by default to store the manifest layers. This
PR updates where the PVC is mounted in order to concide with the new
default.

Signed-off-by: crozzy <joseph.crosland@gmail.com>
  • Loading branch information
crozzy committed Apr 9, 2024
1 parent 93a70b3 commit 6a7dae4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contrib/openshift/manifests/manifests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ objects:
command:
- sh
- '-c'
- rm -rf /tmp/sha* /tmp/fetch.* /tmp/rpmscanner.* && exec clair
- rm -rf /var/tmp/sha* /var/tmp/fetch.* /var/tmp/rpmscanner.* && exec clair
env:
- name: CLAIR_CONF
value: '/etc/clair/config.yaml'
Expand Down Expand Up @@ -86,7 +86,7 @@ objects:
- name: clair-config
mountPath: /etc/clair
- name: indexer-layer-storage
mountPath: /tmp
mountPath: /var/tmp

#
# matcher deployment
Expand Down

0 comments on commit 6a7dae4

Please sign in to comment.