From 7a8232ed01713804f607838c758db9d6cc1623d7 Mon Sep 17 00:00:00 2001 From: Rongfeng Fu Date: Wed, 14 Dec 2022 11:10:10 +0800 Subject: [PATCH] add depends for auto deploy (#153) --- example/autodeploy/all-components.yaml | 2 ++ example/autodeploy/default-example.yaml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/example/autodeploy/all-components.yaml b/example/autodeploy/all-components.yaml index d3ff342..270cf60 100644 --- a/example/autodeploy/all-components.yaml +++ b/example/autodeploy/all-components.yaml @@ -178,6 +178,8 @@ obagent: prometheus: servers: - 192.168.1.5 + depends: + - obagent global: # The working directory for prometheus. prometheus is started under this directory. This is a required field. home_path: /root/prometheus diff --git a/example/autodeploy/default-example.yaml b/example/autodeploy/default-example.yaml index 8c8aecb..fe92596 100644 --- a/example/autodeploy/default-example.yaml +++ b/example/autodeploy/default-example.yaml @@ -158,6 +158,8 @@ obagent: prometheus: servers: - 172.19.33.5 + depends: + - obagent global: # The working directory for prometheus. prometheus is started under this directory. This is a required field. home_path: /root/prometheus