Commit Graph
833 Commits
Author SHA1 Message Date
CSRBot bc24ea57f7 Merge pull request 'chore(deps): update dependency sigstore/cosign to v3.1.6' (#73) from renovate/sigstore-cosign-3.x into main
Bash / bash-unittest (push) Failing after 17s
changelog / changelog (push) Successful in 29s
Helm / helm-lint (push) Successful in 8s
Helm / helm-unittest (push) Successful in 26s
Bash / shellcheck (push) Successful in 9s
2026-12-05 20:08:06 +00:00
CSRBot 6777911039 Merge pull request 'chore(deps): update dependency losisin/helm-values-schema-json to v2.6.1' (#72) from renovate/losisin-helm-values-schema-json-2.x into main
Bash / bash-unittest (push) Failing after 12s
Bash / shellcheck (push) Successful in 26s
changelog / changelog (push) Successful in 30s
Helm / helm-lint (push) Successful in 12s
Helm / helm-unittest (push) Successful in 27s
2026-12-05 20:07:54 +00:00
CSRBot 86468f0845 chore(deps): update dependency sigstore/cosign to v3.1.6
Bash / bash-unittest (push) Successful in 21s
Helm / helm-lint (push) Successful in 7s
Helm / helm-unittest (push) Successful in 26s
Bash / shellcheck (pull_request) Successful in 9s
Bash / bash-unittest (pull_request) Successful in 46s
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 24s
Bash / shellcheck (push) Successful in 9s
2026-12-05 20:07:54 +00:00
CSRBot d28e732311 chore(deps): update dependency losisin/helm-values-schema-json to v2.6.1
Helm / helm-lint (push) Successful in 9s
Helm / helm-unittest (push) Successful in 23s
Bash / shellcheck (pull_request) Successful in 8s
Commit Linter / check-and-test (pull_request) Successful in 8s
Bash / bash-unittest (pull_request) Successful in 35s
Helm / helm-lint (pull_request) Successful in 11s
Helm / helm-unittest (pull_request) Successful in 39s
Bash / bash-unittest (push) Successful in 24s
Bash / shellcheck (push) Successful in 28s
2026-12-05 20:07:45 +00:00
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 / 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
Bash / shellcheck (push) Successful in 10s
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
Helm / helm-unittest (push) Successful in 38s
Helm / helm-lint (push) Successful in 18s
changelog / changelog (push) Successful in 17s
Bash / shellcheck (push) Successful in 9s
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 / 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
Bash / shellcheck (push) Successful in 9s
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 / 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
Bash / shellcheck (push) Successful in 27s
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
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
Bash / shellcheck (push) Successful in 14s
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
changelog / changelog (push) Successful in 12s
Helm / helm-unittest (push) Successful in 17s
Bash / shellcheck (push) Successful in 26s
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
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
Bash / shellcheck (push) Successful in 7s
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
changelog / changelog (push) Successful in 14s
Helm / helm-unittest (push) Successful in 32s
Bash / shellcheck (push) Successful in 7s
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