Skip to content

Commit

Permalink
remove gateway service from singleRM cluster config
Browse files Browse the repository at this point in the history
  • Loading branch information
amandavialva01 committed Jul 29, 2024
1 parent ea877a2 commit ef3c3d1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
6 changes: 0 additions & 6 deletions .circleci/devcluster/single-k8s.devcluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,3 @@ stages:
kubeconfig_path: ~/.kube/config
determined_master_ip: $DOCKER_LOCALHOST
determined_master_port: 8080
internal_task_gateway:
gateway_name: contour
gateway_namespace: projectcontour
gateway_ip: $GATEWAY_IP
gateway_port_range_start: 49152
gateway_port_range_end: 65535
5 changes: 3 additions & 2 deletions e2e_tests/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,8 +246,9 @@ def namespaces_created(is_multirm_cluster: bool) -> Tuple[str, str]:
subprocess.run(create_namespace_defaultrm_cmd, check=True)

default_kubeconfig = []
additionalrm_kubeconfig = ["--kubeconfig", conf.ADDITIONAL_RM_KUBECONFIG]
if is_multirm_cluster:
get_namespace(additionalrm_namespace, ["--kubeconfig", conf.ADDITIONAL_RM_KUBECONFIG])
get_namespace(additionalrm_namespace, additionalrm_kubeconfig)
default_kubeconfig += ["--kubeconfig", conf.DEFAULT_RM_KUBECONFIG]

get_namespace(defaultrm_namespace, default_kubeconfig)
Expand All @@ -261,7 +262,7 @@ def namespaces_created(is_multirm_cluster: bool) -> Tuple[str, str]:

delete_namespace(defaultrm_namespace, kubeconfig=default_kubeconfig)
if is_multirm_cluster:
delete_namespace(additionalrm_namespace, kubeconfig=conf.ADDITIONAL_RM_KUBECONFIG)
delete_namespace(additionalrm_namespace, kubeconfig=additionalrm_kubeconfig)


def get_namespace(namespace: str, kubeconfig: List[str]) -> None:
Expand Down

0 comments on commit ef3c3d1

Please sign in to comment.