Generate pages api secret and add it to configs
What does this Merge Request do?
We need a shared secret for pages and gitlab-pages daemon to communicate via API.
In production, it's being generated via omnibus.
This MR adds this secret generation to the gdk and also adds it to config files for rails and gitlab-pages.
Merge Request checklist
-
Tests added for new functionality. If not, please raise Issue to follow-up. -
This change is backward compatible. If not, please include steps to communicate to our users. -
Documentation added/updated, if needed. -
gdk doctor
test added, if needed.