Ruslan Aliev e99dfc1c84 Add run migrator job prior running grafana pods
During the first run, grafana will run migrator job, which populates
necessary fields in database. Previously, if there are two or more
grafana pods which start up simultaneously, it causes the race condition
for database access and finally one of the pods will fail (in some
cases both of them), leaving the grafana database in incomplete state.

Signed-off-by: Ruslan Aliev <raliev@mirantis.com>
Change-Id: I5a7993b3cad2d48af3f73218d6c61c216520e1c5
2022-06-14 21:31:33 -05:00

26 lines
830 B
YAML

# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
---
apiVersion: v1
appVersion: v7.4.5
description: OpenStack-Helm Grafana
name: grafana
version: 0.1.14
home: https://grafana.com/
sources:
- https://github.com/grafana/grafana
- https://opendev.org/openstack/openstack-helm-addons
maintainers:
- name: OpenStack-Helm Authors
...