Skip to content

Commit

Permalink
Option to add replicas to celostats
Browse files Browse the repository at this point in the history
  • Loading branch information
alvarof2 committed Oct 29, 2024
1 parent 41b8813 commit 5c4cb2a
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/celostats/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
name: celostats
apiVersion: v2
version: 0.1.2
version: 0.1.3
description: Chart which is used to deploy a celostats setup for a celo testnet
home: https://clabs.co
sources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ metadata:
heritage: {{ .Release.Service }}
component: celostats-frontend
spec:
replicas: 1
replicas: {{ .Values.celostats.replicas.frontend }}
selector:
matchLabels:
app: celostats
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ metadata:
heritage: {{ .Release.Service }}
component: celostats-server
spec:
replicas: 1
replicas: {{ .Values.celostats.replicas.server }}
selector:
matchLabels:
app: celostats
Expand Down
5 changes: 5 additions & 0 deletions charts/celostats/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ imagePullPolicy: IfNotPresent
nodeSelector: {}

celostats:
replicas:
# -- Server replicas
server: 1
# -- Frontend replicas
frontend: 1
image:
# -- Celostat-server image and tag
server:
Expand Down

0 comments on commit 5c4cb2a

Please sign in to comment.