Commit Graph

688 Commits

Author SHA1 Message Date
Renovate Bot 905552ec2d chore(deps): update lockfiles (#1075)
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
2026-05-03 00:23:17 +00:00
Renovate Bot f4f358f7c4 chore(deps): update commitlint/commitlint docker tag to v20.5.3 (#1074)
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
2026-05-02 00:19:05 +00:00
Renovate Bot b34a2a1c5e chore(deps): update workflow dependencies (minor & patch) (#1072)
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
2026-04-27 00:06:19 +00:00
Renovate Bot cd77a3ea0d chore(deps): update dependency go-gitea/gitea to v1.26.1 (#1071)
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
2026-04-25 00:17:39 +00:00
techknowlogick 682cfec590 DNS handling fixes for init/bootstrap process 2026-04-15 12:17:56 -04:00
Renovate Bot c4f9f8a098 chore(deps): update https://github.com/crazy-max/ghaction-import-gpg action to v7 (#1038)
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
2026-04-15 14:47:50 +00:00
techknowlogick b7663bb95f fix: Improve OpenShift compatibility (#1066) 2026-04-15 14:46:54 +00:00
techknowlogick a02a7feb6e feat: enhance openshift support (#1063)
### Description of the change

Add options to values.yaml to make chart easier to install in restricted openshift environments

### Benefits

more people can run this

### Checklist

<!-- [Place an '[X]' (no spaces) in all applicable fields. Please remove unrelated fields.] -->

- [x] Parameters are documented in the `values.yaml` and added to the `README.md` using [readme-generator-for-helm](https://github.com/bitnami-labs/readme-generator-for-helm)
- [ ] Breaking changes are documented in the `README.md`
- [x] Helm templating unittests are added (required when changing anything in `templates` folder)
- [ ] Bash unittests are added (required when changing anything in `scripts` folder)
- [x] All added template resources MUST render a namespace in metadata

---------

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-on: https://gitea.com/gitea/helm-gitea/pulls/1063
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: techknowlogick <techknowlogick@gitea.com>
Co-committed-by: techknowlogick <techknowlogick@gitea.com>
2026-04-14 06:19:15 +00:00
Renovate Bot e725a53e1c chore(deps): update lockfiles (#1065)
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
2026-04-12 00:24:43 +00:00
Renovate Bot 0fb15a6421 chore(deps): update alpine/helm docker tag to v3.20.2 (#1064)
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
2026-04-11 00:23:23 +00:00
Renovate Bot 935b517ecd chore(deps): update lockfiles (#1062)
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
2026-04-08 00:25:22 +00:00
Renovate Bot fd1f64ec1e chore(deps): update lockfiles (#1061)
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
2026-04-06 00:21:25 +00:00
Renovate Bot 1914cfd6b9 chore(deps): update workflow dependencies (minor & patch) (#1060)
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
2026-04-04 00:17:04 +00:00
alexandru-marianlita e8dff81392 fix: broken pipe in change-password help probe (#1052)
### Description of the change

This change fixes an intermittent failure in the init password-reset flow caused by the CLI feature probe used to detect `--must-change-password` support.

The current probe uses:
`gitea admin user change-password --help | grep -qF -- '--must-change-password'`

Because `grep -q` exits immediately after the first match, it can close the pipe while gitea is still writing help output. In that case, gitea may return broken pipe.

This is timing-dependent, so it only reproduces sometimes with the same binary.

This PR replaces that check with a form that consumes the full output before exiting, avoiding premature pipe closure.

### Benefits

- Prevents intermittent broken pipe failures during init
- Makes password-reset capability detection deterministic

### Applicable issues

- Fixes #1051

### Additional information

No test update was required for this change.

The fix only adjusts the shell pipeline used in the rendered init script to avoid an intermittent broken pipe during the `--must-change-password` capability check. There are currently no existing Helm or bash unit tests covering this specific command path in the chart, and this change does not alter chart values, rendered resource structure, or template interfaces.

### Checklist

- [x] Bash unittests are added (required when changing anything in `scripts` folder)

Reviewed-on: https://gitea.com/gitea/helm-gitea/pulls/1052
Co-authored-by: alexandru-marianlita <alexandru-marian.lita@spirent.com>
Co-committed-by: alexandru-marianlita <alexandru-marian.lita@spirent.com>
2026-04-02 20:30:56 +00:00
Renovate Bot 4036f02c19 chore(deps): update lockfiles (#1058)
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
2026-04-02 00:22:34 +00:00
Renovate Bot 59c510fc0e chore(deps): update lockfiles (#1057)
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
2026-04-01 00:20:42 +00:00
Renovate Bot 5e4de283d7 chore(deps): update lockfiles (#1055)
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
2026-03-31 00:21:46 +00:00
Renovate Bot 794aa4f96c chore(deps): update lockfiles (#1054)
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
2026-03-28 00:20:54 +00:00
Renovate Bot 675a66a12d chore(deps): update lockfiles (#1053)
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
2026-03-27 00:20:59 +00:00
Renovate Bot 27c334d4dc chore(deps): update lockfiles (#1050)
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
2026-03-25 00:24:39 +00:00
Renovate Bot 8d7ecd02e9 chore(deps): update lockfiles (#1049)
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
2026-03-24 00:24:04 +00:00
Renovate Bot 92015afb10 chore(deps): update lockfiles (#1048)
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
2026-03-22 00:21:52 +00:00
Ross Golder 8b1cac117a docs: remove myself from maintainers list (#1047)
For various internal reasons we're not currently running gitea via the Helm chart right now, so I'm not in the same position I was before to review and test patches.

Reviewed-on: https://gitea.com/gitea/helm-gitea/pulls/1047
Co-authored-by: Ross Golder <ross@golder.org>
Co-committed-by: Ross Golder <ross@golder.org>
2026-03-21 01:16:07 +00:00
Renovate Bot 717bfb61da chore(deps): update commitlint/commitlint docker tag to v20.5.0 (#1046)
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
2026-03-21 00:18:55 +00:00
Renovate Bot 8034f75fa1 chore(deps): update lockfiles (#1045)
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
2026-03-21 00:11:02 +00:00
Renovate Bot 9601822aff chore(deps): update workflow dependencies (minor & patch) (#1044)
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
2026-03-15 00:04:17 +00:00
Renovate Bot 0e2d0a0229 chore(deps): update dependency go-gitea/gitea to v1.25.5 (#1043)
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
2026-03-14 00:17:12 +00:00
deepakdeore2004 e673346bb8 Support to read environment variables from file in init containers (#993)
### Description of the change

Gitea supports providing DB and Redis/ValKey secrets via env variables, current chart requires DB and Redis/ ValKey credentials reading from k8s secret as per below values.yaml snippet. This approach requires secret to be created beforehand.

```
    - name: GITEA__database__USER
      valueFrom:
        secretKeyRef:
          name: gitea-ha
          key: db_user
    - name: GITEA__database__PASSWD
      valueFrom:
        secretKeyRef:
          name: gitea-ha
          key: db_password
```

Other approach is to provide the credentials in values.yaml which isnt secure.

A bash variable file can be created by using vault injector like this, which then can be sourced while running `config_environment.sh` in `init-app-ini`
```
GITEA__database__NAME=gitea
GITEA__database__USER=gitea_user
```

Support to read env variables from file
Reference: https://developer.hashicorp.com/vault/docs/deploy/kubernetes/injector/examples#environment-variable-example

### Benefits

Support to read env variables from file created by vault injector for DB and redis/ valkey credentials
Support to set gitea admin user and credentials via env variables from file created by vault injector

### Possible drawbacks

N/A

### âš  BREAKING

No breaking changes

### Checklist

- [X] Parameters are documented in the `values.yaml` and added to the `README.md` using [readme-generator-for-helm](https://github.com/bitnami-labs/readme-generator-for-helm)

---------

Co-authored-by: techknowlogick <techknowlogick@gitea.com>
Reviewed-on: https://gitea.com/gitea/helm-gitea/pulls/993
Co-authored-by: deepakdeore2004 <deepakdeore2004@noreply.gitea.com>
Co-committed-by: deepakdeore2004 <deepakdeore2004@noreply.gitea.com>
2026-03-12 19:12:26 +00:00
Renovate Bot be3c6f232a chore(deps): update lockfiles (#1040)
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
2026-03-09 00:23:46 +00:00
Renovate Bot fd558004df chore(deps): update lockfiles (#1039)
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
2026-03-08 00:26:09 +00:00
Renovate Bot 9f50a4d8e6 chore(deps): update workflow dependencies (minor & patch) (#1037)
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
2026-03-07 00:20:34 +00:00
Renovate Bot 9c54a7141d chore(deps): update lockfiles (#1036)
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
2026-03-06 00:26:34 +00:00
Renovate Bot 94dc4cb959 chore(deps): update lockfiles (#1035)
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
2026-02-28 00:22:21 +00:00
Renovate Bot e37b9bf7b5 chore(deps): update lockfiles (#1033)
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
2026-02-27 00:24:15 +00:00
Renovate Bot 94f2b8e26d chore(deps): update lockfiles (#1032)
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
2026-02-26 00:24:24 +00:00
Renovate Bot d51e459d35 chore(deps): update lockfiles (#1031)
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
2026-02-24 00:24:44 +00:00
Renovate Bot ffdb192c59 chore(deps): update lockfiles (#1030)
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
2026-02-24 00:10:39 +00:00
Renovate Bot d537d5d9ec chore(deps): update commitlint/commitlint docker tag to v20.4.2 (#1029)
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
2026-02-21 00:16:58 +00:00
Renovate Bot 02e181b659 chore(deps): update lockfiles (#1028)
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
2026-02-19 00:24:08 +00:00
Renovate Bot 30dbe405cb chore(deps): update lockfiles (#1026)
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
2026-02-13 00:23:01 +00:00
Renovate Bot 0eed2385cc chore(deps): update lockfiles (#1025)
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
2026-02-12 00:22:33 +00:00
Renovate Bot d8265c8bd5 chore(deps): update https://github.com/aws-actions/configure-aws-credentials action to v6 (#1024)
Reviewed-on: https://gitea.com/gitea/helm-gitea/pulls/1024
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
2026-02-08 23:14:37 +00:00
Renovate Bot 6af304e270 chore(deps): update commitlint/commitlint docker tag to v20.4.1 (#1021)
Reviewed-on: https://gitea.com/gitea/helm-gitea/pulls/1021
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
2026-02-07 00:16:24 +00:00
Renovate Bot 9e5e86aa8e chore(deps): update unittests/bash/test_helper/bats-mock digest to 9c239d6 (#1020)
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
2026-02-07 00:15:28 +00:00
Renovate Bot 44c279c4cd chore(deps): update lockfiles (#1019)
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
2026-02-04 00:22:43 +00:00
Renovate Bot 458605ddb6 chore(deps): update lockfiles (#1018)
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
2026-02-02 00:23:27 +00:00
Renovate Bot 70653c83e6 chore(deps): update commitlint/commitlint docker tag to v20.4.0 (#1017)
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
2026-02-01 00:03:31 +00:00
Renovate Bot c02a65fc82 chore(deps): update lockfiles (#1015)
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
2026-01-27 00:08:07 +00:00
Renovate Bot f6cc35f2a8 chore(deps): update workflow dependencies (minor & patch) (#1014)
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
2026-01-26 00:03:28 +00:00
Renovate Bot 7e58847b23 chore(deps): update bats testing framework (#1013)
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
2026-01-25 00:04:12 +00:00