Fix spelling error
This just fixes a small spelling error in cluster-objects.sh Change-Id: I01c9c9a3f09e1ea79e2644e2d9e8b6b8e2177215
This commit is contained in:
parent
9ec57b0290
commit
9bea78f20c
|
@ -38,7 +38,7 @@ function get_objects () {
|
|||
export NAME=${input[1]#*/}
|
||||
echo "${OBJECT}/${NAME}"
|
||||
export BASE_DIR="${BASE_DIR:="/tmp"}"
|
||||
DIR="${BASE_DIR}/ojects/cluster/${OBJECT}"
|
||||
DIR="${BASE_DIR}/objects/cluster/${OBJECT}"
|
||||
mkdir -p ${DIR}
|
||||
kubectl get ${OBJECT} ${NAME} -o yaml > "${DIR}/${NAME}.yaml"
|
||||
kubectl describe ${OBJECT} ${NAME} > "${DIR}/${NAME}.txt"
|
||||
|
|
Loading…
Reference in New Issue