kuttl
kuttl copied to clipboard
Ease Create Configmap
seeing projects is commonly looking for a configmap for a teststep example
apiVersion: kudo.dev/v1alpha1
kind: TestStep
commands:
- command: 'kubectl create configmap example-cm --from-file=../../jobs/tensorflow.py -n tensorflow-testing'
looks like a need for create, from file, from values with a namespace
needs delete as well
apiVersion: kudo.dev/v1alpha1
kind: TestStep
commands:
- command: kubectl delete configmap example-cm -n tensorflow-testing
Ideally, create a configmap for the duration of a testsuite and for the duration of a teststep
In addition configmaps created for a testsuite would be deleted at end of suite... configmaps create for tests are deleted at the end of a test.