distribution: Add state directory

This should become a PersistentVolumeClaim in future, but let's get the
deployment running first.
This commit is contained in:
sanne 2021-05-17 19:01:41 +02:00 committed by Sanne Raymaekers
parent a19b883727
commit 0518933676

View file

@ -46,10 +46,14 @@ objects:
- name: composer-config - name: composer-config
mountPath: "/etc/osbuild-composer" mountPath: "/etc/osbuild-composer"
readOnly: true readOnly: true
- name: state-directory
mountPath: "/var/lib/osbuild-composer"
volumes: volumes:
- name: composer-config - name: composer-config
secret: secret:
secretName: composer-config secretName: composer-config
- name: state-directory
emptyDir: {}
- apiVersion: v1 - apiVersion: v1
kind: Service kind: Service