k8wiz
Kustomize
Medium
Troubleshooting

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

Select your answer:

Show answer and explanation

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.

Read more about Kustomize