opened
bparees
username_0
with what should be a valid master-config for the build default admission controller:

```
admissionConfig:
  pluginConfig:
    BuildDefaults:
      configuration:
        apiVersion: v1
        env:
          - name: test2
            value: value2
        kind: BuildDefaultsConfig
        resources:
          limits:
            cpu: "400m"
            memory: "600Mi"
          requests:
            cpu: "300m"
            memory: "400Mi"
```

the master fails to start with:

```
F0504 00:37:55.308957    7210 start_master.go:743] Could not start build controller: env[0].name: Required value
```

because the validation of the bulid defaulter env section fails.

setting the env "name" field to "Name" works around this issue, but that should not be necessary.
build defaulter admission controller config loading is broken
issue
created
bparees
username_0
i think this https://github.com/openshift/origin/blob/master/pkg/build/admission/defaults/api/v1/types.go#L5

should have been an import of the v1 package.  not sure why this just broke now though... perhaps rebase related?
comment