k8wiz
Kustomize
Hard
Concepts

What does the openapi field in a kustomization.yaml provide?

Select your answer:

Show answer and explanation

Answer: A schema with merge keys so strategic merge patches handle custom resources

Explanation

Kustomize ships OpenAPI data only for built-in Kubernetes types. The openapi field points at a schema with merge keys and patch strategies for your custom resources, so strategic merge patches can merge their lists instead of replacing them.