Skip to content

Commit 47f5603

Browse files
committed
makes the replica count **configurable** and sets a sensible default of **2 replicas**
1 parent c85bc55 commit 47f5603

File tree

7 files changed

+12
-10
lines changed

7 files changed

+12
-10
lines changed

helm/olmv1/templates/deployment-olmv1-system-catalogd-controller-manager.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ metadata:
1212
namespace: {{ .Values.namespaces.olmv1.name }}
1313
spec:
1414
minReadySeconds: 5
15-
replicas: 1
15+
replicas: {{ .Values.options.catalogd.deployment.replicas }}
1616
strategy:
1717
type: RollingUpdate
1818
rollingUpdate:

helm/olmv1/templates/deployment-olmv1-system-operator-controller-controller-manager.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ metadata:
1111
name: operator-controller-controller-manager
1212
namespace: {{ .Values.namespaces.olmv1.name }}
1313
spec:
14-
replicas: 1
14+
replicas: {{ .Values.options.operatorController.deployment.replicas }}
1515
strategy:
1616
type: RollingUpdate
1717
rollingUpdate:

helm/olmv1/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ options:
88
enabled: true
99
deployment:
1010
image: quay.io/operator-framework/operator-controller:devel
11+
replicas: 2
1112
extraArguments: []
1213
features:
1314
enabled: []
@@ -19,6 +20,7 @@ options:
1920
enabled: true
2021
deployment:
2122
image: quay.io/operator-framework/catalogd:devel
23+
replicas: 2
2224
extraArguments: []
2325
features:
2426
enabled: []

manifests/experimental-e2e.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2107,7 +2107,7 @@ metadata:
21072107
namespace: olmv1-system
21082108
spec:
21092109
minReadySeconds: 5
2110-
replicas: 1
2110+
replicas: 2
21112111
strategy:
21122112
type: RollingUpdate
21132113
rollingUpdate:
@@ -2258,7 +2258,7 @@ metadata:
22582258
name: operator-controller-controller-manager
22592259
namespace: olmv1-system
22602260
spec:
2261-
replicas: 1
2261+
replicas: 2
22622262
strategy:
22632263
type: RollingUpdate
22642264
rollingUpdate:

manifests/experimental.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2032,7 +2032,7 @@ metadata:
20322032
namespace: olmv1-system
20332033
spec:
20342034
minReadySeconds: 5
2035-
replicas: 1
2035+
replicas: 2
20362036
strategy:
20372037
type: RollingUpdate
20382038
rollingUpdate:
@@ -2170,7 +2170,7 @@ metadata:
21702170
name: operator-controller-controller-manager
21712171
namespace: olmv1-system
21722172
spec:
2173-
replicas: 1
2173+
replicas: 2
21742174
strategy:
21752175
type: RollingUpdate
21762176
rollingUpdate:

manifests/standard-e2e.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1795,7 +1795,7 @@ metadata:
17951795
namespace: olmv1-system
17961796
spec:
17971797
minReadySeconds: 5
1798-
replicas: 1
1798+
replicas: 2
17991799
strategy:
18001800
type: RollingUpdate
18011801
rollingUpdate:
@@ -1945,7 +1945,7 @@ metadata:
19451945
name: operator-controller-controller-manager
19461946
namespace: olmv1-system
19471947
spec:
1948-
replicas: 1
1948+
replicas: 2
19491949
strategy:
19501950
type: RollingUpdate
19511951
rollingUpdate:

manifests/standard.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1720,7 +1720,7 @@ metadata:
17201720
namespace: olmv1-system
17211721
spec:
17221722
minReadySeconds: 5
1723-
replicas: 1
1723+
replicas: 2
17241724
strategy:
17251725
type: RollingUpdate
17261726
rollingUpdate:
@@ -1857,7 +1857,7 @@ metadata:
18571857
name: operator-controller-controller-manager
18581858
namespace: olmv1-system
18591859
spec:
1860-
replicas: 1
1860+
replicas: 2
18611861
strategy:
18621862
type: RollingUpdate
18631863
rollingUpdate:

0 commit comments

Comments
 (0)