Cilium Operator replicas configuration (#9894)
Signed-off-by: Fiala, JiriX <jirix.fiala@intel.com>pull/9879/head
parent
cc382f2412
commit
9b37699d0d
|
@ -8,7 +8,11 @@ metadata:
|
||||||
io.cilium/app: operator
|
io.cilium/app: operator
|
||||||
name: cilium-operator
|
name: cilium-operator
|
||||||
spec:
|
spec:
|
||||||
|
{% if groups.k8s_cluster | length == 1 %}
|
||||||
|
replicas: 1
|
||||||
|
{% else %}
|
||||||
replicas: {{ cilium_operator_replicas }}
|
replicas: {{ cilium_operator_replicas }}
|
||||||
|
{% endif %}
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
io.cilium/app: operator
|
io.cilium/app: operator
|
||||||
|
|
Loading…
Reference in New Issue