testkube icon indicating copy to clipboard operation
testkube copied to clipboard

Secrets are not created from a test suites

Open sylock opened this issue 11 months ago • 1 comments

Describe the bug The functionality to create a secret from the test suites web interface is not working -> secret is not created on openshift despite the successful message. It does work for the test so the code path must be different between both.

To Reproduce Steps to reproduce the behavior:

  • create a new test suites
  • add a simple existing test
  • run it -> it works
  • now go to the settings of the test suites
  • click on variables & secrets
  • add a new secrets and click on save
  • despite the successful message from the dashboard (variable were successfully updated) it is missing in openshift
  • run the test -> it fails
container "65e1e742faedc3e90ec276c0-init" in pod "65e1e742faedc3e90ec276c0-snswr" is waiting to start: CreateContainerConfigError
  • if you look on the Openshift cluster the secret was not created and is not existing

Version / Cluster

  • Which testkube version? 1.16.27
  • What Kubernetes cluster? Openshift
  • What Kubernetes version?
Client Version: 4.14.1
Kustomize Version: v5.0.1
Server Version: 4.13.28
Kubernetes Version: v1.26.11+4ad3e1b

Screenshots 2024-03-01_15h38_50

sylock avatar Mar 01 '24 14:03 sylock

thank you @sylock did you try in cli?

vsukhin avatar Mar 01 '24 14:03 vsukhin