Fix brusnika-stage goalert database and observability readiness
This commit is contained in:
parent
805394607a
commit
2b1c8d7bbb
@ -16,19 +16,15 @@ spec:
|
||||
imagePullSecrets:
|
||||
- regcred
|
||||
goalert:
|
||||
existingSecret:
|
||||
name: postgresql-secret
|
||||
keys:
|
||||
GOALERT_DB_URL: GOALERT_DB_URL
|
||||
GOALERT_DATA_ENCRYPTION_KEY: GOALERT_DATA_ENCRYPTION_KEY
|
||||
environment:
|
||||
GOALERT_HTTP_PREFIX: ""
|
||||
postgresql:
|
||||
enabled: true
|
||||
auth:
|
||||
database: goalert
|
||||
username: goalert
|
||||
sslmode: disable
|
||||
primary:
|
||||
persistence:
|
||||
enabled: true
|
||||
storageClass: csi-disk
|
||||
size: 10Gi
|
||||
enabled: false
|
||||
ingress:
|
||||
enabled: false
|
||||
className: nginx
|
||||
|
||||
@ -5,7 +5,35 @@ metadata:
|
||||
namespace: openobserve
|
||||
spec:
|
||||
interval: 5m
|
||||
timeout: 10m
|
||||
timeout: 30m
|
||||
postRenderers:
|
||||
- kustomize:
|
||||
patches:
|
||||
- target:
|
||||
group: apps
|
||||
version: v1
|
||||
kind: Deployment
|
||||
name: openobserve-web
|
||||
patch: |-
|
||||
- op: replace
|
||||
path: /spec/template/spec/containers/0/command
|
||||
value:
|
||||
- /bin/sh
|
||||
- -ec
|
||||
- op: replace
|
||||
path: /spec/template/spec/containers/0/args
|
||||
value:
|
||||
- |
|
||||
set -a
|
||||
. /vault/secrets/openobserve-env
|
||||
set +a
|
||||
exec /openobserve
|
||||
- op: replace
|
||||
path: /spec/template/spec/containers/0/livenessProbe/initialDelaySeconds
|
||||
value: 300
|
||||
- op: replace
|
||||
path: /spec/template/spec/containers/0/readinessProbe/initialDelaySeconds
|
||||
value: 60
|
||||
values:
|
||||
universal-chart:
|
||||
services:
|
||||
|
||||
@ -6,6 +6,10 @@ metadata:
|
||||
spec:
|
||||
interval: 5m
|
||||
timeout: 20m
|
||||
install:
|
||||
disableWait: true
|
||||
upgrade:
|
||||
disableWait: true
|
||||
values:
|
||||
fullnameOverride: prometheus-stack
|
||||
crds:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user