kubectl wait is not supported for daemonset (#296)

Signed-off-by: Fabian Kammel <fk@edgeless.systems>
This commit is contained in:
Fabian Kammel 2022-07-25 11:07:21 +02:00 committed by GitHub
parent aacbf9dc70
commit ae13163fb7

View File

@ -41,7 +41,7 @@ runs:
# for why we ignore certain measurement values. # for why we ignore certain measurement values.
- name: Fetch PCRs - name: Fetch PCRs
run: | run: |
KUBECONFIG="$PWD/constellation-admin.conf" kubectl wait ds/verification-service -n kube-system --for condition=available KUBECONFIG="$PWD/constellation-admin.conf" kubectl rollout status ds/verification-service -n kube-system --timeout=3m
CONSTELL_IP=$(jq -r ".bootstrapperhost" constellation-state.json) CONSTELL_IP=$(jq -r ".bootstrapperhost" constellation-state.json)
pcr-reader --constell-ip ${CONSTELL_IP} -format yaml > measurements.yaml pcr-reader --constell-ip ${CONSTELL_IP} -format yaml > measurements.yaml
case $CSP in case $CSP in