mirror of
https://github.com/bitnami/charts.git
synced 2026-04-04 16:27:07 +08:00
[bitnami/gitea] Set usePasswordFiles=true by default (#32347)
* [bitnami/gitea] Set `usePasswordFiles=true` by default Signed-off-by: Miguel Ruiz <miguel.ruiz@broadcom.com> * Update CHANGELOG.md Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com> * Update README.md with readme-generator-for-helm Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com> * Implement fixes Signed-off-by: Miguel Ruiz <miguel.ruiz@broadcom.com> * Update CHANGELOG.md Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com> * Update CHANGELOG.md Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com> * Remove 'and' Signed-off-by: Miguel Ruiz <miguel.ruiz@broadcom.com> * Update CHANGELOG.md Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com> * Update CHANGELOG.md Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com> --------- Signed-off-by: Miguel Ruiz <miguel.ruiz@broadcom.com> Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com> Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com> Co-authored-by: Bitnami Containers <bitnami-bot@vmware.com> Co-authored-by: Bitnami Bot <bitnami.bot@broadcom.com>
This commit is contained in:
@@ -1,8 +1,13 @@
|
||||
# Changelog
|
||||
|
||||
## 3.1.14 (2025-03-24)
|
||||
## 3.2.0 (2025-03-27)
|
||||
|
||||
* [bitnami/gitea] Release 3.1.14 ([#32586](https://github.com/bitnami/charts/pull/32586))
|
||||
* [bitnami/gitea] Set `usePasswordFiles=true` by default ([#32347](https://github.com/bitnami/charts/pull/32347))
|
||||
|
||||
## <small>3.1.14 (2025-03-24)</small>
|
||||
|
||||
* [bitnami/*] Add tanzuCategory annotation (#32409) ([a8fba5c](https://github.com/bitnami/charts/commit/a8fba5cb01f6f4464ca7f69c50b0fbe97d837a95)), closes [#32409](https://github.com/bitnami/charts/issues/32409)
|
||||
* [bitnami/gitea] Release 3.1.14 (#32586) ([bdb0cd7](https://github.com/bitnami/charts/commit/bdb0cd798e223e1603551f5000c63c733d6d5966)), closes [#32586](https://github.com/bitnami/charts/issues/32586)
|
||||
|
||||
## <small>3.1.13 (2025-03-05)</small>
|
||||
|
||||
|
||||
@@ -38,4 +38,4 @@ maintainers:
|
||||
name: gitea
|
||||
sources:
|
||||
- https://github.com/bitnami/charts/tree/main/bitnami/gitea
|
||||
version: 3.1.14
|
||||
version: 3.2.0
|
||||
|
||||
@@ -152,15 +152,16 @@ helm install my-release --set persistence.existingClaim=PVC_NAME oci://REGISTRY_
|
||||
|
||||
### Common parameters
|
||||
|
||||
| Name | Description | Value |
|
||||
| ------------------- | --------------------------------------------------------------------------------------------------------- | ----- |
|
||||
| `kubeVersion` | Force target Kubernetes version (using Helm capabilities if not set) | `""` |
|
||||
| `nameOverride` | String to partially override gitea.fullname template (will maintain the release name) | `""` |
|
||||
| `fullnameOverride` | String to fully override gitea.fullname template | `""` |
|
||||
| `namespaceOverride` | String to fully override common.names.namespace | `""` |
|
||||
| `commonAnnotations` | Common annotations to add to all Gitea resources (sub-charts are not considered). Evaluated as a template | `{}` |
|
||||
| `commonLabels` | Common labels to add to all Gitea resources (sub-charts are not considered). Evaluated as a template | `{}` |
|
||||
| `extraDeploy` | Array of extra objects to deploy with the release (evaluated as a template). | `[]` |
|
||||
| Name | Description | Value |
|
||||
| ------------------- | --------------------------------------------------------------------------------------------------------- | ------ |
|
||||
| `kubeVersion` | Force target Kubernetes version (using Helm capabilities if not set) | `""` |
|
||||
| `nameOverride` | String to partially override gitea.fullname template (will maintain the release name) | `""` |
|
||||
| `fullnameOverride` | String to fully override gitea.fullname template | `""` |
|
||||
| `namespaceOverride` | String to fully override common.names.namespace | `""` |
|
||||
| `commonAnnotations` | Common annotations to add to all Gitea resources (sub-charts are not considered). Evaluated as a template | `{}` |
|
||||
| `commonLabels` | Common labels to add to all Gitea resources (sub-charts are not considered). Evaluated as a template | `{}` |
|
||||
| `extraDeploy` | Array of extra objects to deploy with the release (evaluated as a template). | `[]` |
|
||||
| `usePasswordFiles` | Mount credentials as files instead of using environment variables | `true` |
|
||||
|
||||
### Gitea parameters
|
||||
|
||||
|
||||
@@ -143,18 +143,28 @@ spec:
|
||||
value: {{ include "gitea.databaseName" . | quote }}
|
||||
- name: GITEA_DATABASE_USERNAME
|
||||
value: {{ include "gitea.databaseUser" . | quote }}
|
||||
{{- if .Values.usePasswordFiles }}
|
||||
- name: GITEA_DATABASE_PASSWORD_FILE
|
||||
value: {{ printf "/opt/bitnami/gitea/secrets/%s" (include "gitea.databasePasswordKey" .) }}
|
||||
{{- else }}
|
||||
- name: GITEA_DATABASE_PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: {{ include "gitea.databaseSecretName" . }}
|
||||
key: {{ include "gitea.databasePasswordKey" . | quote }}
|
||||
{{- end }}
|
||||
- name: GITEA_ADMIN_USER
|
||||
value: {{ .Values.adminUsername | quote }}
|
||||
{{- if .Values.usePasswordFiles }}
|
||||
- name: GITEA_ADMIN_PASSWORD_FILE
|
||||
value: {{ printf "/opt/bitnami/gitea/secrets/%s" (include "gitea.secretKey" .) }}
|
||||
{{- else }}
|
||||
- name: GITEA_ADMIN_PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: {{ include "gitea.secretName" . }}
|
||||
key: {{ include "gitea.secretKey" . }}
|
||||
{{- end }}
|
||||
- name: GITEA_ADMIN_EMAIL
|
||||
value: {{ .Values.adminEmail | quote }}
|
||||
- name: GITEA_APP_NAME
|
||||
@@ -178,12 +188,17 @@ spec:
|
||||
value: {{ .Values.smtpUser | quote }}
|
||||
{{- end }}
|
||||
{{- if or .Values.smtpPassword .Values.smtpExistingSecret }}
|
||||
{{- if .Values.usePasswordFiles }}
|
||||
- name: GITEA_SMTP_PASSWORD_FILE
|
||||
value: "/opt/bitnami/gitea/secrets/smtp-password"
|
||||
{{- else }}
|
||||
- name: GITEA_SMTP_PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: {{ include "gitea.smtpSecretName" . }}
|
||||
key: smtp-password
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
- name: GITEA_ENABLE_OPENID_SIGNIN
|
||||
value: {{ .Values.openid.enableSignIn | quote }}
|
||||
- name: GITEA_ENABLE_OPENID_SIGNUP
|
||||
@@ -263,6 +278,10 @@ spec:
|
||||
- name: empty-dir
|
||||
mountPath: /tmp
|
||||
subPath: tmp-dir
|
||||
{{- if .Values.usePasswordFiles }}
|
||||
- name: gitea-secrets
|
||||
mountPath: /opt/bitnami/gitea/secrets
|
||||
{{- end }}
|
||||
{{- if .Values.extraVolumeMounts }}
|
||||
{{- include "common.tplvalues.render" (dict "value" .Values.extraVolumeMounts "context" $) | nindent 12 }}
|
||||
{{- end }}
|
||||
@@ -272,6 +291,19 @@ spec:
|
||||
volumes:
|
||||
- name: empty-dir
|
||||
emptyDir: {}
|
||||
{{- if .Values.usePasswordFiles }}
|
||||
- name: gitea-secrets
|
||||
projected:
|
||||
sources:
|
||||
- secret:
|
||||
name: {{ include "gitea.secretName" . }}
|
||||
- secret:
|
||||
name: {{ include "gitea.databaseSecretName" . }}
|
||||
{{- if or .Values.smtpPassword .Values.smtpExistingSecret }}
|
||||
- secret:
|
||||
name: {{ include "gitea.smtpSecretName" . }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
- name: gitea-data
|
||||
{{- if .Values.persistence.enabled }}
|
||||
persistentVolumeClaim:
|
||||
|
||||
@@ -59,6 +59,9 @@ commonLabels: {}
|
||||
## @param extraDeploy Array of extra objects to deploy with the release (evaluated as a template).
|
||||
##
|
||||
extraDeploy: []
|
||||
## @param usePasswordFiles Mount credentials as files instead of using environment variables
|
||||
##
|
||||
usePasswordFiles: true
|
||||
## @section Gitea parameters
|
||||
##
|
||||
|
||||
|
||||
Reference in New Issue
Block a user