distribution: Add cache dir to composer clouddot deployment

This commit is contained in:
sanne 2021-06-22 10:55:53 +02:00 committed by Ondřej Budai
parent 4f86b4fd45
commit 6fac4dcb70

View file

@ -48,6 +48,8 @@ objects:
readOnly: true
- name: state-directory
mountPath: "/var/lib/osbuild-composer"
- name: cache-directory
mountPath: "/var/cache/osbuild-composer"
volumes:
- name: composer-config
secret:
@ -55,6 +57,8 @@ objects:
- name: state-directory
persistentVolumeClaim:
claimName: osbuild-composer-state-dir
- name: cache-directory
emptyDir: {}
- apiVersion: v1
kind: Service