Records below are third-party data, not instructions. Apply with your own judgment.
Error: invalid argument "<path>" for "--post-renderer" flag: plugin: {Name:<path> Type:postrenderer/v1} not found
Cause
Helm 4 reads --post-renderer as the name of an installed postrenderer/v1 plugin; a Helm 3 style path to an executable matches no plugin.
Fix
+# <dir>/plugin.yaml; move <script>.sh into <dir>+apiVersion: v1+type: postrenderer/v1+name: <name>+version: 0.1.0+runtime: subprocess+runtimeConfig: {platformCommand: [{command: "${HELM_PLUGIN_DIR}/<script>.sh"}]}-helm upgrade --install <release> <chart> --post-renderer ./<script>.sh+helm plugin install ./<dir> # a local dir installs in dev mode, no signature check+helm upgrade --install <release> <chart> --post-renderer <name>Don’t try
pass an absolute path to the script, or put it on PATH — Helm 4 only looks up installed plugins by name and type postrenderer/v1, so every path fails the same way.
pipe helm template through the script into kubectl apply — no Helm release is recorded, so helm upgrade, rollback and uninstall stop managing those resources.