Skip to content
This repository has been archived by the owner on Aug 9, 2024. It is now read-only.

Commit

Permalink
Set env to namespace in testing (#140)
Browse files Browse the repository at this point in the history
  • Loading branch information
andreyvelich authored and k8s-ci-robot committed Dec 3, 2018
1 parent 3ee7a6b commit 2bba5a4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/py/kubebench/test/deploy_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,9 @@ def setup_ks_app(test_dir, src_root_dir, namespace, github_token, api_client):
# Initialize a ksonnet app.
util.run(["ks", "init", app_name], cwd=test_dir)

# Set the default namespace.
util.run(["ks", "env", "set", "default", "--namespace=" + namespace_name], cwd=app_dir)

# Add required registries
registries = {
"kubeflow": kubeflow_registry,
Expand Down

0 comments on commit 2bba5a4

Please sign in to comment.