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:
committed by
k8s-ci-robot
parent
544e9e4089
commit
548b538f72
@@ -71,7 +71,8 @@ kind: ConfigMap
|
|||||||
metadata:
|
metadata:
|
||||||
name: coredns
|
name: coredns
|
||||||
namespace: kube-system
|
namespace: kube-system
|
||||||
Corefile: |
|
data:
|
||||||
|
Corefile: |
|
||||||
.:53 {
|
.:53 {
|
||||||
errors
|
errors
|
||||||
health
|
health
|
||||||
@@ -139,7 +140,8 @@ kind: ConfigMap
|
|||||||
metadata:
|
metadata:
|
||||||
name: coredns
|
name: coredns
|
||||||
namespace: kube-system
|
namespace: kube-system
|
||||||
Corefile: |
|
data:
|
||||||
|
Corefile: |
|
||||||
.:53 {
|
.:53 {
|
||||||
errors
|
errors
|
||||||
health
|
health
|
||||||
|
|||||||
Reference in New Issue
Block a user