Set container env var using services. (#573)

* Introduce service env vars.
This commit is contained in:
Yash Desai
2019-04-17 11:30:39 -07:00
committed by Brian Goff
parent 6cb323eec2
commit de32752395
10 changed files with 1389 additions and 5 deletions

View File

@@ -123,8 +123,8 @@ func TestGetConfigMap(t *testing.T) {
func TestListServices(t *testing.T) {
var (
lsServices = []*v1.Service{
testutil.FakeService("namespace-0", "service-0"),
testutil.FakeService("namespace-1", "service-1"),
testutil.FakeService("namespace-0", "service-0", "1.2.3.1", "TCP", 8081),
testutil.FakeService("namespace-1", "service-1", "1.2.3.2", "TCP", 8082),
}
)