Fix brusnika-stage openobserve startup migration
This commit is contained in:
parent
a934e247ed
commit
8d2a76d7b5
@ -15,6 +15,10 @@ spec:
|
|||||||
kind: Deployment
|
kind: Deployment
|
||||||
name: openobserve-web
|
name: openobserve-web
|
||||||
patch: |-
|
patch: |-
|
||||||
|
- op: replace
|
||||||
|
path: /spec/strategy
|
||||||
|
value:
|
||||||
|
type: Recreate
|
||||||
- op: replace
|
- op: replace
|
||||||
path: /spec/template/spec/containers/0/command
|
path: /spec/template/spec/containers/0/command
|
||||||
value:
|
value:
|
||||||
@ -27,6 +31,7 @@ spec:
|
|||||||
set -a
|
set -a
|
||||||
. /vault/secrets/openobserve-env
|
. /vault/secrets/openobserve-env
|
||||||
set +a
|
set +a
|
||||||
|
/openobserve init-db
|
||||||
exec /openobserve
|
exec /openobserve
|
||||||
- op: replace
|
- op: replace
|
||||||
path: /spec/template/spec/containers/0/livenessProbe/initialDelaySeconds
|
path: /spec/template/spec/containers/0/livenessProbe/initialDelaySeconds
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user