We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8afcd2 commit 7b4b65dCopy full SHA for 7b4b65d
tests/Contrast.K8s.AgentOperator.FunctionalTests/Scenarios/Injection/StandardInjectionTests.cs
@@ -69,6 +69,11 @@ public async Task When_injected_then_pod_should_have_standard_injection_environm
69
var userName = container.Env.Should().Contain(x => x.Name == "CONTRAST__API__USER_NAME").Subject;
70
userName.ValueFrom.SecretKeyRef.Name.Should().Be("testing-agent-connection-secret");
71
userName.ValueFrom.SecretKeyRef.Key.Should().Be("userName");
72
+
73
+ container.Env.Should().Contain(x => x.Name == "CONTRAST__SERVER__NAME")
74
+ .Which.Value.Should().Be("kubernetes-default");
75
+ container.Env.Should().Contain(x => x.Name == "CONTRAST__APPLICATION__NAME")
76
+ .Which.Value.Should().Be("injection-dummy");
77
}
78
79
0 commit comments