Skip to content

Commit 91943c5

Browse files
committed
fixed k8s config
1 parent c2da0cb commit 91943c5

3 files changed

Lines changed: 2 additions & 14 deletions

File tree

tests/e2e/configuration/library-mode/lightspeed-stack-mcp-kubernetes-auth.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ user_data_collection:
1616
transcripts_enabled: true
1717
transcripts_storage: "/tmp/data/transcripts"
1818
authentication:
19-
module: "noop"
19+
module: "noop-with-token"
2020
mcp_servers:
2121
- name: "mcp-kubernetes"
2222
url: "http://mock-mcp:3001"

tests/e2e/configuration/server-mode/lightspeed-stack-mcp-kubernetes-auth.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ user_data_collection:
1717
transcripts_enabled: true
1818
transcripts_storage: "/tmp/data/transcripts"
1919
authentication:
20-
module: "noop"
20+
module: "noop-with-token"
2121
mcp_servers:
2222
- name: "mcp-kubernetes"
2323
url: "http://mock-mcp:3001"

tests/e2e/features/environment.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -435,13 +435,6 @@ def before_feature(context: Context, feature: Feature) -> None:
435435
switch_config(context.feature_config)
436436
restart_container("lightspeed-stack")
437437

438-
if "MCPFileAuth" in feature.tags:
439-
context.feature_config = _get_config_path("mcp-file-auth", mode_dir)
440-
context.default_config_backup = create_config_backup("lightspeed-stack.yaml")
441-
switch_config(context.feature_config)
442-
restart_container("lightspeed-stack")
443-
444-
445438
def after_feature(context: Context, feature: Feature) -> None:
446439
"""Run after each feature file is exercised.
447440
@@ -473,8 +466,3 @@ def after_feature(context: Context, feature: Feature) -> None:
473466
switch_config(context.default_config_backup)
474467
restart_container("lightspeed-stack")
475468
remove_config_backup(context.default_config_backup)
476-
477-
if "MCPFileAuth" in feature.tags:
478-
switch_config(context.default_config_backup)
479-
restart_container("lightspeed-stack")
480-
remove_config_backup(context.default_config_backup)

0 commit comments

Comments
 (0)