Fix brusnika-stage goalert database and observability readiness

This commit is contained in:
Kochetkov S 2026-06-15 12:36:09 +03:00
parent 805394607a
commit 2b1c8d7bbb
3 changed files with 39 additions and 11 deletions

View File

@ -16,19 +16,15 @@ spec:
imagePullSecrets: imagePullSecrets:
- regcred - regcred
goalert: goalert:
existingSecret:
name: postgresql-secret
keys:
GOALERT_DB_URL: GOALERT_DB_URL
GOALERT_DATA_ENCRYPTION_KEY: GOALERT_DATA_ENCRYPTION_KEY
environment: environment:
GOALERT_HTTP_PREFIX: "" GOALERT_HTTP_PREFIX: ""
postgresql: postgresql:
enabled: true enabled: false
auth:
database: goalert
username: goalert
sslmode: disable
primary:
persistence:
enabled: true
storageClass: csi-disk
size: 10Gi
ingress: ingress:
enabled: false enabled: false
className: nginx className: nginx

View File

@ -5,7 +5,35 @@ metadata:
namespace: openobserve namespace: openobserve
spec: spec:
interval: 5m 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: values:
universal-chart: universal-chart:
services: services:

View File

@ -6,6 +6,10 @@ metadata:
spec: spec:
interval: 5m interval: 5m
timeout: 20m timeout: 20m
install:
disableWait: true
upgrade:
disableWait: true
values: values:
fullnameOverride: prometheus-stack fullnameOverride: prometheus-stack
crds: crds: