Closed blampe closed 1 week ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 49.57%. Comparing base (
2a67d4c
) to head (163573b
). Report is 2 commits behind head on v2.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Turns out we already plumb target from Stack → Update → Agent → Auto API:
https://github.com/pulumi/pulumi-kubernetes-operator/blob/2a67d4c436a95073de99b0bebcf77ea5f146e5f6/operator/internal/controller/pulumi/stack_controller.go#L1260-L1261
https://github.com/pulumi/pulumi-kubernetes-operator/blob/2a67d4c436a95073de99b0bebcf77ea5f146e5f6/operator/internal/controller/auto/update_controller.go#L214-L215
https://github.com/pulumi/pulumi-kubernetes-operator/blob/2a67d4c436a95073de99b0bebcf77ea5f146e5f6/agent/pkg/server/server.go#L486-L490
This adds a small E2E test around the behavior.