Skip to content

Commit

Permalink
feat: separate replica counts for separate APIs
Browse files Browse the repository at this point in the history
  • Loading branch information
philtweir committed Aug 8, 2024
1 parent a188075 commit c2424c4
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Arches Unofficial Chart Repository [UNOFFICIAL]

## v0.0.10
## v0.0.11

### Getting Started

Expand Down
2 changes: 1 addition & 1 deletion archesproject/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
description: An initial Helm chart for archesproject.org software (unofficial)
name: archesproject
type: application
version: 0.0.10
version: 0.0.11
appVersion: "7.5.1"
keywords:
- arches
Expand Down
2 changes: 1 addition & 1 deletion archesproject/templates/deployment-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
tier: api
{{- include "arches.labels" . | nindent 4 }}
spec:
replicas: {{ .Values.replicaCount }}
replicas: {{ default .Values.replicaCount .Values.api.replicaCount }}
selector:
matchLabels:
tier: api
Expand Down
2 changes: 1 addition & 1 deletion archesproject/templates/deployment-static.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
tier: frontend
{{- include "arches.labels" . | nindent 4 }}
spec:
replicas: {{ .Values.replicaCount }}
replicas: {{ default .Values.replicaCount .Values.staticReplicaCount }}
selector:
matchLabels:
tier: frontend
Expand Down
2 changes: 1 addition & 1 deletion archesproject/templates/deployment-worker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
tier: worker
{{- include "arches.labels" . | nindent 4 }}
spec:
replicas: {{ .Values.replicaCount }}
replicas: {{ default .Values.replicaCount .Values.workerReplicaCount }}
selector:
matchLabels:
tier: worker
Expand Down
2 changes: 2 additions & 0 deletions archesproject/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ global:
secretEnv: {}

replicaCount: 1
workerReplicaCount: 1
staticReplicaCount: 1

image:
repository: flaxandteal/arches
Expand Down

0 comments on commit c2424c4

Please sign in to comment.