Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: postgress-operator validation #67

Merged
merged 11 commits into from
Oct 28, 2024
10 changes: 8 additions & 2 deletions common/zarf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,15 @@ components:
wait:
cluster:
kind: packages.uds.dev
name: postgres
namespace: postgres
name: postgres-operator
cmharden marked this conversation as resolved.
Show resolved Hide resolved
namespace: postgres-operator
condition: "'{.status.phase}'=Ready"
- description: Validate Postgres Package
maxTotalSeconds: 300
cmd: |
if [ ./zarf tools kubectl get packages.uds.dev -n postgres ]; then
Racer159 marked this conversation as resolved.
Show resolved Hide resolved
./zarf tools wait-for packages.uds.dev -n postgres '{.status.phase}'=Ready
Racer159 marked this conversation as resolved.
Show resolved Hide resolved
fi
- description: Postgres Operator to be Healthy
maxTotalSeconds: 90
wait:
Expand Down
Loading