grafana / k6-operator

An operator for running distributed k6 tests.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

custom images built using xk6 don't run if you start TestRun in custom namespace

srintern opened this issue · comments

Brief summary

If you built a custom image using xk6 following these steps in a custom namespace, the initializer pod errors with the log: sh: syntax error: unexpected "("

k6-operator version or image

latest

Helm chart version (if applicable)

No response

TestRun / PrivateLoadZone YAML

apiVersion: k6.io/v1alpha1
kind: TestRun
metadata:
  name: k6-sample-with-extensions
spec:
  parallelism: 4
  script:
    configMap:
      name: crocodile-stress-test
      file: test.js
  runner:
    image: k6-extended:local

Other environment details (if applicable)

No response

Steps to reproduce the problem

Just follow the steps in the README.md

Expected behaviour

Tests should run

Actual behaviour

Test does not start as the initializer returns an error.