mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-04-20 23:36:29 -04:00
Adjust action to not depend on node names
Signed-off-by: Daniel Weiße <dw@edgeless.systems>
This commit is contained in:
parent
f565c5f659
commit
cb94443274
2
.github/actions/e2e_benchmark/action.yml
vendored
2
.github/actions/e2e_benchmark/action.yml
vendored
@ -127,7 +127,7 @@ runs:
|
||||
KUBECONFIG: ${{ inputs.kubeconfig }}
|
||||
TERM: xterm-256color
|
||||
run: |
|
||||
workers="$(kubectl get nodes -o name | grep worker)"
|
||||
workers="$(kubectl get nodes -o name -l '!node-role.kubernetes.io/control-plane')"
|
||||
echo -e "Found workers:\n$workers"
|
||||
server="$(echo "$workers" | tail +1 | head -1 | cut -d '/' -f2)"
|
||||
echo "Server: $server"
|
||||
|
Loading…
x
Reference in New Issue
Block a user