Operator assumes default cluster domain (cluster.local
) is used
#759
Labels
kind/bug
Some behavior is incorrect or out of spec
p1
A bug severe enough to be the next item assigned to an engineer
resolution/fixed
This issue was fixed
What happened?
The operator does not work in kubernetes clusters that are not using the default
cluster.local
domain. The controller cannot connect to workspace pods when a custom domain is used.The root cause of this is that
cluster.local
is hardcoded here:pulumi-kubernetes-operator/operator/internal/controller/auto/workspace_controller.go
Line 398 in b7c71da
Example
It's trying to connect to
stack-of-stacks-70ab85b5-workspace.pulumi-stacks.svc.cluster.local:50051
, but the correct address would bestack-of-stacks-70ab85b5-workspace.pulumi-stacks.svc.local.lab.flostadler.de:50051
Output of
pulumi about
n/a
Additional context
Operator version
v2.0.0-beta.2
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).
The text was updated successfully, but these errors were encountered: