Bug in coredns ConfigMap spec (#10585)

Missing the `data` label in configmap spec.  Attempting to create the file as is results in:
```
error: error validating "STDIN": error validating data: ValidationError(ConfigMap): unknown field "Corefile" in io.k8s.api.core.v1.ConfigMap; if you choose to ignore these errors, turn validation off with --validate=false
```
This commit is contained in:
Gregory Hanson 2018-10-17 19:27:28 -05:00 committed by k8s-ci-robot
parent 544e9e4089
commit 548b538f72
1 changed files with 4 additions and 2 deletions

View File

@ -71,7 +71,8 @@ kind: ConfigMap
metadata:
name: coredns
namespace: kube-system
Corefile: |
data:
Corefile: |
.:53 {
errors
health
@ -139,7 +140,8 @@ kind: ConfigMap
metadata:
name: coredns
namespace: kube-system
Corefile: |
data:
Corefile: |
.:53 {
errors
health