-
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
GITLAB_SECRETS_DB_KEY_BASE parameter #443
Comments
README.md |
@Allineer I only had read through the Upgrading part. So here is what needs to happen...
|
This option is coming from GitLab CI & now it's used only here |
Ahh its for db encryption. So, the key will be needed for back up systems. Its important to keep secret in a password kind of way. |
It is used by the CI feature of gitlab to encrypt build variables. |
@Allineer Thanks for helping users resolve issues. Your the best 👍 |
ps. please subscribe to issue #39 to get notified about such breaking changes. |
@sameersbn yeah it kind of hit me at a moment of weakness as I had a few headaches going on with other systems. If you had something in upgrade section of the readme then I would have been golden. I just entered a issue because you are always there for us! I'll subscribe to #39 and hopefully catch this kind of thing next time. So, I understand what the key does but the reason I kind of needed to know what it was doing is we keep a couple of docker systems ready to take on a promotion if a failure happens. So understanding if this value was unique to the server or unique to the db (pg) was important. Kind of a "Why its there?" and "What is it doing?" in important to us from an operational standpoint. That's the why and what of what I was asking about. |
what if I forgot my secret? I had used sameersbn/gitlab:7.9.0, and I forget the path I stored the secret or never owned the sercret? |
@favorinfo The This variable is used to encrypt build script variables. Loosing/changing this key would mean that any variables that you may have added for your CI jobs cannot be decrypted and hence would not be usable. The build script variables can be used to encrypt sensitive information such as usernames and passwords in your ci jobs and can be added at Continuous Integration > project > Variables, which become available as environment variables in you build jobs. |
@pnelsonsr I have now added a note in the upgrading section |
@sameersbn cool! |
marking this issue resolved. |
Sorry if I'm involved. I forgot to change the variables Is that a problem? What happens if I change the values afterwards? I haven't worked much with CI yet. |
Went to upgrade to 8.0.2 and when I start it I get an error:
ERROR:
Please configure the GITLAB_SECRETS_DB_KEY_BASE parameter.
Cannot continue. Aborting...
what is this and how do I fix it?
The text was updated successfully, but these errors were encountered: