Commit Graph
829 Commits
Author SHA1 Message Date
CSRBot 10a132eb69 Merge pull request 'chore(deps): update dependency helm to v4.3.2' (#70) from renovate/helm-4.x into main
Bash / bash-unittest (push) Failing after 13s
Bash / shellcheck (push) Successful in 10s
changelog / changelog (push) Successful in 28s
Helm / helm-lint (push) Successful in 13s
Helm / helm-unittest (push) Successful in 43s
2026-12-05 20:07:40 +00:00
CSRBot 85ca13f745 Merge pull request 'chore(deps): update volker-raschek/ah-annotations digest to 00c8d25' (#69) from renovate/volker-raschek-ah-annotations-digest into main
Bash / shellcheck (push) Successful in 10s
Bash / bash-unittest (push) Failing after 34s
changelog / changelog (push) Successful in 25s
Helm / helm-lint (push) Successful in 7s
Helm / helm-unittest (push) Successful in 25s
2026-12-05 20:07:27 +00:00
CSRBot 0ebc3f7052 chore(deps): update dependency helm to v4.3.2
Bash / bash-unittest (push) Successful in 29s
Bash / shellcheck (push) Successful in 32s
Helm / helm-lint (push) Successful in 17s
Helm / helm-unittest (push) Successful in 28s
Bash / shellcheck (pull_request) Successful in 9s
Bash / bash-unittest (pull_request) Successful in 36s
Commit Linter / check-and-test (pull_request) Successful in 16s
Helm / helm-lint (pull_request) Successful in 16s
Helm / helm-unittest (pull_request) Successful in 23s
2026-12-05 20:07:27 +00:00
CSRBot ba5f4a0cdf Merge pull request 'chore(deps): update unittests/bash/test_helper/bats-support digest to 787ac47' (#68) from renovate/unittests-bash-test_helper-bats-support-digest into main
Bash / bash-unittest (push) Failing after 14s
changelog / changelog (push) Successful in 30s
Helm / helm-lint (push) Successful in 8s
Helm / helm-unittest (push) Successful in 39s
Bash / shellcheck (push) Successful in 10s
2026-12-05 20:07:19 +00:00
CSRBot 5c5f557320 chore(deps): update volker-raschek/ah-annotations digest to 00c8d25
Bash / bash-unittest (push) Successful in 36s
Bash / shellcheck (push) Successful in 7s
Bash / shellcheck (pull_request) Successful in 13s
Helm / helm-lint (push) Successful in 10s
Bash / bash-unittest (pull_request) Successful in 40s
Helm / helm-unittest (push) Successful in 24s
Commit Linter / check-and-test (pull_request) Successful in 8s
Helm / helm-lint (pull_request) Successful in 14s
Helm / helm-unittest (pull_request) Successful in 25s
2026-12-05 20:07:19 +00:00
CSRBot 9af6a14701 Merge pull request 'chore(deps): update unittests/bash/test_helper/bats-mock digest to eacf0fe' (#67) from renovate/unittests-bash-test_helper-bats-mock-digest into main
Bash / bash-unittest (push) Failing after 20s
Bash / shellcheck (push) Successful in 9s
Helm / helm-unittest (push) Successful in 38s
Helm / helm-lint (push) Successful in 18s
changelog / changelog (push) Successful in 17s
2026-12-05 20:06:52 +00:00
CSRBot ae1801e93f chore(deps): update unittests/bash/test_helper/bats-support digest to 787ac47
Bash / shellcheck (pull_request) Successful in 31s
Helm / helm-unittest (push) Successful in 30s
Commit Linter / check-and-test (pull_request) Successful in 13s
Helm / helm-unittest (pull_request) Successful in 20s
Helm / helm-lint (pull_request) Successful in 9s
Bash / bash-unittest (push) Successful in 18s
Bash / bash-unittest (pull_request) Successful in 32s
Helm / helm-lint (push) Successful in 12s
Bash / shellcheck (push) Successful in 12s
2026-12-05 20:06:52 +00:00
CSRBot 6e408dabd6 Merge pull request 'chore(deps): update unittests/bash/test_helper/bats-assert digest to dc1aa63' (#66) from renovate/unittests-bash-test_helper-bats-assert-digest into main
Bash / shellcheck (push) Successful in 12s
Helm / helm-unittest (push) Successful in 26s
changelog / changelog (push) Successful in 31s
Helm / helm-lint (push) Successful in 8s
Bash / bash-unittest (push) Failing after 20s
2026-12-05 20:06:28 +00:00
CSRBot 870a6194e9 chore(deps): update unittests/bash/test_helper/bats-mock digest to eacf0fe
Bash / shellcheck (push) Successful in 9s
Bash / bash-unittest (push) Successful in 44s
Bash / bash-unittest (pull_request) Successful in 30s
Bash / shellcheck (pull_request) Successful in 28s
Commit Linter / check-and-test (pull_request) Successful in 50s
Helm / helm-lint (pull_request) Successful in 15s
Helm / helm-lint (push) Successful in 14s
Helm / helm-unittest (push) Successful in 44s
Helm / helm-unittest (pull_request) Successful in 37s
2026-12-05 20:06:28 +00:00
CSRBot 90b0d2d538 chore(deps): update unittests/bash/test_helper/bats-assert digest to dc1aa63
Bash / bash-unittest (push) Successful in 23s
Bash / shellcheck (push) Successful in 27s
Bash / bash-unittest (pull_request) Successful in 40s
Bash / shellcheck (pull_request) Successful in 13s
Helm / helm-unittest (push) Successful in 30s
Helm / helm-unittest (pull_request) Successful in 40s
Helm / helm-lint (push) Successful in 7s
Commit Linter / check-and-test (pull_request) Successful in 18s
Helm / helm-lint (pull_request) Successful in 9s
2026-12-05 20:06:20 +00:00
CSRBot b25e0c6e56 Merge pull request 'chore(deps): update unittests/bash/bats digest to 8b3fb25' (#65) from renovate/unittests-bash-bats-digest into main
Bash / bash-unittest (push) Failing after 37s
Helm / helm-lint (push) Successful in 10s
Helm / helm-unittest (push) Successful in 25s
changelog / changelog (push) Successful in 28s
Bash / shellcheck (push) Successful in 10s
2026-12-05 20:06:19 +00:00
CSRBot 8d4f4f13d2 chore(deps): update unittests/bash/bats digest to 8b3fb25
Bash / shellcheck (push) Successful in 14s
Helm / helm-unittest (push) Successful in 32s
Bash / shellcheck (pull_request) Successful in 8s
Helm / helm-lint (push) Successful in 16s
Bash / bash-unittest (push) Failing after 40s
Helm / helm-lint (pull_request) Successful in 8s
Commit Linter / check-and-test (pull_request) Successful in 1m15s
Helm / helm-unittest (pull_request) Successful in 22s
Bash / bash-unittest (pull_request) Failing after 22s
2026-12-05 20:05:42 +00:00
volker.raschek a512d64db0 ci(renovate): enable configMigration
Bash / bash-unittest (push) Successful in 19s
changelog / changelog (push) Successful in 13s
Helm / helm-lint (push) Successful in 15s
Helm / helm-unittest (push) Successful in 18s
Bash / shellcheck (push) Successful in 26s
2026-12-05 18:54:50 +01:00
volker.raschek 7dfd1bbf82 ci(renovate): remove presets, use complete own rules
Helm / helm-lint (push) Successful in 12s
Bash / bash-unittest (push) Successful in 20s
Bash / shellcheck (push) Successful in 26s
changelog / changelog (push) Successful in 12s
Helm / helm-unittest (push) Successful in 17s
2026-12-05 18:52:20 +01:00
volker.raschek dfce04cab1 ci(renovate): update customManagers and packgeRules
Bash / bash-unittest (push) Successful in 37s
Helm / helm-unittest (push) Successful in 21s
changelog / changelog (push) Successful in 23s
Helm / helm-lint (push) Successful in 9s
Bash / shellcheck (push) Successful in 10s
2026-12-05 18:46:51 +01:00
volker.raschekandCopilot 6cc089ba9c test(bash): handle expected env diff
Bash / shellcheck (push) Successful in 9s
changelog / changelog (push) Successful in 16s
Bash / bash-unittest (push) Successful in 36s
Helm / helm-lint (push) Successful in 10s
Helm / helm-unittest (push) Successful in 31s
Bats now honors errexit inside functions run through run. Treat diff status 1 as expected environment changes so the helper returns the script status.

Co-authored-by: Copilot <copilot@github.com>
2026-12-04 23:19:13 +01:00
volker.raschekandCopilot a5579c167e [Close #1077] fix!: protect secrets and enforce config precedence
Bash / bash-unittest (push) Successful in 19s
changelog / changelog (push) Successful in 12s
Helm / helm-lint (push) Successful in 16s
Helm / helm-unittest (push) Successful in 16s
Markdown linter / markdown-lint (push) Successful in 15s
Markdown linter / markdown-link-checker (push) Successful in 53s
Bash / shellcheck (push) Successful in 26s
Equivalent environment variable encodings could overwrite existing
secrets or make configuration precedence depend on environment order.

BREAKING CHANGE: Duplicate preset environment variables targeting the
same setting now cause initialization to fail. Remove duplicates.

Co-authored-by: Copilot <copilot@github.com>
2026-12-04 22:37:36 +01:00
volker.raschekandCopilot ccb53fca3f [Close #1077] fix: preserve config key casing
Gitea requires case-sensitive setting names and escaped punctuation
to interpret configuration keys correctly.

Co-authored-by: Copilot <copilot@github.com>
2026-12-04 22:18:43 +01:00
volker.raschek be7e739f67 ci(renovate): renable dependency dashboard
Helm / helm-lint (push) Successful in 12s
Bash / bash-unittest (push) Successful in 17s
changelog / changelog (push) Successful in 14s
Helm / helm-unittest (push) Successful in 17s
Bash / shellcheck (push) Successful in 20s
2026-12-04 21:49:35 +01:00
volker.raschekandCopilot ffd2ba1d77 [Close #1117] feat: support rebuilding app.ini
Bash / bash-unittest (push) Successful in 18s
changelog / changelog (push) Successful in 12s
Helm / helm-lint (push) Successful in 14s
Helm / helm-unittest (push) Successful in 19s
Markdown linter / markdown-lint (push) Successful in 14s
Markdown linter / markdown-link-checker (push) Successful in 51s
Bash / shellcheck (push) Successful in 21s
Allow stale settings to be removed on startup while preserving existing Gitea secret keys.

Co-authored-by: Copilot <copilot@github.com>
2026-12-04 21:41:59 +01:00
volker.raschek 1779e3b525 ci(renovate): enable platformAutomerge
Bash / bash-unittest (push) Successful in 19s
Bash / shellcheck (push) Successful in 19s
changelog / changelog (push) Successful in 15s
Helm / helm-lint (push) Successful in 13s
Helm / helm-unittest (push) Successful in 30s
2026-12-04 21:02:30 +01:00
volker.raschek 3e0d8ac8ee fix(renovate): group packageRules
Bash / bash-unittest (push) Successful in 16s
Bash / shellcheck (push) Successful in 22s
changelog / changelog (push) Successful in 17s
Helm / helm-lint (push) Successful in 6s
Helm / helm-unittest (push) Successful in 33s
2026-12-04 20:58:49 +01:00
volker.raschek 46767730c4 chore(renovate): remove packageRule for unused alpine/helm
changelog / changelog (push) Successful in 11s
Helm / helm-unittest (push) Successful in 16s
Bash / bash-unittest (push) Successful in 16s
Bash / shellcheck (push) Successful in 19s
Helm / helm-lint (push) Successful in 13s
2026-12-04 20:48:56 +01:00
volker.raschek 778bdc949d chore(deps): update action actions/checkout to v7.0.1
Bash / shellcheck (push) Successful in 7s
Helm / helm-lint (push) Successful in 7s
Helm / helm-unittest (push) Successful in 31s
changelog / changelog (push) Successful in 12s
Bash / bash-unittest (push) Successful in 29s
2026-12-04 20:47:52 +01:00
volker.raschekandCopilot 37ab116b3e fix(ci): mark prerelease tags in Gitea releases
Bash / shellcheck (push) Successful in 8s
Helm / helm-unittest (push) Successful in 17s
changelog / changelog (push) Successful in 13s
Helm / helm-lint (push) Successful in 7s
Bash / bash-unittest (push) Successful in 30s
Match Artifact Hub prerelease detection so preview versions are not published as stable releases.

Co-authored-by: Copilot <copilot@github.com>
2026-12-04 20:22:32 +01:00
volker.raschekandCopilot c7279364d1 ci(release): remove inactive Gitea registry steps
Bash / bash-unittest (push) Successful in 16s
changelog / changelog (push) Successful in 14s
Helm / helm-lint (push) Successful in 12s
Helm / helm-unittest (push) Successful in 16s
Bash / shellcheck (push) Successful in 20s
Remove disabled publishing steps to keep the release workflow focused on active registries.

Co-authored-by: Copilot <copilot@github.com>
2026-12-04 20:14:08 +01:00
volker.raschekandCopilot 721e17bdb8 fix(ci): authenticate Helm to Docker Hub
Restore the explicit Helm registry login to address unauthorized chart pushes, and log out after publishing.

Co-authored-by: Copilot <copilot@github.com>
2026-12-04 20:13:24 +01:00
volker.raschek ea95db78e4 ci(release): disable gitea upload
changelog / changelog (push) Successful in 13s
Bash / bash-unittest (push) Successful in 28s
Helm / helm-lint (push) Successful in 6s
Helm / helm-unittest (push) Successful in 30s
Bash / shellcheck (push) Successful in 7s
2026-12-04 19:56:29 +01:00
volker.raschekandCopilot 39d5e628f7 ci(release): install Docker CLI through APT
Bash / shellcheck (push) Successful in 7s
changelog / changelog (push) Successful in 12s
Helm / helm-lint (push) Successful in 7s
Bash / bash-unittest (push) Successful in 28s
Helm / helm-unittest (push) Successful in 17s
Avoid firewall restrictions that prevent the Docker setup action
from working on the Gitea runner.

Co-authored-by: Copilot <copilot@github.com>
2026-12-04 19:34:22 +01:00
volker.raschekandCopilot 27b0110ef2 ci(release): set up Docker and Python
Bash / shellcheck (push) Successful in 7s
changelog / changelog (push) Successful in 12s
Bash / bash-unittest (push) Successful in 29s
Helm / helm-lint (push) Successful in 6s
Helm / helm-unittest (push) Successful in 30s
Provide the tools needed for registry login and AWS CLI installation
on the Gitea runner.

Co-authored-by: Copilot <copilot@github.com>
2026-12-04 19:20:23 +01:00
volker.raschek fbcc3f9cf1 fix(ci): add helm repo valkey
Bash / bash-unittest (push) Successful in 22s
changelog / changelog (push) Successful in 12s
Helm / helm-lint (push) Successful in 12s
Helm / helm-unittest (push) Successful in 16s
Bash / shellcheck (push) Successful in 23s
2026-12-04 19:13:02 +01:00
volker.raschek 797542da41 feat(ci): sign helm chart and oci artifact
Bash / bash-unittest (push) Successful in 30s
Helm / helm-lint (push) Successful in 10s
Bash / shellcheck (push) Successful in 7s
changelog / changelog (push) Successful in 14s
Helm / helm-unittest (push) Successful in 32s
The following PR updates the release workflow. It signs the Helm charts and the OCI artifact.
2026-12-04 19:07:40 +01:00
Ceddaerrix ddd0290b55 feat: adding 'tpl' to ingress annotation values (#1124)
### Description of the change

Adding templating support into ingress annotations so the following can be used (hence avoiding YAML anchors):

```
    ingress:
      className: "{{ .Values.global.ingress.className }}"
      annotations:
        cert-manager.io/issuer: "{{ .Values.global.issuer.name }}"
```

### Benefits

- avoiding use of YAML anchors and related limitations
- Possibility to inject a value into an annotation even from an umbrella chart

### Checklist

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

- [x] Helm templating unittests are added (required when changing anything in `templates` folder)

Reviewed-on: https://gitea.com/gitea/helm-gitea/pulls/1124
Reviewed-by: Markus Pesch <1641+volker.raschek@noreply.gitea.com>
Co-authored-by: Ceddaerrix <48319+ceddaerrix@noreply.gitea.com>
2026-12-04 17:08:33 +00:00
volker.raschek 304f50981d fix(renovate): enable automerge for lockFileMaintenance
Bash / bash-unittest (push) Successful in 28s
changelog / changelog (push) Successful in 12s
Bash / shellcheck (push) Successful in 6s
Helm / helm-lint (push) Successful in 12s
Helm / helm-unittest (push) Successful in 16s
2026-12-04 17:25:50 +01:00
Renovate Bot bc23031bd8 chore(deps): update dependency markdownlint-cli to v0.50.1 (#1125)
changelog / changelog (push) Successful in 13s
Helm / helm-lint (push) Successful in 6s
Bash / bash-unittest (push) Successful in 30s
Helm / helm-unittest (push) Successful in 16s
Bash / shellcheck (push) Successful in 8s
This PR contains the following updates:

| Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
| [markdownlint-cli](https://github.com/igorshubovych/markdownlint-cli) | [`0.50.0` → `0.50.1`](https://renovatebot.com/diffs/npm/markdownlint-cli/0.50.0/0.50.1) | ![age](https://developer.mend.io/api/mc/badges/age/npm/markdownlint-cli/0.50.1?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/markdownlint-cli/0.50.0/0.50.1?slim=true) |

---

### Release Notes

<details>
<summary>igorshubovych/markdownlint-cli (markdownlint-cli)</summary>

### [`v0.50.1`](https://github.com/igorshubovych/markdownlint-cli/releases/tag/v0.50.1)

[Compare Source](https://github.com/igorshubovych/markdownlint-cli/compare/v0.50.0...v0.50.1)

- Update `markdownlint` dependency to `0.42.2`
  - Improve `MD042`/`MD052`/`MD054`
  - Handle null prototype configuration objects
  - Update dependencies
- Fix uncommon exit code and `.markdownlintignore` behaviors
- Update all dependencies via `Dependabot`

</details>

---

### Configuration

đź“… **Schedule**: (UTC)

- Branch creation
  - Only on Sunday and Saturday (`* * * * 0,6`)
- Automerge
  - Between 12:00 AM and 03:59 AM (`* 0-3 * * *`)

🚦 **Automerge**: Enabled.

â™» **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4yNTcuOSIsInVwZGF0ZWRJblZlciI6IjQ0LjI1Ny45IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJraW5kL2RlcGVuZGVuY3kiXX0=-->

Reviewed-on: https://gitea.com/gitea/helm-gitea/pulls/1125
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
2026-11-28 19:27:24 +00:00
Renovate Bot c623890d6f chore(deps): update workflow dependencies (minor & patch) (#1123)
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
2026-11-22 00:06:45 +00:00
Renovate Bot bc875056bd chore(deps): update workflow dependencies (minor & patch) (#1121)
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
2026-11-16 00:07:32 +00:00
Renovate Bot 79178a18d0 chore(deps): update node.js to v26.13.0 (#1120)
Reviewed-on: https://gitea.com/gitea/helm-gitea/pulls/1120
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
2026-11-14 15:26:28 +00:00
Renovate Bot b43d59ba88 chore(deps): update helm release valkey to v0.12.1 (#1119)
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
2026-11-08 00:05:42 +00:00
Renovate Bot e067bccd57 chore(deps): update workflow dependencies (minor & patch) (#1118)
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
2026-11-01 00:05:05 +00:00
Renovate Bot 2b5edb77cf chore(deps): update workflow dependencies (minor & patch) (#1114)
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
2026-10-27 00:08:49 +00:00
Renovate Bot deedb0f1b3 chore(deps): update helm release valkey to v0.12.0 (#1115)
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
2026-10-25 00:06:25 +00:00
silverwindandClaude 0031a20a40 fix(renovate): repair the Gitea release manager
The appVersion manager from 475df2f captures `currentVersion`, which
Renovate rejects, so it has opened no PRs here since 2026-07-21
(https://gitea.com/gitea/helm-gitea/issues/1098). Its `^...$` anchors
never match either, Renovate runs these patterns without the multiline
flag, and Gitea releases live in go-gitea/gitea on GitHub, not
gitea/gitea.

The workflow version markers move to the trailing form the shared preset
already picks up, so the local copy of that manager goes, as does
`helpers:pinGitHubActionDigests`, which the preset extends too.
HELM_UNITTEST_VERSION was never picked up because of its `#renovate:`
spelling.

Co-Authored-By: Claude (Opus 5.5) <noreply@anthropic.com>
2026-10-21 05:43:45 +02:00
volker.raschekandCopilot 6d68d44894 feat(cloudnativePG): support topologySpreadConstraints
Bash / shellcheck (push) Successful in 7s
Bash / bash-unittest (push) Successful in 25s
changelog / changelog (push) Successful in 15s
Helm / helm-lint (push) Successful in 13s
Helm / helm-unittest (push) Successful in 20s
Markdown linter / markdown-lint (push) Successful in 18s
Markdown linter / markdown-link-checker (push) Successful in 52s
A HA `Cluster` is only actually highly available if its instances end up in different failure domains. Pod
anti-affinity alone cannot express that: it only keeps the instances off the same node, not off the same zone,
and `cloudnativePG.affinity` has no way to encode a skew budget. Without `topologySpreadConstraints` a three
instance cluster can legitimately be scheduled into a single availability zone, where a zone outage takes down
the primary and both replicas at once.

Both `affinity` and `topologySpreadConstraints` are rendered only when they are set. The CloudNativePG API
declares them as `omitempty`, so an empty `{}` or `[]` in the manifest would show up as a permanent diff against
the state the operator writes back.

Tolerations deliberately do not get a dedicated value. CloudNativePG has no `spec.tolerations`, it nests them
below `spec.affinity.tolerations`, so they are configured through `cloudnativePG.affinity` like `nodeSelector`
and the anti-affinity settings. A separate top-level value would only have to be folded back into the same place
and would silently conflict with a tolerations list set via `cloudnativePG.affinity`.

Co-authored-by: Copilot <copilot@github.com>
2026-10-04 00:39:08 +02:00
volker.raschekandCopilot 27db0d26b0 feat!: remove the postgresql sub-chart
With `cloudnativePG` in place, the bundled Bitnami `postgresql` sub-chart is the second in-chart way to run a
database, and the worse one. It is a single, non-HA instance without failover, backup or managed major-version
upgrades, and it ships images that Bitnami no longer distributes freely. Keeping it around means maintaining two
code paths for the same job, including the mutual-exclusion assertion between both dependencies and a second set
of DNS, credential and image helpers.

Removing it leaves exactly two supported choices: a CloudNativePG `Cluster` rendered by this chart, or an
external database configured via `gitea.config.database`. Both scale from a single instance to a HA setup -
`cloudnativePG.instances=1` covers the use case the `postgresql` sub-chart served - so nothing is lost besides
the duplication.

BREAKING CHANGE: The `postgresql` sub-chart and all `postgresql.*` values have been removed. There is no
in-place migration path: dump the database of the old `postgresql` release with `pg_dump`, remove the
`postgresql` values, deploy the chart with `cloudnativePG.enabled=true` and restore the dump. Alternatively
point `gitea.config.database` at an externally managed database. Setting `postgresql` now fails the release with
a pointer to the changelog.

Co-authored-by: Copilot <copilot@github.com>
2026-10-04 00:39:05 +02:00
volker.raschekandCopilot 1b82a15b7f feat!: replace postgresql-ha with CloudNativePG
The bundled `postgresql-ha` sub-chart was the only HA-ready database option, but it pinned us to a Bitnami chart
whose images are no longer freely distributed, and it bundled repmgr and pgpool into the release. Operating a
Postgres cluster through a Helm release also means the chart has to reimplement failover, backup and upgrade
orchestration that a dedicated operator already solves.

CloudNativePG is the de-facto standard operator for Postgres on Kubernetes and handles instance management,
streaming replication, switchover and rolling upgrades itself. The operator is deliberately *not* part of this
chart: cluster-scoped CRDs and controllers do not belong into an application release and would conflict with an
operator that is already installed. The chart only renders the namespaced `Cluster` resource, so the operator can
be managed independently.

Because the operator cannot be assumed to be present, `cloudnativePG.enabled` defaults to `false`. Existing users
of `postgresql` or an external database are therefore unaffected.

Credentials follow the chart-wide `secrets.*` convention. Only the password is read from a Secret, because
CloudNativePG requires `bootstrap.initdb.database` and `bootstrap.initdb.owner` as literals in the `Cluster` spec
and cannot resolve them from a Secret. The password is injected into the `init-app-ini` container as
`GITEA__database__PASSWD` instead of being written into the generated `app.ini`.

BREAKING CHANGE: The `postgresql-ha` sub-chart and all `postgresql-ha.*` values have been removed. There is no
in-place migration path between the two deployments: dump the database of the old `postgresql-ha` release with
`pg_dump`, remove the `postgresql-ha` values, deploy the chart with `cloudnativePG.enabled=true` and restore the
dump. Setting `postgresql-ha` now fails the release with a pointer to the changelog.

Co-authored-by: Copilot <copilot@github.com>
2026-10-04 00:18:34 +02:00
volker.raschekandCopilot eeacda2a25 test: align the file names of the helm unit tests with the chart conventions
The chart conventions demand camelCase file names, forbid short names like `svc` and require the unit tests to
mirror the template structure. The unit tests followed none of that consistently. Four casings existed side by
side - camelCase (extraInitContainers.yaml), kebab-case (checksum-annotations.yaml), a snake and kebab mix
(init_directory_structure.sh-rootless.yaml) and all caps (HA.yaml) - so there was no pattern to copy when
adding a suite, which is how the inconsistency kept growing.

Three groups of problems are fixed:

- svc-configuration.yaml used exactly the short name the conventions forbid for files and keys.
- Several file names repeated their own directory, for example deployment/deployment-additional-config.yaml and
  metric-secret/metrics-secret-servicemonitor-disabled.yaml, which names the subject three times. The directory
  already carries that information, so the file name now only carries the scenario. The default scenario of a
  template is named basics.yaml.
- Four suites lived in a directory of a template they do not assert on. They were filed under deployment/
  because the deployment is rendered as a side effect, not because it is the subject:

      deployment/deprecations.yaml                -> deprecation/deployment.yaml
      deployment/inline-config.yaml               -> config/inlineConfig.yaml
      deployment/storage-class-configuration.yaml -> persistentVolumeClaim/storageClass.yaml
      deployment/svc-configuration.yaml           -> service/configuration.yaml

  storage-class-configuration.yaml is the clearest case: a persistentVolumeClaim directory already existed next
  to it. The suite titles of the two suites whose subject changed are adjusted accordingly.

The Makefile passed `--file unittests/helm/values-conflicting-checks.yaml`, but that file does not exist in the
tree. `helm unittest` ignores a missing path without a warning, so the flag has been dead for an unknown amount
of time while still suggesting the checks run. It is removed; the `unittests/helm/**/*.yaml` glob would pick
the file up anyway if it ever returns.

The naming rule is written down in the copilot instructions, together with the constraint that the glob matches
only a single directory level, so a suite can never be placed directly in unittests/helm/.

All 49 suites and 267 tests still pass.

Co-authored-by: Copilot <copilot@github.com>
2026-10-03 22:19:39 +02:00
volker.raschekandCopilot fef4190a74 test: normalize the suite titles of the helm unit tests
Bash / bash-unittest (push) Successful in 14s
changelog / changelog (push) Successful in 16s
Helm / helm-lint (push) Successful in 15s
Helm / helm-unittest (push) Successful in 32s
Markdown linter / markdown-lint (push) Successful in 15s
Markdown linter / markdown-link-checker (push) Successful in 56s
Bash / shellcheck (push) Successful in 20s
The contributor guidelines never defined how a `suite` title has to look, only how an `it` title has to look.
Without a rule five competing schemes grew side by side: `config template | cache config`, `deployment
template (probes)`, `ServiceMonitor template (basic)`, `Test Gateway API httpRoute.yaml` and `Dependency checks
| Customization integrity | valkey`. 24 of the 49 titles started with a lowercase letter, which contradicts the
sentence rule that already applies to the test titles.

More than cosmetics, the missing rule produced three concrete defects:

- `deployment template` was used by both deployment-additional-config.yaml and extraInitContainers.yaml, and
  `Init template` by both init_directory_structure.sh.yaml and its rootless counterpart. `helm unittest`
  identifies a failing suite by its title, so a failure in either file printed the same header and the report
  did not say which file to open.
- deployment/inline-config.yaml was titled `config template`, although it lives in the deployment directory and
  asserts on secret_inlineConfig.yaml. It read like a sixth member of the `config template | ...` group.
- persistentVolumeClaim.yaml was titled `PVC template`, using exactly the short name the chart conventions
  forbid for files and keys.

All suites now follow `Test <subject> <scenario>`, for example `Test deployment probes` or `Test gateway API
httpRoute`. The subject is the template under test, the scenario is what distinguishes the suite from its
siblings, so every title is unique and sorts next to its related suites. The `Test ` prefix of the Gateway API,
ingress and route suites is kept, because it is the only part of the old schemes that already read as a
sentence; the redundant `.yaml` suffix and the `tests` suffix of the storage class suite are dropped.

The rule is written down in the Unit Tests section of the copilot instructions, so the next suite does not have
to guess which of the five schemes was meant.

Co-authored-by: Copilot <copilot@github.com>
2026-10-03 21:21:46 +02:00
volker.raschekandCopilot bb3b59f1ee test: normalize the titles of the helm unit tests
Bash / bash-unittest (push) Successful in 24s
changelog / changelog (push) Successful in 16s
Helm / helm-lint (push) Successful in 18s
Helm / helm-unittest (push) Successful in 35s
Bash / shellcheck (push) Successful in 8s
The contributor guidelines require that the title of a unit test is "a short sentence starting with a capital
letter and ending without a period". Only 30 of the 269 titles followed that rule. The remaining ones were
lowercase verb phrases ("renders a deployment"), which made the test output read inconsistently depending on
which suite was running, and made it impossible to tell a convention violation from an intentional style.

All titles are now imperative, capitalized and unquoted-safe:

  renders a deployment                                 -> Render a Deployment
  should not render when gatewayAPI.enabled is false   -> Skip rendering when gatewayAPI.enabled is false
  skips gpg volume spec                                -> Skip the gpg volume spec

The bracketed prefixes of the dependency checks and of the server section suite are kept, because they group
the tests by the chart they assert on. Only the sentence behind the prefix was rewritten.

Beyond the pure capitalization three classes of titles needed real rewording:

- The titles in image-configuration.yaml named a subject instead of a scenario ("default values", "tag
  override", "digest and global registry"). They now describe what is rendered.
- init_directory_structure.sh-rootless.yaml carried "it does not chown /data ...", which rendered as
  "it it does not chown" in the test output.
- The "should" prefix in the Gateway API and route suites added no information once the title is a sentence.

The title of the GIT_GC_REPOS test lost its embedded double quotes. The title was previously an unquoted YAML
scalar, so the quotes were literal characters; quoting the title turned them into a parse error. The value is
unambiguous without them.

Three byte-identical tests asserting pgpool.adminPassword existed in customization-integrity-postgresql-ha.yaml
- same template, same assertion, same expected value. They were a copy-paste artifact and shared one title, so
two of them are removed. No coverage is lost, which is why the test count drops from 269 to 267.

No snapshot files are tracked and no suite uses matchSnapshot, so retitling cannot invalidate stored snapshots.

Co-authored-by: Copilot <copilot@github.com>
2026-10-03 21:17:18 +02:00
volker.raschekandCopilot 7c18b18a47 docs: drop the emphasis from the app.ini heading
Bash / shellcheck (push) Successful in 8s
changelog / changelog (push) Successful in 18s
Helm / helm-lint (push) Successful in 15s
Helm / helm-unittest (push) Successful in 41s
Bash / bash-unittest (push) Successful in 25s
Markdown linter / markdown-lint (push) Successful in 16s
Markdown linter / markdown-link-checker (push) Successful in 1m4s
markdown-link-check derives the anchor from the raw heading text, where the underscores of the emphasis survive
slugification as `additional-_appini_-settings`. Gitea and GitHub slugify the rendered heading instead, so the
anchor really is `additional-appini-settings` and the table of contents entry was correct all along - the checker
simply could not see it.

The entry appeared with the last regeneration of the README, which is why the job started failing now even though
the heading has been around for much longer. Removing the emphasis makes both slugifiers agree without changing the
anchor, so existing deep links keep working.

Co-authored-by: Copilot <copilot@github.com>
2026-10-03 20:59:40 +02:00