Skip to content

Improve the vault pod check#143

Merged
mbaldessari merged 2 commits into
validatedpatterns:v1from
mbaldessari:v1-branch3
Jul 2, 2026
Merged

Improve the vault pod check#143
mbaldessari merged 2 commits into
validatedpatterns:v1from
mbaldessari:v1-branch3

Conversation

@mbaldessari

Copy link
Copy Markdown
Contributor

The "Check if the vault pod is present" task (line 19-34) only checks
that the Pod resource exists, not that the container is actually
running. When the vault container is still in ContainerCreating, the
subsequent k8s_exec crashes with a Python ValueError in the k8s_exec
module (not a normal ansible failure), which prevents the until retry
loop from working. The issue was seen while testing the UI in the secret
injection pod

Tested on mcg

The "Check if the vault pod is present" task (line 19-34) only checks
that the Pod resource exists, not that the container is actually
running. When the vault container is still in ContainerCreating, the
subsequent k8s_exec crashes with a Python ValueError in the k8s_exec
module (not a normal ansible failure), which prevents the until retry
loop from working. The issue was seen while testing the UI in the secret
injection pod

Tested on mcg
@mbaldessari mbaldessari merged commit 8533f3c into validatedpatterns:v1 Jul 2, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant