diff --git a/api/deploy/ocp/scc.yaml b/api/deploy/ocp/scc.yaml index c5903f330fc7..921a651a3d8e 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 e4fb9595a08d..592fd274816a 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 0e232a565277..c67701a6076c 100644 --- a/e2e/rbd.go +++ b/e2e/rbd.go @@ -3580,7 +3580,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 { e2elog.Failf("failed to validate pvc and application binding: %v", err) diff --git a/scripts/rook.sh b/scripts/rook.sh index 1b650eaa5db9..1286e134157f 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"