Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bitnami/gitea] Add new customizable environment variables - ENABLE OPENID SIGNIN/SIGNUP #25684

Merged
merged 6 commits into from
May 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bitnami/gitea/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 2 additions & 0 deletions bitnami/gitea/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"]` |
Expand Down
4 changes: 4 additions & 0 deletions bitnami/gitea/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
6 changes: 6 additions & 0 deletions bitnami/gitea/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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/
##
Expand Down
Loading