mirror of
https://github.com/kerberos-io/deployment.git
synced 2026-08-23 15:18:32 +00:00
Update Vault installation to wait for available condition instead of ready for improved deployment accuracy
This commit is contained in:
2
.github/workflows/kind.yaml
vendored
2
.github/workflows/kind.yaml
vendored
@@ -86,7 +86,7 @@ jobs:
|
||||
kubectl apply -f ./base/vault/mongodb-configmap.yaml -n kerberos-vault
|
||||
kubectl apply -f ./base/vault/kerberos-vault-deployment.yaml -n kerberos-vault
|
||||
kubectl apply -f ./base/vault/kerberos-vault-service.yaml -n kerberos-vault
|
||||
kubectl wait --for=condition=ready deployment/vault -n kerberos-vault --timeout=300s
|
||||
kubectl wait --for=condition=available deployment/vault -n kerberos-vault --timeout=300s
|
||||
kubectl get pods -A -o wide
|
||||
kubectl get pods -A -o wide | grep kerberos-vault | awk '{print $3}' | grep -q '1/1' && echo "kerberos-vault pod is running with status 1/1" || (echo "kerberos-vault pod is not running with status 1/1" && exit 1)
|
||||
- name: Install Agent
|
||||
|
||||
Reference in New Issue
Block a user