Add gitlab-ctl generate-secrets command
Add the generate-secrets command to gitlab-ctl which creates a JSON file containing secrets from the gitlab.rb file. The -f|--file option can be used to send the output to a specified file instead of the default /etc/gitlab/gitlab-secrets.json. Changelog: added
parent
7f767645d9a2
No related branches found
No related tags found
Showing
- files/gitlab-config-template/gitlab.rb.template 1 addition, 1 deletionfiles/gitlab-config-template/gitlab.rb.template
- files/gitlab-cookbooks/gitlab-pages/libraries/gitlab_pages.rb 2 additions, 1 deletion...s/gitlab-cookbooks/gitlab-pages/libraries/gitlab_pages.rb
- files/gitlab-cookbooks/gitlab/recipes/generate_secrets.rb 32 additions, 0 deletionsfiles/gitlab-cookbooks/gitlab/recipes/generate_secrets.rb
- files/gitlab-cookbooks/package/libraries/helpers/secrets_helper.rb 12 additions, 8 deletions...lab-cookbooks/package/libraries/helpers/secrets_helper.rb
- files/gitlab-cookbooks/package/libraries/settings_dsl.rb 15 additions, 6 deletionsfiles/gitlab-cookbooks/package/libraries/settings_dsl.rb
- files/gitlab-ctl-commands/generate_secrets.rb 43 additions, 0 deletionsfiles/gitlab-ctl-commands/generate_secrets.rb
- files/gitlab-ctl-commands/lib/gitlab_ctl/generate_secrets.rb 48 additions, 0 deletionsfiles/gitlab-ctl-commands/lib/gitlab_ctl/generate_secrets.rb
- files/gitlab-ctl-commands/lib/gitlab_ctl/util.rb 6 additions, 1 deletionfiles/gitlab-ctl-commands/lib/gitlab_ctl/util.rb
- spec/chef/cookbooks/gitlab/recipes/generate_secrets_spec.rb 124 additions, 0 deletionsspec/chef/cookbooks/gitlab/recipes/generate_secrets_spec.rb
- spec/chef/cookbooks/package/libraries/secrets_helper_spec.rb 2 additions, 2 deletionsspec/chef/cookbooks/package/libraries/secrets_helper_spec.rb
- spec/chef/cookbooks/package/libraries/settings_dsl_spec.rb 1 addition, 1 deletionspec/chef/cookbooks/package/libraries/settings_dsl_spec.rb
Loading
Please register or sign in to comment