pulumi / pulumi-kubernetes-operator

A Kubernetes Operator that automates the deployment of Pulumi Stacks
Apache License 2.0
220 stars 55 forks source link

Provide ability to preserve working directory. #521

Open bacek opened 11 months ago

bacek commented 11 months ago

Pulumi Operator is always cleaning up working directory on reconcile at https://github.com/pulumi/pulumi-kubernetes-operator/blob/7d9e693bc6e27f1e3881ce350cdf7fbde71b26be/pkg/controller/stack/stack_controller.go#L594C34-L594C34

This leads to additional latency on kubernetes deployments due full recreation of python's venv and installing all dependencies.

It would be nice to be able to provide Stack parameter to preserve working directory between runs.

cleverguy25 commented 2 months ago

Added to epic https://github.com/pulumi/pulumi-kubernetes-operator/issues/586