forked from rook/rook
this commit remove the code which sets the dmcrypt encryption key from secret as environment variable in the prepare pod job spec. Now, the env will be set under function `setKEKinEnv`, which tries to reads secret from k8s first method `c.IsK8s()`under `GetSecret` and then check for KMS to ready and apply env directly. Signed-off-by: subhamkrai <srai@redhat.com>