Skip to content

Commit

Permalink
allow num replicas (#1655)
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Kalantar <[email protected]>
  • Loading branch information
kalantar authored Nov 29, 2023
1 parent d6b68de commit 5ddd067
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/controller/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: controller
version: 0.18.4
version: 0.18.5
description: Iter8 controller controller
type: application
keywords:
Expand Down
1 change: 1 addition & 0 deletions charts/controller/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ metadata:
{{ template "iter8-controller.labels" . }}
spec:
serviceName: {{ .Release.Name }}
replicas: {{ default 1 .Values.replicas | int }}
selector:
matchLabels:
app.kubernetes.io/name: {{ template "iter8-controller.name" . }}
Expand Down
1 change: 1 addition & 0 deletions charts/controller/values.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
### Controller image
image: iter8/iter8:0.18
replicas: 1

### default resync time for controller
defaultResync: 15m
Expand Down

0 comments on commit 5ddd067

Please sign in to comment.