Skip to content

Commit

Permalink
Use absolute path to oc binary
Browse files Browse the repository at this point in the history
  • Loading branch information
rbo committed Apr 6, 2021
1 parent 500da78 commit 7e13abe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ansible/roles/openshift-4-cluster/tasks/post-install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
do
/opt/openshift-client-{{ openshift_version }}/oc --kubeconfig="{{ openshift_install_dir }}/auth/kubeconfig" get csr --no-headers | \
awk '/Pending/ {print $1}' | \
xargs --no-run-if-empty oc --kubeconfig="{{ openshift_install_dir }}/auth/kubeconfig" adm certificate approve
xargs --no-run-if-empty /opt/openshift-client-{{ openshift_version }}/oc --kubeconfig="{{ openshift_install_dir }}/auth/kubeconfig" adm certificate approve
sleep 1
done
Expand Down

0 comments on commit 7e13abe

Please sign in to comment.