Improve regex for geo auth keys checker
What does this MR do?
- 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 gitlab-orchestrator#30 (closed)
Closes #219572 (closed)
Signed-off-by: Robert Marshall rmarshall@gitlab.com
Screenshots
Does this MR meet the acceptance criteria?
Conformity
-
Changelog entry -
Code review guidelines -
Merge request performance guidelines -
Style guides -
Database guides -
Separation of EE specific content
Availability and Testing
-
Review and add/update tests for this feature/bug. Consider all test levels. See the Test Planning Process.
Closes #30 (closed)
Edited by Robert Marshall