Skip to content

Commit

Permalink
Fix kubeconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
mlabonte-rh committed Jun 7, 2024
1 parent 86b2590 commit 99b34e2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/interop/test_validate_hub_site_components.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,8 @@ def test_validate_acm_self_registration_managed_clusters(openshift_dyn_client):
logger.info("Check ACM self registration for edge site")

kubefile = os.getenv("KUBECONFIG_EDGE")
with open(kubefile) as stream:
kubefile_exp = os.path.expandvars(kubefile)
with open(kubefile_exp) as stream:
try:
out = yaml.safe_load(stream)
site_name = out["clusters"][0]["name"]
Expand Down

0 comments on commit 99b34e2

Please sign in to comment.