-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Re-implement UseLocalStackOnly feature #674
Comments
Added to epic #586 |
This feature is already implemented and initialization will fail. This is where we create the Workspace object: pulumi-kubernetes-operator/operator/internal/controller/pulumi/stack_controller.go Lines 1165 to 1168 in d52dbe7
Where the workspace controller talks to the agent: pulumi-kubernetes-operator/operator/internal/controller/auto/workspace_controller.go Lines 256 to 261 in d52dbe7
In the agent code where we do not create the stack if it doesn't exist: pulumi-kubernetes-operator/agent/pkg/server/server.go Lines 186 to 197 in d52dbe7
I have manually tested that this feature works. |
Cannot close issue:
Please fix these problems and try again. |
The
Stack
has a featureUseLocalStackOnly
that, if true, prevents the system from creating new stacks in the backend. See #186.The
Workspace
API has astacks
field to populate the workspace with stacks, and invokes the RPC layer to upsert each stack. Seems we must plumb a flag to support this.The text was updated successfully, but these errors were encountered: