Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
2bfdd26f
Commit
2bfdd26f
authored
Mar 16, 2018
by
Bob Van Landuyt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add fields for credentials for external auth TLS
parent
1508d8db
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
0 deletions
+22
-0
db/schema.rb
db/schema.rb
+5
-0
ee/db/migrate/20180315160435_add_external_auth_mutual_tls_fields_to_project_settings.rb
...dd_external_auth_mutual_tls_fields_to_project_settings.rb
+17
-0
No files found.
db/schema.rb
View file @
2bfdd26f
...
...
@@ -186,6 +186,11 @@ ActiveRecord::Schema.define(version: 20180320182229) do
t
.
boolean
"pages_domain_verification_enabled"
,
default:
true
,
null:
false
t
.
float
"external_authorization_service_timeout"
,
default:
0.5
,
null:
false
t
.
boolean
"allow_local_requests_from_hooks_and_services"
,
default:
false
,
null:
false
t
.
text
"external_auth_client_cert"
t
.
text
"encrypted_external_auth_client_key"
t
.
string
"encrypted_external_auth_client_key_iv"
t
.
string
"encrypted_external_auth_client_key_pass"
t
.
string
"encrypted_external_auth_client_key_pass_iv"
end
create_table
"approvals"
,
force: :cascade
do
|
t
|
...
...
ee/db/migrate/20180315160435_add_external_auth_mutual_tls_fields_to_project_settings.rb
0 → 100644
View file @
2bfdd26f
class
AddExternalAuthMutualTlsFieldsToProjectSettings
<
ActiveRecord
::
Migration
DOWNTIME
=
false
def
change
add_column
:application_settings
,
:external_auth_client_cert
,
:text
add_column
:application_settings
,
:encrypted_external_auth_client_key
,
:text
add_column
:application_settings
,
:encrypted_external_auth_client_key_iv
,
:string
add_column
:application_settings
,
:encrypted_external_auth_client_key_pass
,
:string
add_column
:application_settings
,
:encrypted_external_auth_client_key_pass_iv
,
:string
end
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment