diff --git a/deployments/liqo/templates/liqo-gateway-deployment.yaml b/deployments/liqo/templates/liqo-gateway-deployment.yaml index 3833f0fd56..ed56061095 100644 --- a/deployments/liqo/templates/liqo-gateway-deployment.yaml +++ b/deployments/liqo/templates/liqo-gateway-deployment.yaml @@ -45,7 +45,9 @@ spec: command: ["/usr/bin/liqonet"] args: - --run-as=liqo-gateway + {{- if gt .Values.gateway.replicas 1.0 }} - --gateway.leader-elect=true + {{- end }} - --gateway.mtu={{ .Values.networking.mtu }} - --gateway.listening-port={{ .Values.gateway.config.listeningPort }} {{- if .Values.gateway.metrics.enabled }}