Add rake task for resetting unreadable encrypted tokens
We have runners_tokens in DB that can not be decrypted. Automatically regenerating them is dangerous, so we provide admins with the rake task to do that.
显示
- lib/gitlab/doctor/reset_tokens.rb 66 个添加, 0 个删除lib/gitlab/doctor/reset_tokens.rb
- lib/tasks/gitlab/doctor/secrets.rake 16 个添加, 0 个删除lib/tasks/gitlab/doctor/secrets.rake
- spec/lib/gitlab/doctor/reset_tokens_spec.rb 133 个添加, 0 个删除spec/lib/gitlab/doctor/reset_tokens_spec.rb
- spec/tasks/gitlab/doctor/secrets_rake_spec.rb 56 个添加, 0 个删除spec/tasks/gitlab/doctor/secrets_rake_spec.rb
lib/gitlab/doctor/reset_tokens.rb
0 → 100644
spec/lib/gitlab/doctor/reset_tokens_spec.rb
0 → 100644
想要评论请 注册 或 登录