From fe27970aa16ddcda78cc90b2dabbb38da6811858 Mon Sep 17 00:00:00 2001 From: Jon Langevin Date: Mon, 9 Mar 2026 01:36:33 -0400 Subject: [PATCH] =?UTF-8?q?fix:=20scenario=2051=20deployment=20=E2=80=94?= =?UTF-8?q?=20use=20writable=20/data=20dir,=20remove=20PVC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Distroless nonroot container can't mkdir /var/lib/workflow. Use the writable /data emptyDir for iac-state. Remove PVC since mock test scenario doesn't need persistent state. Verified: 13/13 tests passing on minikube. Co-Authored-By: Claude Opus 4.6 --- scenarios/51-bmw-iac/config/app.yaml | 2 +- scenarios/51-bmw-iac/k8s/app.yaml | 16 ---------------- 2 files changed, 1 insertion(+), 17 deletions(-) diff --git a/scenarios/51-bmw-iac/config/app.yaml b/scenarios/51-bmw-iac/config/app.yaml index d41073e..9a1080e 100644 --- a/scenarios/51-bmw-iac/config/app.yaml +++ b/scenarios/51-bmw-iac/config/app.yaml @@ -18,7 +18,7 @@ modules: type: iac.state config: backend: filesystem - directory: /var/lib/workflow/iac-state + directory: /data/iac-state - name: bmw-database type: platform.do_database diff --git a/scenarios/51-bmw-iac/k8s/app.yaml b/scenarios/51-bmw-iac/k8s/app.yaml index 1039763..a959dc4 100644 --- a/scenarios/51-bmw-iac/k8s/app.yaml +++ b/scenarios/51-bmw-iac/k8s/app.yaml @@ -38,8 +38,6 @@ spec: mountPath: /config - name: data mountPath: /data - - name: iac-state - mountPath: /var/lib/workflow/iac-state readinessProbe: httpGet: path: /healthz @@ -52,20 +50,6 @@ spec: name: app - name: data emptyDir: {} - - name: iac-state - persistentVolumeClaim: - claimName: iac-state ---- -apiVersion: v1 -kind: PersistentVolumeClaim -metadata: - name: iac-state - namespace: wf-scenario-51 -spec: - accessModes: [ReadWriteOnce] - resources: - requests: - storage: 100Mi --- apiVersion: v1 kind: Service