Skip to content

Commit

Permalink
Merge pull request #419 from celo-org/celostats-replicas
Browse files Browse the repository at this point in the history
Option to add replicas to celostats
  • Loading branch information
alvarof2 authored Oct 29, 2024
2 parents 41b8813 + 04cbcb5 commit 54ac9d7
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 4 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
4 changes: 3 additions & 1 deletion charts/celostats/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# celostats

![Version: 0.1.2](https://img.shields.io/badge/Version-0.1.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: latest](https://img.shields.io/badge/AppVersion-latest-informational?style=flat-square)
![Version: 0.1.3](https://img.shields.io/badge/Version-0.1.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: latest](https://img.shields.io/badge/AppVersion-latest-informational?style=flat-square)

Chart which is used to deploy a celostats setup for a celo testnet

Expand All @@ -26,6 +26,8 @@ Chart which is used to deploy a celostats setup for a celo testnet
| celostats.banned_addresses | list | `[]` | Banned addresses list |
| celostats.image.frontend | object | `{"repository":"us-west1-docker.pkg.dev/devopsre/celostats-server/celostats-frontend","tag":"latest"}` | Celostat-frontend image and tag |
| celostats.image.server | object | `{"repository":"us-west1-docker.pkg.dev/devopsre/celostats-server/celostats-server","tag":"latest"}` | Celostat-server image and tag |
| celostats.replicas.frontend | int | `1` | Frontend replicas |
| celostats.replicas.server | int | `1` | Server replicas |
| celostats.secrets | object | `{}` | |
| celostats.service | object | `{"type":"NodePort"}` | Service type |
| celostats.trusted_addresses | list | `[]` | Trusted addresses list |
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 54ac9d7

Please sign in to comment.