From 6e05a195a8dd2fdc5532946a389d03c242591104 Mon Sep 17 00:00:00 2001 From: Simon Emms Date: Fri, 23 Sep 2022 09:36:02 +0000 Subject: [PATCH] [kots]: ensure log-collector directory on node at startup --- install/kots/manifests/gitpod-log-collector.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/install/kots/manifests/gitpod-log-collector.yaml b/install/kots/manifests/gitpod-log-collector.yaml index 3718f9861975c0..77ae943f962465 100644 --- a/install/kots/manifests/gitpod-log-collector.yaml +++ b/install/kots/manifests/gitpod-log-collector.yaml @@ -31,11 +31,10 @@ spec: - sh - -c args: - - while true; do echo "waiting" && sleep 60; done + - mkdir -p /gitpod/log-collector && while true; do echo "waiting" && sleep 60; done volumeMounts: - name: collector mountPath: /gitpod - readOnly: true labels: app: gitpod