Skip to content

Commit

Permalink
ExternalIP fix for spire server service
Browse files Browse the repository at this point in the history
Signed-off-by: PrimalPimmy <[email protected]>
  • Loading branch information
PrimalPimmy committed Feb 18, 2025
1 parent 5ec0cfc commit 37f5490
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/pkg/reconcilers/spire-bootstrap/reconciler.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ func (r *reconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Resu

// Construct the service address
serviceAddress := fmt.Sprintf("%s:%s", clusterIP, port)
spireAgentCM, err := resource.CreateSpireAgentConfigMap("spire-agent", "spire", cl.Name, clusterIP[0], port)
spireAgentCM, err := resource.CreateSpireAgentConfigMap("spire-agent", "spire", cl.Name, clusterIP[1], port)
if err != nil {
return ctrl.Result{}, fmt.Errorf("failed to create spireAgent ConfigMap: %v", err)
}
Expand Down

0 comments on commit 37f5490

Please sign in to comment.