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:
parent
544e9e4089
commit
548b538f72
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue