#!/bin/sh | |
# https://bit.ly/2L80Ojm | |
POD=$( oc get pod -n glusterfs | grep heketi | cut -f1 -d' ' ) | |
eval $(oc rsh $POD set | grep -i heketi ) | |
oc rsh $POD heketi-cli --server $SERVER --user admin --secret $HEKETI_ADMIN_KEY |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment