Open dyrnq opened 3 years ago
kubectl get csr --no-headers -o jsonpath='{.items[*].metadata.name}' | xargs -r kubectl certificate approve
( kubectl get csr --no-headers | grep -i 'pending' | awk '{print $1}' ) | xargs -r kubectl certificate approve
xref: https://github.com/kubernetes/kubernetes/issues/73356