diff --git a/api/deploy/ocp/scc.yaml b/api/deploy/ocp/scc.yaml index c5903f330..921a651a3 100644 --- a/api/deploy/ocp/scc.yaml +++ b/api/deploy/ocp/scc.yaml @@ -10,7 +10,7 @@ allowHostNetwork: true # This need to be set to true as we use HostPath allowHostDirVolumePlugin: true priority: -# SYS_ADMIN is needed for rbd to execture rbd map command +# SYS_ADMIN is needed for rbd to execute rbd map command allowedCapabilities: ["SYS_ADMIN"] # Needed as we run liveness container on daemonset pods allowHostPorts: true diff --git a/deploy/scc.yaml b/deploy/scc.yaml index e4fb9595a..592fd2748 100644 --- a/deploy/scc.yaml +++ b/deploy/scc.yaml @@ -17,7 +17,7 @@ allowHostNetwork: true # This need to be set to true as we use HostPath allowHostDirVolumePlugin: true priority: -# SYS_ADMIN is needed for rbd to execture rbd map command +# SYS_ADMIN is needed for rbd to execute rbd map command allowedCapabilities: ["SYS_ADMIN"] # Needed as we run liveness container on daemonset pods allowHostPorts: true diff --git a/e2e/rbd.go b/e2e/rbd.go index 6c1800778..95b0a6067 100644 --- a/e2e/rbd.go +++ b/e2e/rbd.go @@ -3697,7 +3697,7 @@ var _ = Describe("RBD", func() { validateRBDImageCount(f, 0, defaultRBDPool) validateOmapCount(f, 0, rbdType, defaultRBDPool, volumesType) - // Create a PVC and bind it to an app within the namesapce + // Create a PVC and bind it to an app within the namespace err = validatePVCAndAppBinding(pvcPath, appPath, f) if err != nil { framework.Failf("failed to validate pvc and application binding: %v", err) diff --git a/scripts/rook.sh b/scripts/rook.sh index 1b650eaa5..1286e1341 100755 --- a/scripts/rook.sh +++ b/scripts/rook.sh @@ -218,7 +218,7 @@ function check_rbd_stat() { else RBD_POOL_NAME=$1 fi - # Rook creates a detault pool with name device_health_metrics for + # Rook creates a default pool with name device_health_metrics for # device-health-metrics CephBlockPool CR if [[ "${RBD_POOL_NAME}" == "device-health-metrics" ]]; then RBD_POOL_NAME="device_health_metrics"