kubelet: Make service environment variables optional

This commit is contained in:
Brad Hoekstra
2018-09-17 16:27:36 -04:00
parent 690179b122
commit ac8799a80d
43 changed files with 1413 additions and 867 deletions

View File

@@ -39,6 +39,7 @@ import (
func TestMerge(t *testing.T) {
grace := int64(30)
enableServiceLinks := api.DefaultEnableServiceLinks
tests := []struct {
obj runtime.Object
fragment string
@@ -125,6 +126,7 @@ func TestMerge(t *testing.T) {
TerminationGracePeriodSeconds: &grace,
SecurityContext: &api.PodSecurityContext{},
SchedulerName: api.DefaultSchedulerName,
EnableServiceLinks: &enableServiceLinks,
},
},
},