openreplay/scripts/helm/app/README.md
2021-05-18 20:42:11 +02:00

37 lines
1.1 KiB
Markdown

## Core OpenReplay application configuration folder
This folder contains configuration for core OpenReplay apps. All applications share common helm chart named *openreplay* which can be overridden by `<application>.yaml` file.
**Below is a sample template.**
```yaml
namespace: app # In which namespace alerts runs.
image:
repository: rg.fr-par.scw.cloud/foss # Which image to use
name: alerts
pullPolicy: IfNotPresent
tag: "latest" # Overrides the image tag whose default is the chart appVersion.
imagePullSecrets:
# If needed credentials to pull the image.
# aws-registry is created using script docker_registry.sh.
- name: aws-registry
service:
type: ClusterIP
port: 9000
resources:
limits:
cpu: 256m
memory: 512Mi
requests:
cpu: 100m
memory: 128Mi
# env vars for the application
env:
ALERT_NOTIFICATION_STRING: http://chalice-openreplay.app.svc.cluster.local:8000/alerts/notifications
CLICKHOUSE_STRING: tcp://clickhouse.db.svc.cluster.local:9000/default
POSTGRES_STRING: postgres://postgresql.db.svc.cluster.local:5432
```