From 05189336768945b1abc750d255b6065eae222bcd Mon Sep 17 00:00:00 2001 From: sanne Date: Mon, 17 May 2021 19:01:41 +0200 Subject: [PATCH] distribution: Add state directory This should become a PersistentVolumeClaim in future, but let's get the deployment running first. --- distribution/osbuild-composer-clouddot-template.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/distribution/osbuild-composer-clouddot-template.yml b/distribution/osbuild-composer-clouddot-template.yml index 3610290b5..f1e58558b 100644 --- a/distribution/osbuild-composer-clouddot-template.yml +++ b/distribution/osbuild-composer-clouddot-template.yml @@ -46,10 +46,14 @@ objects: - name: composer-config mountPath: "/etc/osbuild-composer" readOnly: true + - name: state-directory + mountPath: "/var/lib/osbuild-composer" volumes: - name: composer-config secret: secretName: composer-config + - name: state-directory + emptyDir: {} - apiVersion: v1 kind: Service