Skip to content

Draft: Add CopyActions

Benedikt Wetzel requested to merge wetzel/spesb:add-copy-actions into master

This MR adds a new type of action called copyFileAction. This action makes it possible for a Benchmarker to provide a file via a ResourceSet so that the operator copies the provided files into a specific pod.

copyFileActions specified in the BenchmarkExecution with the following schema:

  actionCopies:
    - resources:
        - configMap:
            name: "test-configmap"
            files:
              - "test-file.txt" # specified the files which should to copy
      selector:
        pod:
          matchLabels:
            app: busybox1
      targetPath: "./" # specified the path of the target directory in the pod

Merge request reports