Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Problem: the --profile was not being respecting, causing things like the etcd pod not being ran as the etcd user. This is because we were shadowing a variable declation. Fixing this also exposed that a CIS related flag, `--protect-kernel-defaults` was improperly set. Solution: Removing the shadowed declaration of the cisMode variable. The global variable of the same name that is properly assigned a value earlier on in the logic will now be used. To fix protect-kernel-defaults, remove superfluous `--`. Signed-off-by: Craig Jellick <[email protected]>
- Loading branch information