Show OpenBao ceremony as next action
This commit is contained in:
parent
e45dd4f9eb
commit
07c98b564a
1 changed files with 4 additions and 0 deletions
|
|
@ -421,6 +421,10 @@ def kit_next_action(kit_gates: list[Gate]) -> str:
|
|||
|
||||
def next_action(gates: list[Gate], kit_gates: list[Gate] | None = None) -> str:
|
||||
for gate in gates:
|
||||
if gate.status == "human":
|
||||
if gate.name == "OpenBao init ceremony":
|
||||
return "Run attended OpenBao init ceremony"
|
||||
return gate.name
|
||||
if gate.status == "blocked":
|
||||
if gate.name == "King credential kit":
|
||||
if kit_gates is not None:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue