-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How is encrypted_settings_key_base
handled?
#2420
Comments
Current
|
Thank you for your reply. It appears at the moment a restore of a backup works on omnibus without this particular value set. If this turns out not to be the case I am thankful to have your response to work with. |
Y |
…estoring backups from gitlab instances not running from this image and using encrypted settings feature.
…ault behaviour when not set.
…al and consider it as generated by gitlab default secrets management.
…estoring backups from gitlab instances not running from this image and using encrypted settings feature.
…estoring backups from gitlab instances not running from this image and using encrypted settings feature.
…estoring backups from gitlab instances not running from this image and using encrypted settings feature.
…estoring backups from gitlab instances not running from this image and using encrypted settings feature.
#2420 …Handle encrypted_settings_key_base variable
encrypted_settings_key_base
was introduced starting with 13.7https://docs.gitlab.com/ee/administration/encrypted_configuration.html#encrypted-configuration
The Omnibus Helm chart https://docs.gitlab.com/charts/installation/secrets.html#gitlab-rails-secret handles this secret in this manner. It seems it can be autogenerated, but this may present data migration or restore to Omnibus problems.
How is sameersbn/docker-gitlab handling
encrypted_settings_key_base
? it isn't being set... There is no /etc/gitlab/gitlab-secrets.json as values are passed in as environmental variable...I need to know this in order to migrated a backup out of sameersbn/docker-gitlab to an Omnibus GitLab Helm chart deployment.
No value exists in
/etc/docker-gitlab/runtime/env-defaults
. So, I'm guessing it either never gets set or it is being set and the value held elsewhere. If so how do I determine the present value?Digging around you can generate the
encrypted_settings_key_base
like so as per source installation guidance (https://docs.gitlab.com/ee/administration/encrypted_configuration.html#encrypted-configuration)but it doesn't get written into the
config/secrets.yml
located in/etc/docker-gitlab/runtime/config/gitlabhq/secrets.yml
which your code emplaces asThe text was updated successfully, but these errors were encountered: