Context
In the integration tests of argo-controller, we are directly using kubectl commands and using ops_test.run to run them. This can be improved by using lightkube APIs rather.
What needs to get done
Rewrite the following functions in integration tests to use lightkube instead of kubectl commands:
create_artifact_bucket
submit_workflow_using_artifact
submit_workflow_using_artifact
Definition of Done
kubectl CLI commands are no longer being used in the integration tests of argo-controller
Context
In the integration tests of
argo-controller, we are directly usingkubectlcommands and usingops_test.runto run them. This can be improved by using lightkube APIs rather.What needs to get done
Rewrite the following functions in integration tests to use
lightkubeinstead ofkubectlcommands:create_artifact_bucketsubmit_workflow_using_artifactsubmit_workflow_using_artifactDefinition of Done
kubectlCLI commands are no longer being used in the integration tests ofargo-controller