mirror of
https://github.com/kerberos-io/deployment.git
synced 2026-08-23 15:18:32 +00:00
Specify namespace for agent deployment in kind workflow
This commit is contained in:
2
.github/workflows/kind.yaml
vendored
2
.github/workflows/kind.yaml
vendored
@@ -93,7 +93,7 @@ jobs:
|
||||
- name: Install Agent
|
||||
id: install-agent
|
||||
run: |
|
||||
kubectl apply -f ./base/agent/kerberos-agent-deployment.yaml
|
||||
kubectl apply -f ./base/agent/kerberos-agent-deployment.yaml -n kerberos-agent
|
||||
kubectl wait --for=condition=available deployment/agent1 -n kerberos-agent --timeout=300s
|
||||
kubectl get pods -A -o wide
|
||||
kubectl get pods -A -o wide | grep agent1 | awk '{print $3}' | grep -q '1/1' && echo "agent1 pod is running with status 1/1" || (echo "agent1 pod is not running with status 1/1" && exit 1)
|
||||
|
||||
Reference in New Issue
Block a user