File tree Expand file tree Collapse file tree 5 files changed +8
-1
lines changed
gitlab-cookbooks/gitlab-pages
spec/chef/cookbooks/gitlab-pages/recipes Expand file tree Collapse file tree 5 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 20
20
require "#{ Omnibus ::Config . project_root } /lib/gitlab/prometheus_helper"
21
21
22
22
name 'prometheus'
23
- version = Gitlab ::Version . new ( 'prometheus' , '2.47.2 ' )
23
+ version = Gitlab ::Version . new ( 'prometheus' , '2.48.0 ' )
24
24
default_version version . print
25
25
26
26
license 'APACHE-2.0'
Original file line number Diff line number Diff line change @@ -1907,6 +1907,7 @@ external_url 'GENERATED_EXTERNAL_URL'
1907
1907
# gitlab_pages['internal_gitlab_server'] = nil # Defaults to gitlab_server, can be changed to internal load balancer
1908
1908
# gitlab_pages['auth_secret'] = nil # Generated if not present
1909
1909
# gitlab_pages['auth_scope'] = nil # Defaults to api, can be changed to read_api to increase security
1910
+ # gitlab_pages['auth_timeout'] = "5s" # GitLab application client timeout for authentication
1910
1911
# gitlab_pages['auth_cookie_session_timeout'] = "10m" # Authentication cookie session timeout (truncated to seconds). A zero value means the cookie will be deleted after the browser session ends
1911
1912
1912
1913
##! GitLab Pages Server Shutdown Timeout
Original file line number Diff line number Diff line change 33
33
default [ 'gitlab_pages' ] [ 'auth_redirect_uri' ] = nil
34
34
default [ 'gitlab_pages' ] [ 'auth_secret' ] = nil
35
35
default [ 'gitlab_pages' ] [ 'auth_scope' ] = nil
36
+ default [ 'gitlab_pages' ] [ 'auth_timeout' ] = nil
36
37
default [ 'gitlab_pages' ] [ 'auth_cookie_session_timeout' ] = nil
37
38
default [ 'gitlab_pages' ] [ 'insecure_ciphers' ] = false
38
39
default [ 'gitlab_pages' ] [ 'tls_min_version' ] = nil
Original file line number Diff line number Diff line change @@ -17,6 +17,9 @@ auth-secret=<%= @auth_secret %>
17
17
<%- if @auth_scope -%>
18
18
auth-scope=<%= @auth_scope %>
19
19
<%- end -%>
20
+ <%- if @auth_timeout -%>
21
+ auth-timeout=<%= @auth_timeout %>
22
+ <%- end -%>
20
23
<%- if @auth_cookie_session_timeout -%>
21
24
auth-cookie-session-timeout=<%= @auth_cookie_session_timeout %>
22
25
<%- end -%>
Original file line number Diff line number Diff line change 214
214
auth_secret : 'auth_secret' ,
215
215
auth_redirect_uri : 'https://projects.pages.example.com/auth' ,
216
216
auth_scope : 'read_api' ,
217
+ auth_timeout : '10s' ,
217
218
auth_cookie_session_timeout : '20m' ,
218
219
access_control : true ,
219
220
insecure_ciphers : true ,
271
272
auth-client-secret=app_secret
272
273
auth-secret=auth_secret
273
274
auth-scope=read_api
275
+ auth-timeout=10s
274
276
auth-cookie-session-timeout=20m
275
277
zip-cache-expiration=120s
276
278
zip-cache-cleanup=1m
You can’t perform that action at this time.
0 commit comments