Currently, Lite Mode is automatically applied to all Pull Request deployments. While stripping HPAs/PDBs and limiting replicas to 1 is excellent for resource management in the BCGov platform, it prevents developers from testing these manifests in a sandboxed environment.
Proposal: Add a lite_mode input (boolean).
- Default: true for PRs (to maintain existing behavior).
- If set to false, the action should skip the object removal and replica-limiting logic, even in PR namespaces.
This allows devs to actually verify their scaling logic before it hits the "Big Three" (DEV/TEST/PROD) namespaces.
Currently, Lite Mode is automatically applied to all Pull Request deployments. While stripping HPAs/PDBs and limiting replicas to 1 is excellent for resource management in the BCGov platform, it prevents developers from testing these manifests in a sandboxed environment.
Proposal: Add a lite_mode input (boolean).
This allows devs to actually verify their scaling logic before it hits the "Big Three" (DEV/TEST/PROD) namespaces.