[update] kibana : add install hook and dependencies
The flush-kibana-metadata job was causing issue in loading the kibana dashboard due to conflict in order this is run. Adding dependencies to avoid running jobs simultaneously. Change-Id: If5a2564a8b6a16fb0dbd6a93f2e6e02d91f394dc
This commit is contained in:
parent
c0aa66a9f1
commit
e81583ac3e
@ -41,7 +41,7 @@ spec:
|
||||
labels:
|
||||
{{ tuple $envAll "kibana" "flush_kibana_metadata" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
|
||||
annotations:
|
||||
"helm.sh/hook": post-delete, pre-upgrade
|
||||
"helm.sh/hook": pre-install, post-delete, pre-upgrade
|
||||
"helm.sh/hook-delete-policy": hook-succeeded
|
||||
{{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" | indent 8 }}
|
||||
configmap-bin-hash: {{ tuple "configmap-bin.yaml" . | include "helm-toolkit.utils.hash" }}
|
||||
|
@ -161,17 +161,21 @@ dependencies:
|
||||
- endpoint: internal
|
||||
service: local_image_registry
|
||||
kibana:
|
||||
jobs:
|
||||
- flush-kibana-metadata
|
||||
services:
|
||||
- endpoint: internal
|
||||
service: elasticsearch
|
||||
register_kibana_indexes:
|
||||
jobs:
|
||||
- flush-kibana-metadata
|
||||
services:
|
||||
- endpoint: internal
|
||||
service: kibana
|
||||
flush_kibana_metadata:
|
||||
services:
|
||||
- endpoint: internal
|
||||
service: kibana
|
||||
service: elasticsearch
|
||||
|
||||
jobs:
|
||||
flush_kibana_metadata:
|
||||
|
Loading…
Reference in New Issue
Block a user