# A component's kustomization.yaml has no kind line, and an overlay lists it under components. What happens?

Kustomize, Medium (Advanced), Troubleshooting. https://k8wiz.com/uquiz/a-components-kustomizationyaml-has-no-kind-line-and-an-overlay-lists-it-under-components-what-happens

- A. Kustomize sees there's a components entry and assumes kind: Component
- B. The build fails, because a missing kind defaults to Kustomization
- C. The build works, but its patches only apply to its own resources
- D. Kustomize ignores the directory and prints a deprecation warning

**Answer:** The build fails, because a missing kind defaults to Kustomization

**Explanation:** When kind is empty, Kustomize fills in Kustomization. Under components that fails with "expected kind 'Component' for path '...' but got 'Kustomization'". The apiVersion line is the optional one: with kind: Component set, Kustomize fills in v1alpha1.
