Skip to content

Improve regex for geo auth keys checker

Robert Marshall requested to merge 30-fix-geo-authorized-keys-regex into master

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

Availability and Testing

Closes #30 (closed)

Edited by Robert Marshall

Merge request reports