name: build-manifests description: build k8s manifests using kustomize with helm support
Build Manifests
Use this skill to build Kubernetes manifests when you have a kustomization.yaml that requires Helm chart inflation.
Instructions
- Navigate to the directory containing the
kustomization.yaml. - Run the following command to build the manifests:
kustomize build . --enable-helm --helm-command helm
Troubleshooting Helm Issues
If the build fails due to missing charts or dependency issues:
- Update Dependencies: Navigate to the directory containing
Chart.yaml(if applicable) or the kustomization, and run:helm dependency update - Check Helm Repo: Ensure the required repositories are added:
helm repo list - Environment: If
kustomizecannot find thehelmbinary, verify the path or explicitly set--helm-commandto the full path of the helm executable.