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
@@ -71,6 +71,7 @@ kind: ConfigMap
metadata: metadata:
name: coredns name: coredns
namespace: kube-system namespace: kube-system
data:
Corefile: | Corefile: |
.:53 { .:53 {
errors errors
@@ -139,6 +140,7 @@ kind: ConfigMap
metadata: metadata:
name: coredns name: coredns
namespace: kube-system namespace: kube-system
data:
Corefile: | Corefile: |
.:53 { .:53 {
errors errors