From c9f7cf042effc4b9ad7f977d849258d1639e152b Mon Sep 17 00:00:00 2001 From: Patrick Uiterwijk Date: Fri, 13 Apr 2018 14:57:10 +0000 Subject: [PATCH] Add emptydir for cache Signed-off-by: Patrick Uiterwijk --- roles/openshift-apps/bodhi/files/deploymentconfig.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/roles/openshift-apps/bodhi/files/deploymentconfig.yml b/roles/openshift-apps/bodhi/files/deploymentconfig.yml index 99f818660b..8ba254d0fd 100644 --- a/roles/openshift-apps/bodhi/files/deploymentconfig.yml +++ b/roles/openshift-apps/bodhi/files/deploymentconfig.yml @@ -40,6 +40,8 @@ items: - name: config-volume mountPath: /etc/bodhi readOnly: true + - name: cache-volume + mountPath: /var/cache/bodhi readinessProbe: timeoutSeconds: 1 initialDelaySeconds: 5 @@ -56,6 +58,8 @@ items: - name: config-volume configMap: name: bodhi-configmap + - name: cache-volume + emptyDir: {} triggers: - imageChangeParams: automatic: true