From 077f132199cab6fa966e3bb5edf014774894108b Mon Sep 17 00:00:00 2001 From: Ismail Kutlay Acar Date: Sat, 11 May 2024 11:28:34 +0200 Subject: [PATCH 1/4] [bitnami/gitea] Add new customizable environment variables 1. ENABLE_OPENID_SIGNIN (default: false) 2. ENABLE_OPENID_SIGNUP (default: false) Signed-off-by: Ismail Kutlay Acar --- bitnami/gitea/README.md | 2 ++ bitnami/gitea/templates/deployment.yaml | 4 ++++ bitnami/gitea/values.yaml | 6 ++++++ 3 files changed, 12 insertions(+) diff --git a/bitnami/gitea/README.md b/bitnami/gitea/README.md index a3a46ad914d2f8..6ad10216793b65 100644 --- a/bitnami/gitea/README.md +++ b/bitnami/gitea/README.md @@ -187,6 +187,8 @@ helm install my-release --set persistence.existingClaim=PVC_NAME oci://REGISTRY_ | `smtpExistingSecret` | The name of an existing secret with SMTP credentials | `""` | | `containerPorts` | Container ports | `{}` | | `extraContainerPorts` | Optionally specify extra list of additional ports for Gitea container(s) | `[]` | +| `openid.enableSignIn` | Enable sign in with OpenID | `false` | +| `openid.enableSignUp` | Enable sign up with OpenID | `false` | | `persistence.enabled` | Enable persistence using PVC | `true` | | `persistence.storageClass` | PVC Storage Class for Gitea volume | `""` | | `persistence.accessModes` | PVC Access Mode for Gitea volume | `["ReadWriteOnce"]` | diff --git a/bitnami/gitea/templates/deployment.yaml b/bitnami/gitea/templates/deployment.yaml index 29578a4cd2f5f5..7701497757eab7 100644 --- a/bitnami/gitea/templates/deployment.yaml +++ b/bitnami/gitea/templates/deployment.yaml @@ -184,6 +184,10 @@ spec: name: {{ include "gitea.smtpSecretName" . }} key: smtp-password {{- end }} + - name: GITEA_ENABLE_OPENID_SIGNIN + value: {{ .Values.openid.enableSignIn | quote }} + - name: GITEA_ENABLE_OPENID_SIGNUP + value: {{ .Values.openid.enableSignUp | quote }} {{- if .Values.extraEnvVars }} {{- include "common.tplvalues.render" (dict "value" .Values.extraEnvVars "context" $) | nindent 12 }} {{- end }} diff --git a/bitnami/gitea/values.yaml b/bitnami/gitea/values.yaml index 39a7aedeb74ab1..90eec1b45c7814 100644 --- a/bitnami/gitea/values.yaml +++ b/bitnami/gitea/values.yaml @@ -207,6 +207,12 @@ containerPorts: ## containerPort: 9090 ## extraContainerPorts: [] +## Enable OpenID Configurations +## @param openid.enableSignIn Enable OpenID sign in +## @param openid.enableSignUp Enable OpenID sign up +openid: + enableSignIn: false + enableSignUp: false ## Enable persistence using Persistent Volume Claims ## ref: https://kubernetes.io/docs/concepts/storage/persistent-volumes/ ## From 83508860d9402a3e10fbeba016828e60d8d7ec1b Mon Sep 17 00:00:00 2001 From: Ismail Kutlay Acar Date: Sat, 11 May 2024 11:54:33 +0200 Subject: [PATCH 2/4] [bitnami/gitea] Update parameter definition, Update Chart version. Signed-off-by: Ismail Kutlay Acar --- bitnami/gitea/Chart.yaml | 2 +- bitnami/gitea/values.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bitnami/gitea/Chart.yaml b/bitnami/gitea/Chart.yaml index bcb78a72fb4974..3f871650835cae 100644 --- a/bitnami/gitea/Chart.yaml +++ b/bitnami/gitea/Chart.yaml @@ -37,4 +37,4 @@ maintainers: name: gitea sources: - https://github.com/bitnami/charts/tree/main/bitnami/gitea -version: 2.0.5 +version: 2.1.0 diff --git a/bitnami/gitea/values.yaml b/bitnami/gitea/values.yaml index 90eec1b45c7814..02ca7b829eb937 100644 --- a/bitnami/gitea/values.yaml +++ b/bitnami/gitea/values.yaml @@ -208,8 +208,8 @@ containerPorts: ## extraContainerPorts: [] ## Enable OpenID Configurations -## @param openid.enableSignIn Enable OpenID sign in -## @param openid.enableSignUp Enable OpenID sign up +## @param openid.enableSignIn Enable sign in with OpenID +## @param openid.enableSignUp Enable sign up with OpenID openid: enableSignIn: false enableSignUp: false From 4103160de32ca8d478fd4b0ffbff69a43f977efb Mon Sep 17 00:00:00 2001 From: Bitnami Containers Date: Sat, 11 May 2024 10:03:39 +0000 Subject: [PATCH 3/4] Update README.md with readme-generator-for-helm Signed-off-by: Bitnami Containers --- bitnami/gitea/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bitnami/gitea/README.md b/bitnami/gitea/README.md index 6ad10216793b65..bd64acad1d0bc7 100644 --- a/bitnami/gitea/README.md +++ b/bitnami/gitea/README.md @@ -187,8 +187,8 @@ helm install my-release --set persistence.existingClaim=PVC_NAME oci://REGISTRY_ | `smtpExistingSecret` | The name of an existing secret with SMTP credentials | `""` | | `containerPorts` | Container ports | `{}` | | `extraContainerPorts` | Optionally specify extra list of additional ports for Gitea container(s) | `[]` | -| `openid.enableSignIn` | Enable sign in with OpenID | `false` | -| `openid.enableSignUp` | Enable sign up with OpenID | `false` | +| `openid.enableSignIn` | Enable sign in with OpenID | `false` | +| `openid.enableSignUp` | Enable sign up with OpenID | `false` | | `persistence.enabled` | Enable persistence using PVC | `true` | | `persistence.storageClass` | PVC Storage Class for Gitea volume | `""` | | `persistence.accessModes` | PVC Access Mode for Gitea volume | `["ReadWriteOnce"]` | From f01136c41fab72737bd3bfcf774e83ed66c80531 Mon Sep 17 00:00:00 2001 From: Ismail Kutlay Acar Date: Tue, 14 May 2024 10:11:03 +0200 Subject: [PATCH 4/4] [bitnami/gitea] Update image.tag in values.yaml Signed-off-by: Ismail Kutlay Acar --- bitnami/gitea/values.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bitnami/gitea/values.yaml b/bitnami/gitea/values.yaml index 02ca7b829eb937..a720d1684fa210 100644 --- a/bitnami/gitea/values.yaml +++ b/bitnami/gitea/values.yaml @@ -68,7 +68,7 @@ extraDeploy: [] image: registry: docker.io repository: bitnami/gitea - tag: 1.21.11-debian-12-r3 + tag: 1.21.11-debian-12-r4 digest: "" ## Specify a imagePullPolicy ## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'