Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion docker/mongodb-kubernetes-tests/kubetester/operator.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
helm_upgrade,
)
from tests import test_logger
from tests.conftest import LOCAL_HELM_CHART_DIR

OPERATOR_CRDS = (
"mongodb.mongodb.com",
Expand All @@ -43,7 +44,7 @@ def __init__(
namespace: str,
helm_args: Optional[Dict] = None,
helm_options: Optional[List[str]] = None,
helm_chart_path: Optional[str] = "helm_chart",
helm_chart_path: Optional[str] = LOCAL_HELM_CHART_DIR,
name: Optional[str] = "mongodb-kubernetes-operator",
api_client: Optional[client.api_client.ApiClient] = None,
):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
from kubetester.helm import helm_template
from kubetester.multicluster_client import MultiClusterClient
from tests import test_logger
from tests.conftest import LOCAL_HELM_CHART_DIR

logger = test_logger.get_test_logger(__name__)

Expand All @@ -15,7 +16,7 @@ def prepare_multi_cluster_namespaces(
member_cluster_clients: List[MultiClusterClient],
central_cluster_name: str,
skip_central_cluster: bool = True,
helm_chart_path="helm_chart",
helm_chart_path=LOCAL_HELM_CHART_DIR,
):
"""create a new namespace and configures all necessary service accounts there"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
from tests.conftest import (
LEGACY_MULTI_CLUSTER_OPERATOR_NAME,
LEGACY_OPERATOR_NAME,
LOCAL_HELM_CHART_DIR,
MULTI_CLUSTER_MEMBER_LIST_CONFIGMAP,
MULTI_CLUSTER_OPERATOR_NAME,
OPERATOR_NAME,
Expand Down Expand Up @@ -142,7 +143,7 @@ def test_upgrade_operator(
operator = Operator(
namespace=namespace,
helm_args=operator_installation_config,
helm_chart_path="helm_chart",
helm_chart_path=LOCAL_HELM_CHART_DIR,
name=OPERATOR_NAME,
)
operator.install()
Expand Down