refactor(gateway): make node name explicitly configurable in spec
This commit is contained in:
parent
0b551325b9
commit
a5c170a478
3 changed files with 9 additions and 1 deletions
internal/controller
|
@ -191,7 +191,7 @@ func (r *APIGatewayReconciler) reconcileEnvoyConfig(
|
|||
Port uint16
|
||||
}
|
||||
|
||||
instance := fmt.Sprintf("%s:%s", gateway.Name, gateway.Namespace)
|
||||
instance := fmt.Sprintf("%s:%s", gateway.Spec.Envoy.NodeName, gateway.Namespace)
|
||||
|
||||
tmplData := struct {
|
||||
Node nodeSpec
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue