Skip to content

Commit

Permalink
Feat: Allow number of forge app replicas to be set
Browse files Browse the repository at this point in the history
fixes #355
  • Loading branch information
hardillb committed Mar 27, 2024
1 parent d136d16 commit e5d7d04
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion helm/flowforge/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ metadata:
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
replicas: 1
replicas: {{ .Values.forge.replicas | default 1 }}
selector:
matchLabels:
{{- include "forge.forgeSelectorLabels" . | nindent 6 }}
Expand Down
3 changes: 3 additions & 0 deletions helm/flowforge/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@
"image": {
"type": "string"
},
"replicas": {
"type": "integer"
},
"registry": {
"type": "string"
},
Expand Down
1 change: 1 addition & 0 deletions helm/flowforge/values.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
forge:
replicas: 1
localPostgresql: true
https: true
projectNamespace: flowforge
Expand Down

0 comments on commit e5d7d04

Please sign in to comment.