Improve regex for geo auth keys checker
- The `gitlab:geo:check` rake task produced misleading results if the AuthorizedKeysCommand* directives had leading whitespace. Altered the regular expressions to allow for zero-to-many occurrences of whitespace before the directives. Related https://gitlab.com/gitlab-org/gitlab-orchestrator/-/issues/30 Closes https://gitlab.com/gitlab-org/gitlab/-/issues/219572Signed-off-by: Robert Marshall <rmarshall@gitlab.com>
Showing
Please register or sign in to comment