Difference between revisions of "Template:Error validating ingress.yaml"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
[[error: error validating]] "[[ingress.yaml]]": [[error validating data]]: [ValidationError([[Ingress.spec.rules]][0].http.paths[0].backend): unknown field "[[serviceName]]" in [[io.k8s.api.networking.v1.IngressBackend]], ValidationError(Ingress.spec.rules[0].http.paths[0].backend): unknown field "[[servicePort]]" in [[io.k8s.api.networking.v1.IngressBackend]]]; if you choose to ignore these errors, turn validation off with [[--validate=false]] | [[error: error validating]] "[[ingress.yaml]]": [[error validating data]]: [ValidationError([[Ingress.spec.rules]][0].http.paths[0].backend): unknown field "[[serviceName]]" in [[io.k8s.api.networking.v1.IngressBackend]], ValidationError(Ingress.spec.rules[0].http.paths[0].backend): unknown field "[[servicePort]]" in [[io.k8s.api.networking.v1.IngressBackend]]]; if you choose to ignore these errors, turn validation off with [[--validate=false]] | ||
[[error: error parsing ingress.yaml: error converting YAML to JSON]]: yaml: line 16: [[mapping values are not allowed in this context]] | [[error: error parsing ingress.yaml: error converting YAML to JSON]]: yaml: line 16: [[mapping values are not allowed in this context]] | ||
+ | The Ingress "youingress" is invalid: [[spec.rules]][0].http.paths[0].backend: Required value: [[port name or number is required]] |
Revision as of 12:26, 6 February 2024
error: error validating "ingress.yaml": error validating data: [ValidationError(Ingress.spec.rules[0].http.paths[0].backend): unknown field "serviceName" in io.k8s.api.networking.v1.IngressBackend, ValidationError(Ingress.spec.rules[0].http.paths[0].backend): unknown field "servicePort" in io.k8s.api.networking.v1.IngressBackend]; if you choose to ignore these errors, turn validation off with --validate=false error: error parsing ingress.yaml: error converting YAML to JSON: yaml: line 16: mapping values are not allowed in this context The Ingress "youingress" is invalid: spec.rules[0].http.paths[0].backend: Required value: port name or number is required
Advertising: