mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-22 14:20:19 +00:00
cleanup: Fix paths and syntax
Minor cleanup of changed paths and deprecated syntax Signed-off-by: Lennart Jern <lennart.jern@est.tech>
This commit is contained in:
parent
b7b491c097
commit
e6c97b9593
@ -148,7 +148,7 @@ for more information.
|
||||
**Deploy Ceph configuration ConfigMap for CSI pods:**
|
||||
|
||||
```bash
|
||||
kubectl create -f ../../../example/ceph-config.yaml
|
||||
kubectl create -f ../../../examples/ceph-conf.yaml
|
||||
```
|
||||
|
||||
**Deploy CSI sidecar containers:**
|
||||
|
@ -20,7 +20,7 @@ NAMESPACE="${1}"
|
||||
set -e
|
||||
|
||||
TOOLBOX_POD=$(kubectl -n rook-ceph get pods -l app=rook-ceph-tools -o=jsonpath='{.items[0].metadata.name}')
|
||||
FS_ID=$(kubectl -n rook-ceph exec "${TOOLBOX_POD}" ceph fsid)
|
||||
FS_ID=$(kubectl -n rook-ceph exec "${TOOLBOX_POD}" -- ceph fsid)
|
||||
MONITOR=$(kubectl -n rook-ceph get services -l app=rook-ceph-mon -o=jsonpath='{.items[0].spec.clusterIP}:{.items[0].spec.ports[0].port}')
|
||||
|
||||
# in case the ConfigMap already exists, remove it before recreating
|
||||
|
@ -18,7 +18,7 @@ set -e
|
||||
WORKDIR=$(dirname "${0}")
|
||||
|
||||
TOOLBOX_POD=$(kubectl -n rook-ceph get pods --no-headers -l app=rook-ceph-tools -o=jsonpath='{.items[0].metadata.name}')
|
||||
FS_ID=$(kubectl -n rook-ceph exec "${TOOLBOX_POD}" ceph fsid)
|
||||
FS_ID=$(kubectl -n rook-ceph exec "${TOOLBOX_POD}" -- ceph fsid)
|
||||
|
||||
for sc in "${WORKDIR}"/sc-*.yaml.in
|
||||
do
|
||||
|
@ -85,7 +85,7 @@ function install_minikube() {
|
||||
fi
|
||||
|
||||
echo "Installing minikube. Version: ${MINIKUBE_VERSION}"
|
||||
curl -Lo minikube https://storage.googleapis.com/minikube/releases/"${MINIKUBE_VERSION}"/minikube-linux-"${MINIKUBE_ARCH}" && chmod +x minikube && mv minikube /usr/local/bin/
|
||||
curl -Lo minikube https://storage.googleapis.com/minikube/releases/"${MINIKUBE_VERSION}"/minikube-linux-"${MINIKUBE_ARCH}" && chmod +x minikube && sudo mv minikube /usr/local/bin/
|
||||
}
|
||||
|
||||
function detect_kubectl() {
|
||||
|
Loading…
Reference in New Issue
Block a user