Skip to content

Commit

Permalink
Add missing ExternalTrafficPolicy in MeshGateway
Browse files Browse the repository at this point in the history
  • Loading branch information
shturman authored and adamantal committed Nov 3, 2021
1 parent 5b8a0c0 commit acb801a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/resources/istioingress/meshgateway.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ func (r *Reconciler) meshgateway(log logr.Logger, externalListenerConfig v1beta1
PodAnnotations: ingressConfig.IstioIngressConfig.GetAnnotations(),
},
},
ServiceType: ingressConfig.GetServiceType(),
ServiceType: ingressConfig.GetServiceType(),
ServiceExternalTrafficPolicy: ingressConfig.ExternalTrafficPolicy,
},
Ports: generateExternalPorts(r.KafkaCluster,
util.GetBrokerIdsFromStatusAndSpec(r.KafkaCluster.Status.BrokersState, r.KafkaCluster.Spec.Brokers, log),
Expand Down

0 comments on commit acb801a

Please sign in to comment.