From f84f6c96102ffa970cfbf9c128480937d86dc1be Mon Sep 17 00:00:00 2001 From: Elliott Baron Date: Fri, 18 Dec 2020 18:46:53 -0500 Subject: [PATCH] Use different subpaths within volume for recordings and templates (#143) --- .../containerjfr/resource_definitions/resource_definitions.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/controller/containerjfr/resource_definitions/resource_definitions.go b/pkg/controller/containerjfr/resource_definitions/resource_definitions.go index 5c64443d5..432a2a044 100644 --- a/pkg/controller/containerjfr/resource_definitions/resource_definitions.go +++ b/pkg/controller/containerjfr/resource_definitions/resource_definitions.go @@ -242,10 +242,12 @@ func NewCoreContainer(cr *rhjmcv1beta1.ContainerJFR, specs *ServiceSpecs, tls *T { Name: cr.Name, MountPath: "flightrecordings", + SubPath: "flightrecordings", }, { Name: cr.Name, MountPath: "templates", + SubPath: "templates", }, }