diff --git a/bitnami/gitea/Chart.yaml b/bitnami/gitea/Chart.yaml index f34553a0b171eb..91d3b62ac8a024 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.6 +version: 2.1.0 diff --git a/bitnami/gitea/README.md b/bitnami/gitea/README.md index a3a46ad914d2f8..bd64acad1d0bc7 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 c03f951ed42be7..30c6e23ff9dc9e 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 sign in with OpenID +## @param openid.enableSignUp Enable sign up with OpenID +openid: + enableSignIn: false + enableSignUp: false ## Enable persistence using Persistent Volume Claims ## ref: https://kubernetes.io/docs/concepts/storage/persistent-volumes/ ##