From 88975dbab3fca564489fd92e017d3ac0dedd8475 Mon Sep 17 00:00:00 2001 From: obeyler Date: Mon, 26 Nov 2018 19:38:27 +0100 Subject: [PATCH] [incubator/gogs] add install lock opportunity (#9315) * Update configmap.yaml Add opportunity to start with install mode Signed-off-by: olivier beyler * Update Chart.yaml increase chart version Signed-off-by: olivier beyler * Update values.yaml Add installLock parameter Signed-off-by: olivier beyler * Update values.yaml fixup the typo Signed-off-by: olivier beyler * Create OWNERS Add owner file Signed-off-by: olivier beyler * Update Chart.yaml Signed-off-by: olivier beyler * Update Chart.yaml Signed-off-by: olivier beyler --- incubator/gogs/Chart.yaml | 4 +++- incubator/gogs/OWNERS | 4 ++++ incubator/gogs/templates/configmap.yaml | 2 +- incubator/gogs/values.yaml | 4 ++++ 4 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 incubator/gogs/OWNERS diff --git a/incubator/gogs/Chart.yaml b/incubator/gogs/Chart.yaml index d6e5e8b728..5fef77abc8 100644 --- a/incubator/gogs/Chart.yaml +++ b/incubator/gogs/Chart.yaml @@ -1,9 +1,11 @@ apiVersion: v1 description: 'Gogs: Go Git Service' name: gogs -version: 0.7.1 +version: 0.7.2 appVersion: 0.11.66 home: https://gogs.io/ icon: https://gogs.io/img/favicon.ico +maintainers: + - name: obeyler keywords: - git diff --git a/incubator/gogs/OWNERS b/incubator/gogs/OWNERS new file mode 100644 index 0000000000..683b9aa040 --- /dev/null +++ b/incubator/gogs/OWNERS @@ -0,0 +1,4 @@ +approvers: +- obeyler +reviewers: +- obeyler diff --git a/incubator/gogs/templates/configmap.yaml b/incubator/gogs/templates/configmap.yaml index 2598f91491..56835e8ce3 100644 --- a/incubator/gogs/templates/configmap.yaml +++ b/incubator/gogs/templates/configmap.yaml @@ -47,7 +47,7 @@ data: PASSWD = {{ template "gogs.database.password" . }} [security] - INSTALL_LOCK = true + INSTALL_LOCK = {{ .Values.service.gogs.installLock }} SECRET_KEY = {{ default "" .Values.service.gogs.securitySecretKey | b64enc | quote }} [ui] diff --git a/incubator/gogs/values.yaml b/incubator/gogs/values.yaml index f86c1a054b..3bfff0d313 100644 --- a/incubator/gogs/values.yaml +++ b/incubator/gogs/values.yaml @@ -56,6 +56,10 @@ service: ## disableHttpGit: false + ## Lock the path /install to configure gogs + ## + installLock: true + ## Indicates whether or not to enable repository file upload feature. ## repositoryUploadEnabled: true