openreplay/scripts/helmcharts/openreplay/values.yaml
rjshrjndrn 2c975c768e feat: refactor assist-api chart and remove ingress routing
- Add assist-api as new chart dependency with conditional enablement
- Remove Kafka environment variables from assist-api deployment
- Add REDIS_CACHE_ENABLED with enterprise license conditional logic
- Delete assist-api ingress.yaml for direct service routing
- Remove S3 configuration from assist deployment
- Add openreplay.assist_url helper for service discovery
- Configure assist-api as disabled by default in values

BREAKING CHANGE: assist-api no longer uses ingress routing and
requires direct service access. S3 configuration removed from
assist service.

Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2025-05-27 16:40:05 +02:00

70 lines
1.8 KiB
YAML

migrationJob:
podAnnotations:
linkerd.io/inject: disabled
migration:
env: {}
deployment:
argo: false
forceMigration: false
skipMigration: false
redis: &redis
tls:
enabled: false
ingress-nginx:
enabled: true
controller:
config:
http-snippet: |-
# Extract sessionid from peerId, it'll be used for sticky session.
map $arg_peerId $sessionid {
default "";
"~.*-(\d+)(?:-.*|$)" $1;
}
admissionWebhooks:
patch:
podAnnotations:
linkerd.io/inject: disabled
# For enterpriseEdition Only
vault: &vault
vaultHost: databases-vault.db.svc.cluster.local:8200
annotations:
vault.hashicorp.com/agent-cache-enable: "true"
vault.hashicorp.com/agent-inject: "true"
vault.hashicorp.com/agent-inject-token: "true"
vault.hashicorp.com/template-static-secret-render-interval: 2m
# vault.hashicorp.com/log-level: debug
vault.hashicorp.com/agent-run-as-same-user: "true"
vault.hashicorp.com/agent-inject-command-processor.properties: |
pkill -TERM openreplay
vault.hashicorp.com/role: pgaccess
vault.hashicorp.com/agent-inject-secret-processor.properties: database/creds/db-app
vault.hashicorp.com/agent-inject-template-processor.properties: |
{{- with secret "database/creds/db-app" -}}
POSTGRES_STRING=postgres://{{.Data.username}}:{{.Data.password}}@postgresql.db.svc.cluster.local:5432/postgres
{{- end -}}
assist-api:
enabled: false
minio:
# Force initialize minio, even if the instance is not provisioned by OR
forceInit: false
global:
appLabels: {}
vault: *vault
redis: *redis
clusterDomain: "svc.cluster.local"
env: {}
# If you're accessing OpenReplay with http, then update the value to http
ORSecureAccess: true
orTmpDir: "/openreplay/storage/nfs"
chalice:
env:
CH_COMPRESSION: "false"