apiVersion and kind properties. Although Kustomize provides default values if they are omitted, hardcoding these fields enhances clarity and safeguards against potential issues that may arise from future changes to default settings.
Explicitly specifying
apiVersion and kind promotes better maintainability and compatibility across different environments and Kustomize versions.apiVersion and kind properties clearly defined: