Skip to content

Commit 9e1df2e

Browse files
committed
added install lock param
1 parent 1026540 commit 9e1df2e

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

openshift/gogs-persistent-template.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ objects:
293293
ROOT_URL=http://${HOSTNAME}
294294
295295
[security]
296-
INSTALL_LOCK = true
296+
INSTALL_LOCK = ${INSTALL_LOCK}
297297
298298
[service]
299299
ENABLE_CAPTCHA = false
@@ -339,3 +339,7 @@ parameters:
339339
description: 'Version of the Gogs container image to be used (0.9.97 or 0.9.113)'
340340
value: "0.9.97"
341341
required: true
342+
- name: INSTALL_LOCK
343+
displayName: Installation lock
344+
description: 'If set to true, installation (/install) page will be disabled. Set to false if you want to run the installation wizard via web'
345+
value: "true"

openshift/gogs-template.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ objects:
267267
ROOT_URL=http://${HOSTNAME}
268268
269269
[security]
270-
INSTALL_LOCK = true
270+
INSTALL_LOCK = ${INSTALL_LOCK}
271271
272272
[service]
273273
ENABLE_CAPTCHA = false
@@ -305,3 +305,7 @@ parameters:
305305
description: 'Version of the Gogs container image to be used (0.9.97 or 0.9.113)'
306306
value: "0.9.97"
307307
required: true
308+
- name: INSTALL_LOCK
309+
displayName: Installation lock
310+
description: 'If set to true, installation (/install) page will be disabled. Set to false if you want to run the installation wizard via web'
311+
value: "true"

0 commit comments

Comments
 (0)