https://garden.io logo
#🌱|help-and-getting-started
Adding volume mounts to clusterBuildkit
c

colossal-salesclerk-87522

06/03/2023, 11:50 PM
Hi, is it possible via garden to add volumemounts to be used in the docker file to the clusterBuildkit? I found this https://github.com/garden-io/garden/pull/1935 but it seems not available for clusterBuildkit?
Copy code
clusterDocker:
       volumeMounts:
        - name: 
            test-custom-auth
          mountPath: 
            /.test-custom-auth
I would like to add a pvc the same way as services so i can share the yarn cache:
Copy code
volumes:
      - name: yarn
        module: 
          yarn-cache-volume
        containerPath: /yarn
q

quaint-dress-831

06/13/2023, 12:39 PM
This does look to be available, have you tested it with cluster-buildkit? https://docs.garden.io/reference/action-types/configmap/persistentvolumeclaim
2 Views