Compare commits

...

564 commits
v5.0.2 ... main

Author SHA1 Message Date
Renovate Bot
97da7caf32
chore(deps): update pnpm to v10.7.0 (main) (#1168)
Some checks failed
build / lint-node (push) Successful in 1m26s
build / lint-helm (push) Successful in 55s
/ mirror (push) Failing after 2s
build / publish (push) Has been cancelled
build / test-success (push) Has been cancelled
build / e2e (v1.28.15+k3s1) (push) Has been cancelled
build / e2e (v1.31.6+k3s1) (push) Has been cancelled
build / e2e (v1.32.2+k3s1) (push) Has been cancelled
Reviewed-on: https://code.forgejo.org/forgejo-helm/forgejo-helm/pulls/1168
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2025-03-26 15:51:07 +00:00
Renovate Bot
d3c5871838
fix(deps): update subcharts (main) (#1165)
Reviewed-on: https://code.forgejo.org/forgejo-helm/forgejo-helm/pulls/1165
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2025-03-26 15:50:54 +00:00
Michael Kriese
dfd7192c98
test: add forgejo v12 test (#1167)
Reviewed-on: https://code.forgejo.org/forgejo-helm/forgejo-helm/pulls/1167
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-committed-by: Michael Kriese <michael.kriese@visualon.de>
2025-03-26 15:47:26 +00:00
Michael Kriese
859b7fe8d3
test: fix forgejo test tags 2025-03-26 16:27:41 +01:00
Renovate Bot
72fc2f00e3
fix(deps): update forgejo docker tag to v10.0.3 (main) (#1164)
Some checks failed
build / lint-node (push) Successful in 34s
build / lint-helm (push) Successful in 47s
build / test-success (push) Has been cancelled
build / publish (push) Has been cancelled
build / e2e (v1.28.15+k3s1) (push) Has been cancelled
build / e2e (v1.31.6+k3s1) (push) Has been cancelled
build / e2e (v1.32.2+k3s1) (push) Has been cancelled
Reviewed-on: https://code.forgejo.org/forgejo-helm/forgejo-helm/pulls/1164
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2025-03-23 12:10:24 +00:00
Renovate Bot
17bbb9cf89
fix(deps): update forgejo docker tag to v10.0.2 (main) (#1163)
Reviewed-on: https://code.forgejo.org/forgejo-helm/forgejo-helm/pulls/1163
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2025-03-21 13:37:42 +00:00
Renovate Bot
2c57f85122
chore(deps): update pnpm to v10.6.5 (main) (#1161)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2025-03-19 14:11:37 +00:00
Renovate Bot
349d2a36ed
chore(deps): update pnpm to v10.6.4 (main) (#1158)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2025-03-17 14:43:11 +00:00
Renovate Bot
5962e0cc7d
ci(deps): update actions/setup-node action to v4.3.0 (main) (#1156)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2025-03-17 03:42:53 +00:00
Renovate Bot
588d444bb5
fix(deps): update subcharts (main) (#1154)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2025-03-17 00:12:54 +00:00
Renovate Bot
e6250201a6
ci(deps): update dependency helm to v3.17.2 (main) (#1152)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2025-03-13 16:41:52 +00:00
Renovate Bot
c09c6ae5e0
chore(deps): update pnpm to v10.6.3 (main) (#1150)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2025-03-13 14:42:12 +00:00
Renovate Bot
d43cbf7af2
chore(deps): update dependency lint-staged to v15.5.0 (main) (#1148)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2025-03-12 15:11:46 +00:00
Renovate Bot
bd49cdad14
ci(deps): update dependency kubectl to v1.32.3 (main) (#1146)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2025-03-12 04:42:26 +00:00
Renovate Bot
67ca46fbb5
chore(deps): update pnpm to v10.6.2 (main) (#1144)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2025-03-10 03:12:37 +00:00
Renovate Bot
2e1a563a6b
fix(deps): update subcharts (main) (#1143)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2025-03-10 00:08:21 +00:00
Renovate Bot
b261b77fad
chore(deps): update pnpm to v10.6.1 (main) (#1141)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2025-03-07 02:12:53 +00:00
Renovate Bot
f2acc5f4dd
chore(deps): update dependency conventional-changelog-core to v9 (main) (#1106)
Reviewed-on: https://code.forgejo.org/forgejo-helm/forgejo-helm/pulls/1106
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2025-03-06 18:34:21 +00:00
Renovate Bot
70ba947913
chore(deps): update pnpm to v10.6.0 (main) (#1139)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2025-03-06 17:12:08 +00:00
Renovate Bot
51585c7d98
fix(deps): update subcharts (main) (#1134)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2025-03-03 07:38:26 +00:00
Renovate Bot
1ec9db9adf
chore(deps): update dependency prettier to v3.5.3 (main) (#1135)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2025-03-03 07:02:07 +00:00
Renovate Bot
262e31426c
ci(deps): update k3s (patch) (main) (patch) (#1132)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2025-02-27 19:41:25 +00:00
Renovate Bot
075b3d8b5f
chore(deps): update pnpm to v10.5.2 (main) (#1130)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2025-02-27 02:12:30 +00:00
Renovate Bot
dc24ff05fe
chore(deps): update pnpm to v10.5.1 (main) (#1128)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2025-02-26 12:41:32 +00:00
Renovate Bot
3f93b532ec
ci(deps): update https://github.com/nick-fields/retry action to v3.0.2 (main) (#1126)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2025-02-25 14:11:38 +00:00
Renovate Bot
ad99f52adc
chore(deps): update pnpm to v10.5.0 (main) (#1124)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2025-02-25 13:17:51 +00:00
Renovate Bot
15357ed605
fix(deps): update subcharts (main) (#1122)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2025-02-24 00:14:45 +00:00
Renovate Bot
25f8b0c840
chore(deps): update dependency prettier to v3.5.2 (main) (#1120)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2025-02-22 04:43:09 +00:00
Renovate Bot
d0e2ad903b
ci(deps): update https://github.com/azure/setup-helm action to v4.3.0 (main) (#1117)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2025-02-18 08:11:47 +00:00
Renovate Bot
62254247fb
ci(deps): update azure/setup-helm action to v4.3.0 (main) (#1116)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2025-02-18 07:37:24 +00:00
Renovate Bot
733b930f27
ci(deps): update https://github.com/nick-fields/retry action to v3.0.1 (main) (#1114)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2025-02-17 18:43:05 +00:00
Renovate Bot
628fc3b4e7
fix(deps): update helm release redis to v20.7.1 (main) (#1113)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2025-02-17 03:43:11 +00:00
Renovate Bot
9b52aa4eea
fix(deps): update helm release redis-cluster to v11.4.2 (main) (#1111)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2025-02-17 02:37:52 +00:00
Renovate Bot
a2028ca2de
fix(deps): update subcharts (main) (#1110)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2025-02-17 00:07:45 +00:00
Renovate Bot
8f333dd457
chore(deps): update pnpm to v10.4.1 (main) (#1108)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2025-02-16 22:11:39 +00:00
Renovate Bot
775d96235a
chore(deps): update pnpm to v10.4.0 (main) (#1104)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2025-02-14 01:11:06 +00:00
Renovate Bot
01cd48266b
ci(deps): update dependency kubectl to v1.32.2 (main) (#1100)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2025-02-13 14:27:31 +00:00
Renovate Bot
7e92ed859c
chore(deps): update dependency prettier to v3.5.1 (main) (#1102)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2025-02-13 13:59:00 +00:00
Renovate Bot
8b382d0a49
ci(deps): update dependency helm to v3.17.1 (main) (#1098)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2025-02-12 21:42:39 +00:00
Michael Kriese
5a3f266bbc
fix(config): mask special chars in setting keys 2025-02-12 10:58:28 +01:00
Renovate Bot
d6b799cd55
chore(deps): update node.js to v22.14.0 (main) (#1096)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2025-02-11 11:41:09 +00:00
Renovate Bot
55a3201ea4
chore(deps): update pnpm to v10.3.0 (main) (#1094)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2025-02-11 00:13:51 +00:00
Renovate Bot
7838ee7772
fix(deps): update subcharts (main) (#1093)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2025-02-10 00:07:40 +00:00
Renovate Bot
a06af8e516
chore(deps): update pnpm to v10 (main) (#1086)
Reviewed-on: https://code.forgejo.org/forgejo-helm/forgejo-helm/pulls/1086
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2025-02-09 13:39:57 +00:00
Renovate Bot
6b87dc5bfd
chore(deps): update dependency prettier to v3.5.0 (main) (#1091)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2025-02-09 11:38:38 +00:00
Renovate Bot
1bfa7d8a8d
ci(deps): update pnpm/action-setup action to v4.1.0 (main) (#1088)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2025-02-08 17:38:47 +00:00
Renovate Bot
0ae0ac7868
fix(deps): update forgejo docker tag to v10.0.1 (main) (#1089)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [forgejo](https://forgejo.org) ([source](https://codeberg.org/forgejo/forgejo)) | patch | `10.0.0` -> `10.0.1` |

---

### Release Notes

<details>
<summary>forgejo/forgejo (forgejo)</summary>

### [`v10.0.1`](https://codeberg.org/forgejo/forgejo/releases/tag/v10.0.1)

See https://codeberg.org/forgejo/forgejo/src/branch/forgejo/release-notes-published/10.0.1.md

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, 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 [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xNTYuMSIsInVwZGF0ZWRJblZlciI6IjM5LjE1Ni4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Reviewed-on: https://code.forgejo.org/forgejo-helm/forgejo-helm/pulls/1089
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2025-02-08 17:19:50 +00:00
Renovate Bot
d277fa5abb
chore(deps): update pnpm to v9.15.5 (main) (#1084)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2025-02-02 18:07:14 +00:00
Renovate Bot
fb51fd1b9c
ci(deps): update k3s (patch) (main) (patch) (#1082)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2025-01-30 00:44:08 +00:00
Renovate Bot
895e9d2e51
ci(deps): update dependency helm-unittest to v0.7.2 (main) (#1078)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2025-01-27 23:42:23 +00:00
Renovate Bot
4ea41d05c9
ci(deps): update actions/setup-node action to v4.2.0 (main) (#1076)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2025-01-27 04:41:12 +00:00
Renovate Bot
c7065cb02f
fix(deps): update subcharts (main) (#1074)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2025-01-27 00:11:23 +00:00
Renovate Bot
3d167ad47e
chore(deps): update dependency lint-staged to v15.4.3 (main) (#1072)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2025-01-26 14:46:52 +00:00
Renovate Bot
c1fb3f9c53
chore(deps): update dependency markdownlint-cli to v0.44.0 (main) (#1070)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2025-01-25 01:43:49 +00:00
melonion
29c2d06e2e
docs: Converge values.yaml and README (#1065)
reopening my pull request from codeberg, unfortunately its old contents are not visible at least to me: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/301#issuecomment-1846317

Co-authored-by: xeruf <xeruf@noreply.codeberg.org>
Co-authored-by: xeruf <27jf@pm.me>
Reviewed-on: https://code.forgejo.org/forgejo-helm/forgejo-helm/pulls/1065
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
Co-authored-by: melonion <melonion@noreply.code.forgejo.org>
Co-committed-by: melonion <melonion@noreply.code.forgejo.org>
2025-01-23 13:37:04 +00:00
Renovate Bot
e0a681e2c4
chore(deps): update dependency lint-staged to v15.4.2 (main) (#1068)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2025-01-23 11:41:17 +00:00
Renovate Bot
99249e911d
chore(deps): update dependency @bitnami/readme-generator-for-helm to v2.7.0 (main) (#1066)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2025-01-23 08:12:57 +00:00
Renovate Bot
40d06b8376
chore(deps): update node.js to v22.13.1 (main) (#1063)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2025-01-21 17:39:55 +00:00
Renovate Bot
677445b470
ci(deps): update helm/chart-testing-action action to v2.7.0 (main) (#1061)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2025-01-20 11:47:58 +00:00
viceice-bot
5adf9c5084 Merge pull request 'chore(deps): update dependency lint-staged to v15.4.1 (main)' (#1057) from renovate/main-lint-staged-15.x into main 2025-01-16 18:40:53 +00:00
Renovate Bot
3d71bfc152
chore(deps): update dependency lint-staged to v15.4.1 2025-01-16 18:30:53 +00:00
joshuachp
a5bfb2f53c fix(ingress): apiVersion should be networking.k8s.io/v1 (#1056)
The `apiVersion` should be `networking.k8s.io/v1`

Reviewed-on: https://code.forgejo.org/forgejo-helm/forgejo-helm/pulls/1056
Co-authored-by: joshuachp <joshuachp@noreply.code.forgejo.org>
Co-committed-by: joshuachp <joshuachp@noreply.code.forgejo.org>
2025-01-16 13:16:47 +00:00
Michael Kriese
7ea9325fb8
fix: update helm test hook
- Closes #908
2025-01-16 11:47:54 +01:00
Renovate Bot
7204ff3280 fix(deps): update subcharts (main) (#1054)
Reviewed-on: https://code.forgejo.org/forgejo-helm/forgejo-helm/pulls/1054
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2025-01-16 10:42:15 +00:00
Michael Kriese
601aade898
docs: update metallb annotation 2025-01-16 11:40:57 +01:00
Michael Kriese
56fcb01bd0
feat!: readiness probe is now using the heath endpoint
- Closes #917
2025-01-16 11:28:19 +01:00
Michael Kriese
b3d1068082
feat!: ports are now referenced by name
- Closes #919
2025-01-16 11:28:19 +01:00
Michael Kriese
4bfbb48dd3
fix!: drop unsupported api versions
- Closes #918
2025-01-16 11:12:16 +01:00
Michael Kriese
2cabd2dd1b
feat!: set clusterIP to empty value
- Closes #926
2025-01-16 10:56:11 +01:00
Renovate Bot
f7e712d49c feat(deps)!: update forgejo docker tag to v10 (main) (#1052)
Reviewed-on: https://code.forgejo.org/forgejo-helm/forgejo-helm/pulls/1052
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2025-01-16 09:43:52 +00:00
Michael Kriese
bfb0a6c075
ci: drop forgejo v8 and v9 testing 2025-01-16 10:30:39 +01:00
Michael Kriese
18fc56e994
docs: Add upgrade notes 2025-01-16 10:14:43 +01:00
viceice-bot
48d6cc1552 Merge pull request 'chore(deps): update dependency lint-staged to v15.4.0 (main)' (#1050) from renovate/main-lint-staged-15.x into main 2025-01-16 06:48:52 +00:00
Renovate Bot
d7a1423789
chore(deps): update dependency lint-staged to v15.4.0 2025-01-16 06:32:05 +00:00
viceice-bot
c28e68bf2a Merge pull request 'ci(deps): update dependency helm to v3.17.0 (main)' (#1048) from renovate/main-helm-3.x into main 2025-01-15 22:16:28 +00:00
Renovate Bot
354fba2165
ci(deps): update dependency helm to v3.17.0 2025-01-15 22:01:32 +00:00
viceice-bot
eef813ffea Merge pull request 'ci(deps): update dependency kubectl to v1.32.1 (main)' (#1046) from renovate/main-kubectl-1.x into main 2025-01-15 21:12:08 +00:00
Renovate Bot
c3ced353b4
ci(deps): update dependency kubectl to v1.32.1 2025-01-15 21:01:08 +00:00
Renovate Bot
8bf59b293b feat(deps): update helm release postgresql-ha to v15 (main) (#982)
Reviewed-on: https://code.forgejo.org/forgejo-helm/forgejo-helm/pulls/982
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2025-01-15 13:55:16 +00:00
Renovate Bot
924a1546b7 feat(deps): update helm release postgresql to v16 (main) (#903)
Reviewed-on: https://code.forgejo.org/forgejo-helm/forgejo-helm/pulls/903
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2025-01-15 13:40:09 +00:00
Michael Kriese
af662db1f2
ci: use forgejo mirror for busybox 2025-01-15 13:39:10 +01:00
Michael Kriese
bc3764c219
ci: use public.ecr.aws mirror for bitnami images (take 2)
- #1045
2025-01-15 13:03:31 +01:00
Michael Kriese
d4d7cdc04f
ci: use public.ecr.aws mirror for bitnami images
- #1045
2025-01-15 12:28:59 +01:00
Michael Kriese
239ea7a5e3
feat!: use ghcr oci mirror
- #1045
2025-01-15 12:19:59 +01:00
Michael Kriese
4bb97219bf
ci: bump k3s stable to v1.31.4 2025-01-15 10:35:21 +01:00
Michael Kriese
c31403c5c7
chore(renovate): update allowed k3s version 2025-01-15 10:34:35 +01:00
Michael Kriese
85704a62d2
ci: bump k3s stable to v1.31 2025-01-15 10:30:22 +01:00
Michael Kriese
ba6efc036c
ci: add v11 test 2025-01-15 10:29:53 +01:00
Renovate Bot
8da39bb5bc ci(deps): update dependency k3s to v1.32.0+k3s1 (minor) (main) (#1036)
Reviewed-on: https://code.forgejo.org/forgejo-helm/forgejo-helm/pulls/1036
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2025-01-15 09:29:34 +00:00
viceice-bot
a0e4b93e3a Merge pull request 'chore(deps): update pnpm to v9.15.4 (main)' (#1042) from renovate/main-pnpm-9.x into main 2025-01-13 20:37:57 +00:00
Renovate Bot
677c8d2c52
chore(deps): update pnpm to v9.15.4 2025-01-13 20:30:54 +00:00
viceice-bot
1870f7421f Merge pull request 'ci(deps): update dependency chart-testing to v3.12.0 (main)' (#1040) from renovate/main-chart-testing-3.x into main 2025-01-13 12:37:35 +00:00
Renovate Bot
b79c7f4cb5
ci(deps): update dependency chart-testing to v3.12.0 2025-01-13 12:30:46 +00:00
viceice-bot
40713c8d7d Merge pull request 'fix(deps): update subcharts (main)' (#1038) from renovate/main-subcharts into main 2025-01-13 00:08:16 +00:00
Renovate Bot
4b7c9aabb7
fix(deps): update subcharts 2025-01-13 00:00:55 +00:00
viceice-bot
bd86f2770e Merge pull request 'chore(deps): update node.js to v22.13.0 (main)' (#1033) from renovate/main-node-22.x into main 2025-01-07 20:44:20 +00:00
Renovate Bot
38bf657c1c
chore(deps): update node.js to v22.13.0 2025-01-07 20:31:18 +00:00
viceice-bot
11e5cd2f6b Merge pull request 'fix(deps): update helm release common to v2.29.0 (main)' (#1031) from renovate/main-subcharts into main 2025-01-06 00:38:37 +00:00
Renovate Bot
5127e3af60
fix(deps): update helm release common to v2.29.0 2025-01-06 00:31:19 +00:00
viceice-bot
52446af2d7 Merge pull request 'chore(deps): update pnpm to v9.15.3 (main)' (#1030) from renovate/main-pnpm-9.x into main 2025-01-06 00:07:39 +00:00
Renovate Bot
6d0f6d71d1
chore(deps): update pnpm to v9.15.3 2025-01-06 00:00:57 +00:00
viceice-bot
c9b728919f Merge pull request 'ci(deps): update dependency helm-unittest to v0.7.1 (main)' (#1028) from renovate/main-helm-unittest-0.x into main 2024-12-31 20:42:24 +00:00
Renovate Bot
65ee7cf95c
ci(deps): update dependency helm-unittest to v0.7.1 2024-12-31 20:31:28 +00:00
viceice-bot
99bff9f5dd Merge pull request 'chore(deps): update pnpm to v9.15.2 (main)' (#1026) from renovate/main-pnpm-9.x into main 2024-12-28 21:13:19 +00:00
Renovate Bot
21e1a3ec21
chore(deps): update pnpm to v9.15.2 2024-12-28 21:01:04 +00:00
viceice-bot
6a3282dd11 Merge pull request 'chore(deps): update dependency lint-staged to v15.3.0 (main)' (#1024) from renovate/main-lint-staged-15.x into main 2024-12-28 11:11:08 +00:00
Renovate Bot
36b582b598
chore(deps): update dependency lint-staged to v15.3.0 2024-12-28 11:01:00 +00:00
viceice-bot
1cf2ca5a11 Merge pull request 'fix(deps): update subcharts (main)' (#1021) from renovate/main-subcharts into main 2024-12-23 00:14:13 +00:00
Renovate Bot
ef86231225
fix(deps): update subcharts 2024-12-23 00:00:58 +00:00
viceice-bot
fbec3eaff5 Merge pull request 'chore(deps): update pnpm to v9.15.1 (main)' (#1019) from renovate/main-pnpm-9.x into main 2024-12-20 01:09:56 +00:00
Renovate Bot
881e55b3a4
chore(deps): update pnpm to v9.15.1 2024-12-20 01:00:24 +00:00
viceice-bot
aa541be0bf Merge pull request 'ci(deps): update dependency helm to v3.16.4 (main)' (#1014) from renovate/main-helm-3.x into main 2024-12-19 21:07:03 +00:00
Renovate Bot
0a35265fb7
ci(deps): update dependency helm to v3.16.4 2024-12-19 21:00:25 +00:00
viceice-bot
3f4c2398a7 Merge pull request 'ci(deps): update k3s (patch) (main) (patch)' (#1017) from renovate/main-patch-k3s into main 2024-12-19 20:41:36 +00:00
Renovate Bot
42230062c0
ci(deps): update k3s (patch) 2024-12-19 20:30:30 +00:00
viceice-bot
5f0b6ce467 Merge pull request 'fix(deps): update subcharts (main)' (#1012) from renovate/main-subcharts into main 2024-12-16 00:12:33 +00:00
Renovate Bot
0dfbdec0a7
fix(deps): update subcharts 2024-12-16 00:00:26 +00:00
Renovate Bot
62414441e6 fix(deps): update forgejo docker tag to v9.0.3 (main) (#1010)
Reviewed-on: https://code.forgejo.org/forgejo-helm/forgejo-helm/pulls/1010
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-12-12 19:31:53 +00:00
viceice-bot
9067562d51 Merge pull request 'ci(deps): update dependency kubectl to v1.32.0 (main)' (#1008) from renovate/main-kubectl-1.x into main 2024-12-11 21:41:05 +00:00
Renovate Bot
b2d4b4cba6
ci(deps): update dependency kubectl to v1.32.0 2024-12-11 21:30:39 +00:00
viceice-bot
a98ded4172 Merge pull request 'ci(deps): update dependency kubectl to v1.31.4 (main)' (#1006) from renovate/main-kubectl-1.x into main 2024-12-10 20:42:34 +00:00
Renovate Bot
dc7d36610e
ci(deps): update dependency kubectl to v1.31.4 2024-12-10 20:30:44 +00:00
viceice-bot
eb32074595 Merge pull request 'ci(deps): update k3s (patch) (main) (patch)' (#1004) from renovate/main-patch-k3s into main 2024-12-10 17:42:24 +00:00
Renovate Bot
f4a84965bd
ci(deps): update k3s (patch) 2024-12-10 17:30:43 +00:00
viceice-bot
e94e77b182 Merge pull request 'chore(deps): update dependency lint-staged to v15.2.11 (main)' (#1002) from renovate/main-lint-staged-15.x into main 2024-12-10 14:42:05 +00:00
Renovate Bot
13643ca2fd
chore(deps): update dependency lint-staged to v15.2.11 2024-12-10 14:30:52 +00:00
viceice-bot
a0a5986522 Merge pull request 'fix(deps): update helm release redis to v20.4.0 (main)' (#1001) from renovate/main-subcharts into main 2024-12-09 00:07:34 +00:00
Renovate Bot
bb94f00cb0
fix(deps): update helm release redis to v20.4.0 2024-12-09 00:00:40 +00:00
viceice-bot
9f589a5e28 Merge pull request 'chore(deps): update pnpm to v9.15.0 (main)' (#999) from renovate/main-pnpm-9.x into main 2024-12-06 15:41:57 +00:00
Renovate Bot
d653aa00bc
chore(deps): update pnpm to v9.15.0 2024-12-06 15:30:48 +00:00
viceice-bot
c33472abce Merge pull request 'chore(deps): update dependency prettier to v3.4.2 (main)' (#997) from renovate/main-prettier-3.x into main 2024-12-04 07:40:02 +00:00
Renovate Bot
396842354a
chore(deps): update dependency prettier to v3.4.2 2024-12-04 07:32:08 +00:00
viceice-bot
9747cf4a57 Merge pull request 'chore(deps): update node.js to v22.12.0 (main)' (#995) from renovate/main-node-22.x into main 2024-12-03 21:38:06 +00:00
Renovate Bot
79dc576861
chore(deps): update node.js to v22.12.0 2024-12-03 21:30:40 +00:00
viceice-bot
69775a77ff Merge pull request 'fix(deps): update subcharts (main)' (#993) from renovate/main-subcharts into main 2024-12-02 00:13:03 +00:00
Renovate Bot
2229d5df3d
fix(deps): update subcharts 2024-12-02 00:00:37 +00:00
viceice-bot
cebd8562e4 Merge pull request 'chore(deps): update pnpm to v9.14.4 (main)' (#991) from renovate/main-pnpm-9.x into main 2024-11-29 11:37:34 +00:00
Renovate Bot
8cf06f388e
chore(deps): update pnpm to v9.14.4 2024-11-29 11:31:07 +00:00
viceice-bot
a8acb5d859 Merge pull request 'chore(deps): update pnpm to v9.14.3 (main)' (#989) from renovate/main-pnpm-9.x into main 2024-11-28 16:37:42 +00:00
Renovate Bot
1b78d9be05
chore(deps): update pnpm to v9.14.3 2024-11-28 16:30:53 +00:00
viceice-bot
dfbf3333db Merge pull request 'chore(deps): update dependency prettier to v3.4.1 (main)' (#987) from renovate/main-prettier-3.x into main 2024-11-26 13:38:47 +00:00
Renovate Bot
859fe79f16
chore(deps): update dependency prettier to v3.4.1 2024-11-26 13:31:06 +00:00
viceice-bot
03d484c331 Merge pull request 'chore(deps): update dependency prettier to v3.4.0 (main)' (#985) from renovate/main-prettier-3.x into main 2024-11-26 05:11:50 +00:00
Renovate Bot
13bbf06a9c
chore(deps): update dependency prettier to v3.4.0 2024-11-26 05:00:56 +00:00
viceice-bot
0c8f775dca Merge pull request 'chore(deps): update dependency helm-unittest to v0.7.0 (main)' (#983) from renovate/main-helm-unittest-0.x into main 2024-11-25 23:42:44 +00:00
Renovate Bot
77728d227f
chore(deps): update dependency helm-unittest to v0.7.0 2024-11-25 23:30:58 +00:00
viceice-bot
745b467416 Merge pull request 'fix(deps): update helm release postgresql-ha to v14.3.10 (main)' (#980) from renovate/main-subcharts into main 2024-11-25 00:18:32 +00:00
Renovate Bot
60a9ae0955
fix(deps): update helm release postgresql-ha to v14.3.10 2024-11-25 00:00:49 +00:00
viceice-bot
c0c04cab84 Merge pull request 'chore(deps): update dependency markdownlint-cli to v0.43.0 (main)' (#978) from renovate/main-markdownlint-cli-0.x into main 2024-11-23 04:42:07 +00:00
Renovate Bot
2d3b855160
chore(deps): update dependency markdownlint-cli to v0.43.0 2024-11-23 04:31:04 +00:00
viceice-bot
cecafe70e4 Merge pull request 'ci(deps): update dependency kubectl to v1.31.3 (main)' (#976) from renovate/main-kubectl-1.x into main 2024-11-21 01:39:10 +00:00
Renovate Bot
b9dd22067f
ci(deps): update dependency kubectl to v1.31.3 2024-11-21 01:31:12 +00:00
viceice-bot
e03c7e730c Merge pull request 'chore(deps): update pnpm to v9.14.2 (main)' (#974) from renovate/main-pnpm-9.x into main 2024-11-20 11:42:03 +00:00
Renovate Bot
e95b714980
chore(deps): update pnpm to v9.14.2 2024-11-20 11:31:16 +00:00
viceice-bot
9d62d83a56 Merge pull request 'chore(deps): update pnpm to v9.14.1 (main)' (#972) from renovate/main-pnpm-9.x into main 2024-11-20 01:11:24 +00:00
Renovate Bot
c3620a3ed1
chore(deps): update pnpm to v9.14.1 2024-11-20 01:00:53 +00:00
viceice-bot
3bd1b332db Merge pull request 'fix(deps): update subcharts (main)' (#968) from renovate/main-subcharts into main 2024-11-18 16:07:58 +00:00
Renovate Bot
950c974305
fix(deps): update subcharts 2024-11-18 16:00:51 +00:00
viceice-bot
182212eff8 Merge pull request 'chore(deps): update dependency husky to v9.1.7 (main)' (#970) from renovate/main-husky-9.x into main 2024-11-18 15:41:32 +00:00
Renovate Bot
7ed5afa04b
chore(deps): update dependency husky to v9.1.7 2024-11-18 15:31:00 +00:00
Michael Kriese
0889a53d50 fix(deps): update forgejo docker tag to v9.0.2 (main) (#965)
Reviewed-on: https://code.forgejo.org/forgejo-helm/forgejo-helm/pulls/965
2024-11-15 20:12:27 +00:00
Renovate Bot
a23b1e52bf
fix(deps): update forgejo docker tag to v9.0.2 2024-11-15 20:07:37 +00:00
Michael Kriese
14176208aa chore(deps): update pnpm to v9.13.2 (main) (#963)
Reviewed-on: https://code.forgejo.org/forgejo-helm/forgejo-helm/pulls/963
2024-11-15 20:00:16 +00:00
Renovate Bot
688810df4e
chore(deps): update pnpm to v9.13.2 2024-11-15 02:31:32 +00:00
viceice-bot
2af266e7bc Merge pull request 'chore(deps): update pnpm to v9.13.1 (main)' (#961) from renovate/main-pnpm-9.x into main 2024-11-14 17:44:18 +00:00
Renovate Bot
2c4d058d1a
chore(deps): update pnpm to v9.13.1 2024-11-14 17:31:19 +00:00
viceice-bot
26ec1be54a Merge pull request 'ci(deps): update dependency helm to v3.16.3 (main)' (#959) from renovate/main-helm-3.x into main 2024-11-14 03:56:28 +00:00
Renovate Bot
e862c54730
ci(deps): update dependency helm to v3.16.3 2024-11-14 03:31:11 +00:00
viceice-bot
dccda1ba9f Merge pull request 'chore(deps): update pnpm to v9.13.0 (main)' (#957) from renovate/main-pnpm-9.x into main 2024-11-13 12:43:30 +00:00
Renovate Bot
0e9466fe25
chore(deps): update pnpm to v9.13.0 2024-11-13 12:31:23 +00:00
viceice-bot
04c7ab844c Merge pull request 'fix(deps): update subcharts (main)' (#955) from renovate/main-subcharts into main 2024-11-11 00:11:00 +00:00
Renovate Bot
0233678a5f
fix(deps): update subcharts 2024-11-11 00:01:51 +00:00
Lucien Weller
7e1629e174 feat: added OpenShift route (#954)
Reviewed-on: https://code.forgejo.org/forgejo-helm/forgejo-helm/pulls/954
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
Co-authored-by: Lucien Weller <lucien@wellernet.ch>
Co-committed-by: Lucien Weller <lucien@wellernet.ch>
2024-11-10 08:56:52 +00:00
Lucien Weller
8bd2c48184 feat: made compatible with OCP (OKD or OpenShift) (#953)
Reviewed-on: https://code.forgejo.org/forgejo-helm/forgejo-helm/pulls/953
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
Co-authored-by: Lucien Weller <lucien@wellernet.ch>
Co-committed-by: Lucien Weller <lucien@wellernet.ch>
2024-11-10 08:16:08 +00:00
Michael Kriese
b691f297f1
docs: fix upgrade notes links 2024-11-05 09:13:34 +01:00
Michael Kriese
c78c071815 chore(deps): update node.js to v22 (main) (#949)
Reviewed-on: https://code.forgejo.org/forgejo-helm/forgejo-helm/pulls/949
2024-11-04 14:44:16 +00:00
viceice-bot
21742a7229 Merge pull request 'fix(deps): update helm release postgresql-ha to v14.3.5 (main)' (#951) from renovate/main-subcharts into main 2024-11-04 00:13:36 +00:00
Renovate Bot
6491fb5209
fix(deps): update helm release postgresql-ha to v14.3.5 2024-11-04 00:04:25 +00:00
Michael Kriese
1a564fef01
chore(renovate): fix matcher 2024-11-01 16:28:10 +01:00
Michael Kriese
9eae9d2a6e
build: fix changelog generation 2024-11-01 16:10:12 +01:00
Renovate Bot
c1bb3234ba
chore(deps): update node.js to v22 2024-10-29 14:17:07 +00:00
viceice-bot
00df9b574c Merge pull request 'ci(deps): update k3s (patch) (main) (patch)' (#941) from renovate/main-patch-k3s into main 2024-10-29 01:09:29 +00:00
Renovate Bot
83f6fdf68d
ci(deps): update k3s (patch) 2024-10-29 01:01:31 +00:00
Michael Kriese
b135b3142d fix(deps): update forgejo docker tag to v9.0.1 (main) (#940)
Reviewed-on: https://code.forgejo.org/forgejo-helm/forgejo-helm/pulls/940
2024-10-28 16:19:59 +00:00
Renovate Bot
81b4e16710
fix(deps): update forgejo docker tag to v9.0.1 2024-10-28 16:07:31 +00:00
viceice-bot
797b5ee599 Merge pull request 'chore(deps): update pnpm to v9.12.3 (main)' (#937) from renovate/main-pnpm-9.x into main 2024-10-28 03:11:23 +00:00
Renovate Bot
7a5286e1f9
chore(deps): update pnpm to v9.12.3 2024-10-28 03:00:44 +00:00
viceice-bot
53281f3e91 Merge pull request 'fix(deps): update helm release postgresql-ha to v14.3.4 (main)' (#935) from renovate/main-subcharts into main 2024-10-28 00:07:15 +00:00
Renovate Bot
b60907cd95
fix(deps): update helm release postgresql-ha to v14.3.4 2024-10-28 00:00:56 +00:00
viceice-bot
58589a8a62 Merge pull request 'ci(deps): update actions/setup-node action to v4.1.0 (main)' (#933) from renovate/main-actions-setup-node-4.x into main 2024-10-24 14:14:22 +00:00
Renovate Bot
847f668fcf
ci(deps): update actions/setup-node action to v4.1.0 2024-10-24 14:01:01 +00:00
viceice-bot
56d9a01a76 Merge pull request 'ci(deps): update actions/checkout action to v4.2.2 (main)' (#931) from renovate/main-actions-checkout-4.x into main 2024-10-23 15:20:24 +00:00
Renovate Bot
27e9bf67c0
ci(deps): update actions/checkout action to v4.2.2 2024-10-23 15:00:42 +00:00
viceice-bot
d4dc109470 Merge pull request 'ci(deps): update dependency kubectl to v1.31.2 (main)' (#929) from renovate/main-kubectl-1.x into main 2024-10-23 13:11:24 +00:00
Renovate Bot
90a9f632c7
ci(deps): update dependency kubectl to v1.31.2 2024-10-23 13:00:40 +00:00
viceice-bot
887bea9c96 Merge pull request 'fix(deps): update subcharts (main)' (#927) from renovate/main-subcharts into main 2024-10-21 00:07:39 +00:00
Renovate Bot
1f2af527cf
fix(deps): update subcharts 2024-10-21 00:01:05 +00:00
Michael Kriese
2184afbbce
docs: Add upgrade notes 2024-10-16 21:10:42 +02:00
Michael Kriese
317213c23c feat(deps): update forgejo docker tag to v9 (main) (#924)
Reviewed-on: https://code.forgejo.org/forgejo-helm/forgejo-helm/pulls/924
2024-10-16 19:04:51 +00:00
Renovate Bot
0b53467038
feat(deps): update forgejo docker tag to v9 2024-10-16 18:00:32 +00:00
viceice-bot
8104cbcb71 Merge pull request 'chore(deps): update pnpm to v9.12.2 (main)' (#922) from renovate/main-pnpm-9.x into main 2024-10-16 15:14:30 +00:00
Renovate Bot
7ae4492296
chore(deps): update pnpm to v9.12.2 2024-10-16 15:00:32 +00:00
viceice-bot
793c014ae9 Merge pull request 'fix(deps): update subcharts (main)' (#920) from renovate/main-subcharts into main 2024-10-14 00:08:10 +00:00
Renovate Bot
89dcafeeee
fix(deps): update subcharts 2024-10-14 00:01:07 +00:00
viceice-bot
3c46a5c57e Merge pull request 'ci(deps): update dependency helm to v3.16.2 (main)' (#915) from renovate/main-helm-3.x into main 2024-10-09 20:11:28 +00:00
Renovate Bot
e8b65630cf
ci(deps): update dependency helm to v3.16.2 2024-10-09 20:00:59 +00:00
viceice-bot
6b3f1efa84 Merge pull request 'ci(deps): update actions/checkout action to v4.2.1 (main)' (#911) from renovate/main-actions-checkout-4.x into main 2024-10-07 23:41:53 +00:00
Renovate Bot
fedb7a33b4
ci(deps): update actions/checkout action to v4.2.1 2024-10-07 23:31:15 +00:00
viceice-bot
8036690441 Merge pull request 'chore(deps): update dependency helm-unittest to v0.6.3 (main)' (#913) from renovate/main-helm-unittest-0.x into main 2024-10-07 23:08:32 +00:00
Renovate Bot
302fd7e38e
chore(deps): update dependency helm-unittest to v0.6.3 2024-10-07 23:01:15 +00:00
viceice-bot
cc453a8647 Merge pull request 'chore(deps): update pnpm to v9.12.1 (main)' (#909) from renovate/main-pnpm-9.x into main 2024-10-07 13:39:15 +00:00
Renovate Bot
a1c86829ab
chore(deps): update pnpm to v9.12.1 2024-10-07 13:31:31 +00:00
viceice-bot
18a9d12301 Merge pull request 'fix(deps): update subcharts (main)' (#906) from renovate/main-subcharts into main 2024-10-07 00:08:12 +00:00
Renovate Bot
d75994c1e9
fix(deps): update subcharts 2024-10-07 00:01:35 +00:00
viceice-bot
50a431c0bc Merge pull request 'chore(deps): update dependency node to v20.18.0 (main)' (#904) from renovate/main-node-20.x into main 2024-10-03 18:41:27 +00:00
Renovate Bot
225270046d
chore(deps): update dependency node to v20.18.0 2024-10-03 18:30:35 +00:00
viceice-bot
d8b5d48115 Merge pull request 'chore(deps): update pnpm to v9.12.0 (main)' (#901) from renovate/main-pnpm-9.x into main 2024-10-02 12:42:25 +00:00
Renovate Bot
a8c6460972
chore(deps): update pnpm to v9.12.0 2024-10-02 12:30:37 +00:00
viceice-bot
a11fd11b7a Merge pull request 'chore(deps): update dependency helm-unittest to v0.6.2 (main)' (#899) from renovate/main-helm-unittest-0.x into main 2024-10-01 23:41:38 +00:00
Renovate Bot
464f0779eb
chore(deps): update dependency helm-unittest to v0.6.2 2024-10-01 23:30:35 +00:00
viceice-bot
7332e052df Merge pull request 'ci(deps): update actions/checkout action to v4.2.0 (main)' (#895) from renovate/main-actions-checkout-4.x into main 2024-09-30 00:41:47 +00:00
Renovate Bot
52041190b4
ci(deps): update actions/checkout action to v4.2.0 2024-09-30 00:30:31 +00:00
viceice-bot
546e513292 Merge pull request 'fix(deps): update subcharts (main)' (#897) from renovate/main-subcharts into main 2024-09-30 00:09:39 +00:00
Renovate Bot
9aff68b6ee
fix(deps): update subcharts 2024-09-30 00:00:58 +00:00
Michael Kriese
06861bfc47
test: add forgejo v10 test 2024-09-25 12:25:15 +02:00
Michael Kriese
83855bb12d
build: fix changelog generation 2024-09-25 11:23:21 +02:00
Michael Kriese
04b627a731
ci: revert k3s update 2024-09-25 10:52:10 +02:00
Michael Kriese
96ee8b8f19
build: fix changelog generation 2024-09-25 10:49:06 +02:00
viceice-bot
d749d7b554 Merge pull request 'ci(deps): update dependency k3s to <1.32 (main)' (#894) from renovate/main-k3s-1.x into main 2024-09-25 08:23:06 +00:00
Renovate Bot
183d3836bf
ci(deps): update dependency k3s to <1.32 2024-09-25 08:16:52 +00:00
Michael Kriese
a7bd6042a0
chore(renovate): optimize k3s config 2024-09-25 10:11:49 +02:00
Michael Kriese
b288370078
docs: add upgrade notes
Closes #893
2024-09-25 09:40:46 +02:00
Michael Kriese
2fdbef4fce feat!: set proper namespaces and allow override (#850)
Reviewed-on: https://code.forgejo.org/forgejo-helm/forgejo-helm/pulls/850
2024-09-25 06:57:49 +00:00
Michael Kriese
f77285a8c6
feat!: set proper namespaces and allow override 2024-09-25 08:50:00 +02:00
Michael Kriese
270a25b695
ci: allow workflow dispatch trigger 2024-09-25 08:47:08 +02:00
viceice-bot
0d8a42560c Merge pull request 'chore(deps): update dependency markdownlint-cli to v0.42.0 (main)' (#891) from renovate/main-markdownlint-cli-0.x into main 2024-09-24 01:42:40 +00:00
Renovate Bot
e13631925d
chore(deps): update dependency markdownlint-cli to v0.42.0 2024-09-24 01:31:14 +00:00
viceice-bot
dcbc055f69 Merge pull request 'ci(deps): update k3s (patch) (main) (patch)' (#883) from renovate/main-patch-k3s into main 2024-09-23 14:37:52 +00:00
Renovate Bot
3bae1d1e40
ci(deps): update k3s (patch) 2024-09-23 14:31:14 +00:00
viceice-bot
e31a490c32 Merge pull request 'fix(deps): update subcharts (main)' (#881) from renovate/main-subcharts into main 2024-09-23 00:12:19 +00:00
Renovate Bot
ee44e2f980
fix(deps): update subcharts 2024-09-23 00:01:47 +00:00
viceice-bot
8043c516a3 Merge pull request 'ci(deps): update actions/setup-node action to v4.0.4 (main)' (#876) from renovate/main-actions-setup-node-4.x into main 2024-09-20 11:37:00 +00:00
Renovate Bot
ba2551b8e3
ci(deps): update actions/setup-node action to v4.0.4 2024-09-20 11:31:06 +00:00
viceice-bot
c6817b718c Merge pull request 'chore(deps): update pnpm to v9.11.0 (main)' (#878) from renovate/main-pnpm-9.x into main 2024-09-20 11:07:44 +00:00
Renovate Bot
1cb216d7e9
chore(deps): update pnpm to v9.11.0 2024-09-20 11:01:10 +00:00
viceice-bot
66cd55fc50 Merge pull request 'fix(deps): update subcharts (main)' (#874) from renovate/main-subcharts into main 2024-09-16 00:07:15 +00:00
Renovate Bot
752c2291eb
fix(deps): update subcharts 2024-09-16 00:00:39 +00:00
viceice-bot
15846cb9ea Merge pull request 'ci(deps): update dependency helm to v3.16.1 (main)' (#872) from renovate/main-helm-3.x into main 2024-09-12 17:36:24 +00:00
Renovate Bot
415b5ddc37
ci(deps): update dependency helm to v3.16.1 2024-09-12 17:30:22 +00:00
Michael Kriese
b6f42b2f45
build: fix changelog generation 2024-09-12 08:35:48 +02:00
Michael Kriese
5cfed911ae
chore(renovate): update subcharts weekly 2024-09-12 08:35:48 +02:00
Renovate Bot
2d1246d9a3 ci(deps): update dependency kubectl to v1.31.1 (main) (#869)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-09-12 02:10:19 +00:00
Renovate Bot
689eab13d7 fix(deps): update helm release postgresql-ha to v14.2.27 (main) (#867)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-09-12 00:06:48 +00:00
Renovate Bot
a5696877b0 chore(deps): update dependency husky to v9.1.6 (main) (#865)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-09-11 22:36:14 +00:00
Renovate Bot
206673d2f0 ci(deps): update dependency helm to v3.16.0 (main) (#863)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-09-11 19:06:17 +00:00
Michael Kriese
339b9a0e5d
ci(k3s): add comments to versions 2024-09-11 16:32:34 +02:00
Michael Kriese
626ab2dc40
ci(k3s): update versions 2024-09-11 16:28:38 +02:00
Renovate Bot
e424bed612 ci(deps): update dependency k3s to v1.29.8+k3s1 (patch) (main) (#855)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-09-11 11:06:25 +00:00
Michael Kriese
fad6c5fdb2
chore(renovate): group k3s patch updates 2024-09-11 12:33:54 +02:00
Renovate Bot
28fee2fe24 ci(deps): update dependency k3s to v1.28.13+k3s1 (patch) (main) (#803)
Reviewed-on: https://code.forgejo.org/forgejo-helm/forgejo-helm/pulls/803
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-09-11 10:27:15 +00:00
Renovate Bot
14163791db ci(deps): update dependency k3s to v1.30.4+k3s1 (patch) (main) (#805)
Reviewed-on: https://code.forgejo.org/forgejo-helm/forgejo-helm/pulls/805
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-09-11 10:27:07 +00:00
Michael Kriese
da409999c1
ci: enable caching 2024-09-11 12:26:08 +02:00
Michael Kriese
23b38ecb27
chore(renovate): fix commit message for k3s updates 2024-09-11 11:38:57 +02:00
Michael Kriese
bedfd19a76
chore(renovate): fix branch for k3x minor updates 2024-09-11 11:28:52 +02:00
Renovate Bot
83b4fc2bcb fix(deps): update subcharts (main) (#848)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-09-11 00:11:30 +00:00
Renovate Bot
1502c0bbd1 fix(deps): update helm release redis to v20.1.0 (main) (#846)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-09-10 00:06:39 +00:00
Renovate Bot
f7362a9668 chore(deps): update pnpm to v9.10.0 (main) (#844)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-09-09 14:36:42 +00:00
Renovate Bot
8cb917db6a fix(deps): update helm release postgresql-ha to v14.2.25 (main) (#842)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-09-07 00:07:46 +00:00
Michael Kriese
1cde724752 fix(deps): update forgejo docker tag to v8.0.3 (main) (#840)
Reviewed-on: https://code.forgejo.org/forgejo-helm/forgejo-helm/pulls/840
2024-09-06 17:25:45 +00:00
Renovate Bot
ed3a92e61a
fix(deps): update forgejo docker tag to v8.0.3 2024-09-06 17:14:13 +00:00
Renovate Bot
39b22cc27d fix(deps): update subcharts (main) (#838)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-09-06 00:08:13 +00:00
Renovate Bot
24657eb088 fix(deps): update helm release postgresql to v15.5.28 (main) (#836)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-09-05 02:41:34 +00:00
Renovate Bot
76df42cacb fix(deps): update helm release postgresql-ha to v14.2.22 (main) (#834)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-09-05 01:10:22 +00:00
Renovate Bot
f81f9a8edf fix(deps): update helm release redis to v20.0.4 (main) (#833)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-09-05 00:08:38 +00:00
Michael Kriese
b2f7a4c7fb
docs: fix toc 2024-09-04 09:29:53 +02:00
Renovate Bot
f216d11371 fix(deps): update helm release postgresql-ha to v14.2.21 (main) (#831)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-09-04 00:12:12 +00:00
Renovate Bot
c56114ef9f chore(deps): update dependency helm-unittest to v0.6.1 (main) (#825)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-09-01 22:37:07 +00:00
Renovate Bot
8c3ff4c293 chore(deps): update dependency lint-staged to v15.2.10 (main) (#823)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-09-01 14:43:37 +00:00
Renovate Bot
e733ed235a fix(deps): update subcharts (main) (#821)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-08-31 00:07:34 +00:00
Renovate Bot
f24a72dded chore(deps): update dependency helm-unittest to v0.6.0 (main) (#819)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-08-30 23:38:07 +00:00
Renovate Bot
d961f3ffd8 fix(deps): update forgejo docker tag to v8.0.2 (main) (#818)
Reviewed-on: https://code.forgejo.org/forgejo-helm/forgejo-helm/pulls/818
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-08-29 16:05:21 +00:00
Renovate Bot
abbe776970 fix(deps): update helm release postgresql to v15.5.26 (main) (#815)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-08-28 00:08:07 +00:00
Renovate Bot
5ee8916889 chore(deps): update pnpm to v9.9.0 (main) (#813)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-08-26 16:07:50 +00:00
Renovate Bot
cc0dc9f502 fix(deps): update helm release postgresql-ha to v14.2.18 (main) (#811)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-08-25 00:11:52 +00:00
Renovate Bot
16d6c03474 fix(deps): update subcharts (main) (#809)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-08-24 00:08:00 +00:00
Renovate Bot
61543dbdef chore(deps): update pnpm to v9.8.0 (main) (#794)
Reviewed-on: https://code.forgejo.org/forgejo-helm/forgejo-helm/pulls/794
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-08-22 12:47:47 +00:00
Michael Kriese
678cd75243
chore(renovate): don't pin ci test digests 2024-08-22 14:46:39 +02:00
Michael Kriese
fbeec011ce
chore(renovate): remove workaround 2024-08-22 14:41:18 +02:00
Michael Kriese
a545bd260d
chore(renovate): fix config 2024-08-22 12:35:12 +02:00
Michael Kriese
c1bde6ac52
test: reduce install timeout 2024-08-22 12:06:05 +02:00
Michael Kriese
b8d999efdc
ci: test more kubernetes versions 2024-08-22 12:05:50 +02:00
Renovate Bot
6bf3341fe3 feat(deps): update helm release redis-cluster to v11 (main) (#724)
Reviewed-on: https://code.forgejo.org/forgejo-helm/forgejo-helm/pulls/724
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-08-22 09:42:11 +00:00
Renovate Bot
ad6db937f4 feat(deps): update helm release redis to v20 (main) (#723)
Reviewed-on: https://code.forgejo.org/forgejo-helm/forgejo-helm/pulls/723
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-08-22 09:31:50 +00:00
Renovate Bot
9fa37542b4 chore(deps): update dependency node to v20.17.0 (main) (#791)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-08-22 09:26:32 +00:00
Michael Kriese
da04517118
ci: don't pin experimental images 2024-08-22 11:09:36 +02:00
Michael Kriese
92f3da6568 test: fix filenames (#770)
they need to end with `-values.yaml`

Reviewed-on: https://code.forgejo.org/forgejo-helm/forgejo-helm/pulls/770
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-committed-by: Michael Kriese <michael.kriese@visualon.de>
2024-08-22 09:08:01 +00:00
Renovate Bot
60891e295f chore(deps): update codeberg.org/forgejo-experimental/forgejo:8.0-test docker digest to 53a7c22 (main) (#789)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-08-22 08:52:06 +00:00
Michael Kriese
3c4bccdecf
chore(renovate): fix config 2024-08-22 10:31:16 +02:00
Michael Kriese
ccc9e736cb
ci: fix tests 2024-08-22 10:19:51 +02:00
Michael Kriese
9966f32200
ci: fix tests 2024-08-22 10:16:30 +02:00
Renovate Bot
d9625af84d ci(forgejo): update codeberg.org/forgejo-experimental/forgejo:8.0-test docker digest to 2ade399 (main) (#787)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-08-21 01:34:35 +00:00
Renovate Bot
8c275a09ee chore(deps): update dependency husky to v9.1.5 (main) (#785)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-08-21 00:37:14 +00:00
Renovate Bot
1ef0d8cde0 ci(forgejo): update codeberg.org/forgejo-experimental/forgejo:9.0-test docker digest to 739baf8 (main) (#784)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-08-20 01:04:33 +00:00
Renovate Bot
ee06ea039e fix(deps): update helm release postgresql to v15.5.23 (main) (#782)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-08-20 00:06:25 +00:00
Renovate Bot
bbb789b44f ci(forgejo): update codeberg.org/forgejo-experimental/forgejo:8.0-test docker digest to bd34106 (main) (#781)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-08-19 02:04:32 +00:00
Renovate Bot
93a6752958 ci(forgejo): update codeberg.org/forgejo-experimental/forgejo:9.0-test docker digest to 5fc28cf (main) (#779)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-08-19 01:06:23 +00:00
Renovate Bot
e5cc7dd535 ci(forgejo): update codeberg.org/forgejo-experimental/forgejo:9.0-test docker digest to b924fe0 (main) (#778)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-08-18 01:04:16 +00:00
Renovate Bot
3f5b02f7b3 ci(forgejo): update experimental docker digests (main) (#777)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-08-17 01:05:11 +00:00
Renovate Bot
cc4676be31 fix(deps): update helm release postgresql to v15.5.22 (main) (#775)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-08-17 00:05:21 +00:00
Michael Kriese
d1bb30d097
ci: skip some versions 2024-08-16 15:32:32 +02:00
Michael Kriese
2fdc5d86fd
test: revert changes 2024-08-16 15:31:56 +02:00
Michael Kriese
4f765c3a84 fix: trim optional docker digest from version labels (#772)
Closes #771

Reviewed-on: https://code.forgejo.org/forgejo-helm/forgejo-helm/pulls/772
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-committed-by: Michael Kriese <michael.kriese@visualon.de>
2024-08-16 13:28:43 +00:00
Michael Kriese
16441fe05f
chore: only set github groups on ci 2024-08-16 15:02:56 +02:00
Michael Kriese
0161036601 ci: use k3s instead of kind (#773)
Reviewed-on: https://code.forgejo.org/forgejo-helm/forgejo-helm/pulls/773
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-committed-by: Michael Kriese <michael.kriese@visualon.de>
2024-08-16 12:58:57 +00:00
Michael Kriese
0b5034b40f
test: fix tests 2024-08-16 09:15:28 +02:00
Renovate Bot
195ef337bb ci(forgejo): update codeberg.org/forgejo-experimental/forgejo:9.0-test docker digest to 2c44de4 (main) (#769)
Reviewed-on: https://code.forgejo.org/forgejo-helm/forgejo-helm/pulls/769
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-08-16 06:48:34 +00:00
Renovate Bot
04a2defb08 ci(deps): update kindest/node docker tag to v1.30.4 (main) (#750)
Reviewed-on: https://code.forgejo.org/forgejo-helm/forgejo-helm/pulls/750
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-08-16 06:48:15 +00:00
Renovate Bot
9111f7d8e9 ci(forgejo): update codeberg.org/forgejo-experimental/forgejo:8.0-test docker digest to 1505556 (main) (#768)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-08-16 01:20:42 +00:00
Renovate Bot
83a6df24eb ci(forgejo): update codeberg.org/forgejo-experimental/forgejo:9.0-test docker digest to a3f242e (main) (#766)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-08-16 00:21:22 +00:00
Renovate Bot
dde5263a7f ci(deps): update dependency kind to v0.24.0 (main) (#764)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-08-15 18:36:20 +00:00
Renovate Bot
12bdc86d8e ci(deps): update kindest/node docker tag to v1.29.8 (main) (#761)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-08-15 16:57:51 +00:00
Renovate Bot
bc11dcafcb ci(deps): update kindest/node docker tag to v1.28.13 (main) (#760)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-08-15 15:51:08 +00:00
Renovate Bot
2cd84e6e65 ci(deps): update dependency helm to v3.15.4 (main) (#757)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-08-14 16:58:05 +00:00
Renovate Bot
5e6db9e6d1 chore(deps): update pnpm to v9.7.1 (main) (#756)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-08-14 15:51:42 +00:00
Renovate Bot
360bb9c7cf ci(deps): update kindest/node docker tag to v1.29.7 (main) (#749)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-08-14 02:49:56 +00:00
Renovate Bot
f71f722c53 ci(deps): update kindest/node docker tag to v1.28.12 (main) (#748)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-08-14 02:17:04 +00:00
Renovate Bot
bf0d6ade68 ci(deps): update kindest/node docker tag to v1.27.16 (main) (#747)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-08-14 01:47:54 +00:00
Renovate Bot
33aada82da ci(forgejo): update experimental docker digests (main) (#746)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-08-14 01:08:26 +00:00
Renovate Bot
dc9d0d16c7 ci(deps): update dependency kubectl to v1.31.0 (main) (#744)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-08-13 14:38:16 +00:00
Renovate Bot
2787d659a3 chore(deps): update dependency lint-staged to v15.2.9 (main) (#742)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-08-13 06:08:21 +00:00
Renovate Bot
24763f3190 ci(forgejo): update experimental docker digests (main) (#740)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-08-13 01:08:56 +00:00
Renovate Bot
bfe1f42ecc ci(forgejo): update codeberg.org/forgejo-experimental/forgejo:9.0-test docker digest to 5de9f75 (main) (#738)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-08-12 01:08:13 +00:00
Renovate Bot
bc35c5e24c ci(forgejo): update codeberg.org/forgejo-experimental/forgejo:8.0-test docker digest to 43f7527 (main) (#736)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-08-12 00:08:27 +00:00
SIMULATAN
d2356f044a fix: Support Slogan and Display Name Format (#726)
Reviewed-on: https://code.forgejo.org/forgejo-helm/forgejo-helm/pulls/726
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
Co-authored-by: SIMULATAN <simulatan@noreply.code.forgejo.org>
Co-committed-by: SIMULATAN <simulatan@noreply.code.forgejo.org>
2024-08-11 06:18:14 +00:00
Renovate Bot
0d6bb88040 ci(forgejo): update codeberg.org/forgejo-experimental/forgejo:8.0-test docker digest to b84a8d2 (main) (#734)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-08-11 01:08:37 +00:00
Renovate Bot
35dbc5237e ci(forgejo): update experimental docker digests (main) (#732)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-08-11 00:08:36 +00:00
Renovate Bot
81d8386788 ci(forgejo): update experimental docker digests (main) (#729)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-08-10 01:39:44 +00:00
Renovate Bot
5345bfe51c fix(deps): update helm release postgresql to v15.5.21 (main) (#727)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-08-10 00:08:32 +00:00
viceice
b7e64bc4c6 chore: add forgejo authors to license file (#716)
Signed-off-by: viceice <michael.kriese@gmx.de>
Reviewed-on: https://code.forgejo.org/forgejo-helm/forgejo-helm/pulls/716
Co-authored-by: viceice <michael.kriese@gmx.de>
Co-committed-by: viceice <michael.kriese@gmx.de>
2024-08-09 15:51:48 +00:00
Renovate Bot
37dd7c2d3a fix(deps): update forgejo docker tag to v8.0.1 (main) (#721)
Reviewed-on: https://code.forgejo.org/forgejo-helm/forgejo-helm/pulls/721
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-08-09 14:37:53 +00:00
Renovate Bot
287a5c0ed1 ci(forgejo): update experimental docker digests (main) (#719)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-08-09 02:07:10 +00:00
Renovate Bot
f735f61861 ci(forgejo): update codeberg.org/forgejo-experimental/forgejo:9.0-test docker digest to 4ce089a (main) (#717)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-08-09 01:09:06 +00:00
Renovate Bot
7f84ce4771 ci(forgejo): update experimental docker digests (main) (#714)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-08-08 01:08:00 +00:00
Renovate Bot
9643f16e68 chore(deps): update pnpm to v9.7.0 (main) (#711)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-08-07 01:34:51 +00:00
Renovate Bot
494c2b8626 ci(forgejo): update experimental docker digests (main) (#710)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-08-07 01:09:05 +00:00
Renovate Bot
daf27383d4 ci(forgejo): update codeberg.org/forgejo-experimental/forgejo:8.0-test docker digest to 33a7fc5 (main) (#708)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-08-06 02:07:32 +00:00
Renovate Bot
6837364c66 ci(forgejo): update experimental docker digests (main) (#706)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-08-06 01:37:56 +00:00
Renovate Bot
18db488ee6 ci(forgejo): update experimental docker digests (main) (#703)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-08-05 01:37:33 +00:00
Renovate Bot
540fa6b802 ci(forgejo): update codeberg.org/forgejo-experimental/forgejo:9.0-test docker digest to 1e6e081 (main) (#701)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-08-05 00:07:38 +00:00
Renovate Bot
24e4fbc028 chore(deps): update dependency lint-staged to v15.2.8 (main) (#699)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-08-03 07:08:08 +00:00
Renovate Bot
2632e96fd0 ci(forgejo): update codeberg.org/forgejo-experimental/forgejo:9.0-test docker digest to 4659b8b (main) (#697)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-08-03 01:37:33 +00:00
Renovate Bot
19f73a81c9 ci(forgejo): update experimental docker digests (main) (#695)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-08-02 01:07:42 +00:00
Renovate Bot
fa7b3538ab fix(deps): update subcharts (main) (#693)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-08-02 00:11:34 +00:00
Renovate Bot
13bd12a2f3 ci(forgejo): update experimental docker digests (main) (#691)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-08-01 01:14:13 +00:00
Renovate Bot
1bc91d675f ci(forgejo): update codeberg.org/forgejo-experimental/forgejo:9.0-test docker digest to 2c7315f (main) (#689)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-08-01 00:07:53 +00:00
Michael Kriese
55c599d822 feat: merge upstream change week 2024-31 (#688)
Reviewed-on: https://code.forgejo.org/forgejo-helm/forgejo-helm/pulls/688
2024-07-31 11:02:10 +00:00
Michael Kriese
d000400926
docs: add upgrading guide for v8 2024-07-31 10:43:03 +02:00
Renovate Bot
c461084075 feat(deps)!: update forgejo docker tag to v8 (main) (#686)
Reviewed-on: https://code.forgejo.org/forgejo-helm/forgejo-helm/pulls/686
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-07-31 08:17:21 +00:00
Renovate Bot
1c1e2c74eb ci(forgejo): update experimental docker digests (main) (#687)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-07-31 02:08:59 +00:00
Renovate Bot
6b0f1c903c fix(deps): update forgejo docker tag to v7.0.6 (main) (#685)
Reviewed-on: https://code.forgejo.org///forgejo-helm/forgejo-helm/pulls/685
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-07-30 17:00:12 +00:00
Renovate Bot
96f1c46cc5 ci(forgejo): update codeberg.org/forgejo-experimental/forgejo:9.0-test docker digest to 03b187b (main) (#684)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-07-30 01:34:38 +00:00
Renovate Bot
5bde946a88 ci(forgejo): update experimental docker digests (main) (#683)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-07-30 00:10:45 +00:00
Renovate Bot
84fcf57a50 chore(deps): update dependency husky to v9.1.4 (main) (#681)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-07-29 15:09:35 +00:00
Renovate Bot
fa49088cdf ci(forgejo): update experimental docker digests (main) (#680)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-07-29 01:13:48 +00:00
Renovate Bot
fa184bb3a4 ci(forgejo): update codeberg.org/forgejo-experimental/forgejo:9.0-test docker digest to 0d928df (main) (#679)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-07-28 01:39:00 +00:00
Renovate Bot
8944578209 ci(forgejo): update codeberg.org/forgejo-experimental/forgejo:9.0-test docker digest to b7230ca (main) (#678)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-07-27 01:39:08 +00:00
Renovate Bot
0c4cf161e0 ci(forgejo): update codeberg.org/forgejo-experimental/forgejo:9.0-test docker digest to 2dd3a93 (main) (#677)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-07-27 00:04:53 +00:00
Renovate Bot
55d1834db5 chore(deps): update dependency husky to v9.1.3 (main) (#675)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-07-26 18:37:40 +00:00
Renovate Bot
253b806de9 chore(config): migrate renovate config (#673)
Reviewed-on: https://code.forgejo.org///forgejo-helm/forgejo-helm/pulls/673
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-07-26 06:14:40 +00:00
Renovate Bot
9897b5e2b3 ci(forgejo): update experimental docker digests (main) (#674)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-07-26 01:38:53 +00:00
Renovate Bot
c6e6858492 chore(deps): update dependency husky to v9.1.2 (main) (#671)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-07-25 13:37:30 +00:00
Michael Kriese
7a2d25ecb9
chore(renovate): rename group and disable more updates 2024-07-25 15:02:18 +02:00
Renovate Bot
b6a686dec5 ci(forgejo): update ci-forgejo (main) (#670)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-07-25 12:59:57 +00:00
Michael Kriese
ec19ba4bee
chore(renovate): add group name for ci values and disable major updates 2024-07-25 14:48:52 +02:00
Michael Kriese
f28c42c1a6
chore(renovate): wrong file match 2024-07-25 14:35:46 +02:00
Renovate Bot
2f3da537ce fix(deps): update helm release redis-cluster to v10.2.9 (main) (#668)
Reviewed-on: https://code.forgejo.org///forgejo-helm/forgejo-helm/pulls/668
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-07-25 12:32:11 +00:00
Michael Kriese
12b9abf07c
test(renovate): update ci tests 2024-07-25 14:29:52 +02:00
viceice
ac959bcac2 chore(renovate): update subcharts daily 2024-07-25 12:06:48 +00:00
Renovate Bot
916843d1be fix(deps): update subcharts (main) (#666)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-07-25 11:37:54 +00:00
Renovate Bot
ac33989cb3 fix(deps): update helm release redis-cluster to v10.2.8 (main) (#664)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-07-24 21:38:12 +00:00
Renovate Bot
a7d438d8d9 fix(deps): update helm release postgresql-ha to v14.2.13 (main) (#662)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-07-24 18:08:42 +00:00
Renovate Bot
d7c869ddc1 fix(deps): update helm release postgresql to v15.5.19 (main) (#660)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-07-24 17:08:35 +00:00
Renovate Bot
8919a267ef chore(deps): update dependency node to v20.16.0 (main) (#658)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-07-24 12:38:24 +00:00
Renovate Bot
6363dd5391 chore(deps): update dependency helm-unittest to v0.5.2 (main) (#654)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-07-24 00:35:21 +00:00
Renovate Bot
b12c082ccf fix(deps): update helm release postgresql to v15.5.18 (main) (#656)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-07-24 00:11:50 +00:00
Renovate Bot
39c186b811 chore(deps): update pnpm to v9.6.0 (main) (#652)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-07-22 00:38:52 +00:00
Renovate Bot
cae383dbec chore(deps): update dependency husky to v9.1.1 (main) (#650)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-07-18 13:37:12 +00:00
Renovate Bot
4b325cc8b6 chore(deps): update dependency husky to v9.1.0 (main) (#648)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-07-17 16:08:03 +00:00
Renovate Bot
caca7af895 ci(deps): update dependency kubectl to v1.30.3 (main) (#646)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-07-17 12:39:30 +00:00
Renovate Bot
baf989c435 fix(deps): update helm release postgresql-ha to v14.2.12 (main) (#644)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-07-17 10:09:57 +00:00
Renovate Bot
abb921b38a fix(deps): update helm release redis-cluster to v10.2.7 (main) (#642)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-07-16 22:09:55 +00:00
Renovate Bot
997c41aef4 fix(deps): update helm release postgresql to v15.5.17 (main) (#640)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-07-16 16:10:12 +00:00
Renovate Bot
dd37341b21 chore(deps): update dependency prettier to v3.3.3 (main) (#638)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-07-13 12:38:09 +00:00
Renovate Bot
199dcee7bc fix(deps): update helm release postgresql to v15.5.16 (main) (#636)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-07-11 12:08:31 +00:00
Renovate Bot
ce17eeeefc ci(deps): update helm/chart-testing-action digest to 5aa1c68 (main) (#634)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-07-11 11:07:55 +00:00
Renovate Bot
0d83fa6dd7 ci(deps): update actions/setup-node action to v4.0.3 (main) (#630)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-07-10 20:40:03 +00:00
Renovate Bot
efd4478925 ci(deps): update dependency helm to v3.15.3 (main) (#632)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-07-10 20:15:02 +00:00
Renovate Bot
9d0a82a381 fix(deps): update helm release postgresql to v15.5.15 (main) (#628)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-07-09 11:11:06 +00:00
Renovate Bot
37715af96a chore(deps): update dependency node to v20.15.1 (main) (#626)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-07-08 19:08:26 +00:00
Renovate Bot
e6b33fc7e2 chore(deps): update pnpm to v9.5.0 (main) (#624)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-07-07 17:08:14 +00:00
Renovate Bot
ed6c6a78d1 fix(deps): update helm release postgresql-ha to v14.2.11 (main) (#622)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-07-05 16:38:23 +00:00
Renovate Bot
bf6a1ada51 fix(deps): update helm release postgresql to v15.5.14 (main) (#620)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-07-05 14:38:36 +00:00
Renovate Bot
21bf025e38 fix(deps): update forgejo docker tag to v7.0.5 (main) (#619)
Reviewed-on: https://code.forgejo.org/forgejo-helm/forgejo-helm/pulls/619
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-07-03 21:44:23 +00:00
Renovate Bot
ac887e10da fix(deps): update helm release postgresql-ha to v14.2.10 (main) (#617)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-07-03 13:39:34 +00:00
Renovate Bot
f5308e0610 fix(deps): update helm release postgresql to v15.5.13 (main) (#615)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-07-03 12:38:08 +00:00
Renovate Bot
655c544f20 fix(deps): update helm release redis-cluster to v10.2.6 (main) (#613)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-07-03 09:38:02 +00:00
Renovate Bot
a675ea4ed3 fix(deps): update helm release postgresql to v15.5.12 (main) (#611)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-07-02 13:41:29 +00:00
Renovate Bot
022364a204 ci(deps): update kindest/node docker tag to v1.30.2 (main) (#609)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-07-01 23:37:48 +00:00
Renovate Bot
fa78cf9c0f fix(deps): update helm release postgresql-ha to v14.2.9 (main) (#607)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-07-01 10:39:15 +00:00
Renovate Bot
d480c8d490 fix(deps): update helm release postgresql-ha to v14.2.8 (main) (#605)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-06-27 16:09:20 +00:00
Renovate Bot
f9221a5ffe fix(deps): update helm release postgresql to v15.5.11 (main) (#603)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-06-26 18:39:37 +00:00
Renovate Bot
efb75a84d2 fix(deps): update helm release postgresql to v15.5.10 (main) (#601)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-06-25 09:40:24 +00:00
Renovate Bot
1589ae827d fix(deps): update helm release postgresql to v15.5.9 (main) (#599)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-06-20 18:41:06 +00:00
Renovate Bot
9539f3275e chore(deps): update dependency node to v20.15.0 (main) (#597)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-06-20 16:37:58 +00:00
Renovate Bot
e9fbb477a5 fix(deps): update helm release postgresql to v15.5.8 (main) (#595)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-06-20 11:39:31 +00:00
Renovate Bot
ee253e844c fix(deps): update helm release postgresql-ha to v14.2.7 (main) (#593)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-06-18 22:09:01 +00:00
Renovate Bot
34fd6f2450 fix(deps): update helm release redis-cluster to v10.2.5 (main) (#591)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-06-18 21:08:12 +00:00
Renovate Bot
d9f6493d62 fix(deps): update helm release postgresql to v15.5.7 (main) (#589)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-06-18 20:12:30 +00:00
Renovate Bot
b49c3068e3 fix(deps): update helm release redis-cluster to v10.2.4 (main) (#587)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-06-17 21:38:05 +00:00
Renovate Bot
94187a8d34 fix(deps): update subcharts (main) (#585)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-06-17 20:37:53 +00:00
Renovate Bot
c4bb8fbd20 chore(deps): update pnpm to v9.4.0 (main) (#583)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-06-17 16:38:01 +00:00
Renovate Bot
82b0eb7b72 ci(deps): update actions/checkout action to v4.1.7 (main) (#577)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-06-13 19:35:01 +00:00
Renovate Bot
c7fa8e1daf ci(deps): update helm/chart-testing-action digest to 9c98eaa (main) (#579)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-06-13 19:07:52 +00:00
Renovate Bot
fa1f4b45ae fix(deps): update forgejo docker tag to v7.0.4 (main) (#582)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [forgejo](https://forgejo.org) ([source](https://codeberg.org/forgejo/forgejo)) | patch | `7.0.3` -> `7.0.4` |

---

### Release Notes

<details>
<summary>forgejo/forgejo (forgejo)</summary>

### [`v7.0.4`](https://codeberg.org/forgejo/forgejo/blob/HEAD/RELEASE-NOTES.md#704)

This is a security release. See the documentation for more information on the [upgrade procedure](https://forgejo.org/docs/v7.0/admin/upgrade/).

In addition to the following notable bug fixes, you can browse the [full list of commits](https://codeberg.org/forgejo/forgejo/compare/v7.0.3...v7.0.4) included in this release.

-   **Security:**
    -   [PR](https://codeberg.org/forgejo/forgejo/pulls/4054). Fixed: [CVE-2024-24789](https://pkg.go.dev/vuln/GO-2024-2888): the archive/zip package's handling of certain types of invalid zip files differs from the behavior of most zip implementations. This misalignment could be exploited to create an zip file with contents that vary depending on the implementation reading the file.
    -   [PR](https://codeberg.org/forgejo/forgejo/pulls/3639) - ([fix](1b088fade6) & [test](https://codeberg.org/forgejo/forgejo/pulls/4032)). Fixed: the OAuth2 implementation does not always require authentication for public clients, a requirement of [RFC 6749 Section 10.2](https://datatracker.ietf.org/doc/html/rfc6749#section-10.2). A malicious client can impersonate another client and obtain access to protected resources if the impersonated client fails to, or is unable to, keep its client credentials confidential.

-   **Bug fixes:**
    -   [backport](https://codeberg.org/forgejo/forgejo/pulls/4086) - [PR](https://codeberg.org/forgejo/forgejo/pulls/4085). Fixed: `forgejo migrate-storage --type actions-artifacts` always fails because it picks the wrong path.
    -   [backport](https://codeberg.org/forgejo/forgejo/pulls/4017) - [PR](https://codeberg.org/forgejo/forgejo/pulls/4015). Fixed: avatar files can be found in storage while they do not exist in the database.
    -   [backport](https://codeberg.org/forgejo/forgejo/pulls/3997) - [PR](https://codeberg.org/forgejo/forgejo/pulls/3976). Fixed: repository admins are always denied the right to force merge and instance admins are subject to restrictions to merge that must only apply to repository admins.
    -   [backport](https://codeberg.org/forgejo/forgejo/pulls/3946) - [PR](https://codeberg.org/forgejo/forgejo/pulls/3615). Fixed: non conformance with the [Nix tarball fetcher immutable link protocol](56763ff918/doc/manual/src/protocols/tarball-fetcher.md).
    -   [backport](https://codeberg.org/forgejo/forgejo/pulls/3936) - [PR](https://codeberg.org/forgejo/forgejo/pulls/3935). Fixed: migrated activities (such as reviews) are mapped to the user who initiated the migration rather than the Ghost user, if the external user cannot be mapped to a local one. This mapping mismatch leads to internal server errors in some cases.
    -   [backport](https://codeberg.org/forgejo/forgejo/pulls/3906) - [PR](https://codeberg.org/forgejo/forgejo/pulls/3904). Fixed: a v7.0.0 regression causes `[admin].SEND_NOTIFICATION_EMAIL_ON_NEW_USER=true` to always be ignored.
    -   [backport](https://codeberg.org/forgejo/forgejo/pulls/3888) - [PR](https://codeberg.org/forgejo/forgejo/pulls/3865). Fixed: using a subquery for user deletion is a performance bottleneck when using mariadb 10 because only mariadb 11 takes advantage of the available index.
    -   [backport](https://codeberg.org/forgejo/forgejo/pulls/3887) - [PR](https://codeberg.org/forgejo/forgejo/pulls/3885). Fixed: a v7.0.3 regression causes the expanding diffs in pull requests to fail with a 404 error.
    -   [backport](https://codeberg.org/forgejo/forgejo/pulls/3881) - [PR](https://codeberg.org/forgejo/forgejo/pulls/3864). Fixed: SourceHut Builds webhook fail when the `triggers` field is used.
    -   [backport](https://codeberg.org/forgejo/forgejo/pulls/3877) - [PR](https://codeberg.org/forgejo/forgejo/pulls/3242). Fixed: the label list rendering in the issue and pull request timeline is displayed on multiple lines instead of a single one.
    -   [backport](https://codeberg.org/forgejo/forgejo/pulls/4084) - [PR](https://codeberg.org/forgejo/forgejo/pulls/4083) - [commit](c6e04c3c9e). Fixed: NuGet Package fails `choco info pkgname` when `pkgname` is also a substring of another package Id.
    -   [backport](https://codeberg.org/forgejo/forgejo/pulls/4004) - [PR](https://codeberg.org/forgejo/forgejo/pulls/3989) - [commit](62448bfb93). Fixed: "Git hooks of this repository seem to be broken." warning when pushing more than one branch at a time.
    -   [backport](https://codeberg.org/forgejo/forgejo/pulls/3942) - [PR](https://codeberg.org/forgejo/forgejo/pulls/3917) - [commit](7d7ea45465). Fixed: automerge does not happen when the approval count reaches the required threshold.
    -   [backport](https://codeberg.org/forgejo/forgejo/pulls/3942) - [PR](https://codeberg.org/forgejo/forgejo/pulls/3917) - [commit](a649610d61). Fixed: the `FORCE_PRIVATE=true` setting is not consistently enforced.
    -   [backport](https://codeberg.org/forgejo/forgejo/pulls/3859) - [PR](https://codeberg.org/forgejo/forgejo/pulls/3838) - [commit](193ac67176). Fixed: CSRF validation errors when OAuth is not enabled.
    -   [backport](https://codeberg.org/forgejo/forgejo/pulls/4107) - [PR](https://codeberg.org/forgejo/forgejo/pulls/4076). Fixed: headlines in rendered org-mode do not have a margin on the top

-   **Localization:**
    -   Improvements to English locale: [\[1\]](https://codeberg.org/forgejo/forgejo/pulls/3914), [\[2\]](https://codeberg.org/forgejo/forgejo/pulls/4114).
    -   Translation updates: [\[1\]](https://codeberg.org/forgejo/forgejo/pulls/3907), [\[2\]](https://codeberg.org/forgejo/forgejo/pulls/3990), [\[3\]](https://codeberg.org/forgejo/forgejo/pulls/4099).

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, 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 [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MDYuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQwNi4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Reviewed-on: https://code.forgejo.org/forgejo-helm/forgejo-helm/pulls/582
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-06-13 18:41:03 +00:00
Renovate Bot
646385d421 chore(deps): update dependency lint-staged to v15.2.7 (main) (#575)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-06-12 17:39:28 +00:00
Renovate Bot
64d3082b99 ci(deps): update dependency helm to v3.15.2 (main) (#573)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-06-12 14:38:16 +00:00
Renovate Bot
5872b3324b fix(deps): update helm release postgresql-ha to v14.2.5 (main) (#571)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-06-12 11:49:05 +00:00
Renovate Bot
ef60135112 ci(deps): update dependency kubectl to v1.30.2 (main) (#569)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-06-12 04:39:00 +00:00
Renovate Bot
894c4ecc55 chore(deps): update dependency lint-staged to v15.2.6 (main) (#567)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-06-11 17:26:47 +00:00
Renovate Bot
9154ff7124 fix(deps): update helm release postgresql-ha to v14.2.4 (main) (#565)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-06-11 16:44:28 +00:00
Renovate Bot
74196ac3b5 fix(deps): update helm release postgresql to v15.5.5 (main) (#563)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-06-11 15:41:51 +00:00
Renovate Bot
e33fcb8876 chore(deps): update dependency prettier to v3.3.2 (main) (#561)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-06-11 06:38:10 +00:00
Renovate Bot
62eaae5ffe chore(deps): update pnpm to v9.3.0 (main) (#559)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-06-10 13:09:42 +00:00
Renovate Bot
bbcfc7a757 fix(deps): update subcharts (main) (#557)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-06-07 09:40:00 +00:00
Renovate Bot
5be584c57e fix(deps): update helm release postgresql-ha to v14.2.1 (main) (#555)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-06-05 14:38:27 +00:00
Michael Kriese
782a8332a1
chore(renovate): group and automerge helm subcharts 2024-06-05 16:05:49 +02:00
Renovate Bot
bd06cc57b6 chore(deps): update pnpm to v9.2.0 (main) (#553)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-06-05 13:38:10 +00:00
Renovate Bot
8078836591 chore(deps): update dependency prettier to v3.3.1 (main) (#551)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-06-05 09:38:11 +00:00
Renovate Bot
a046b1333e fix(deps): update helm release redis-cluster to v10.2.2 (main) (#549)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-06-04 18:39:45 +00:00
Renovate Bot
4ebb195636 fix(deps): update helm release postgresql to v15.5.2 (main) (#546)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-06-04 17:46:06 +00:00
Renovate Bot
9a34dda384 fix(deps): update helm release redis-cluster to v10.2.1 (main) (#542)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-06-03 11:39:45 +00:00
Renovate Bot
028906a57d chore(deps): update dependency prettier to v3.3.0 (main) (#540)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-06-01 17:39:20 +00:00
Michael Kriese
95a8a525d7
chore: fix remote mirror 2024-05-31 10:39:52 +02:00
Michael Kriese
2cb7ae9838
chore: mirror branches and tags to codeberg.org 2024-05-31 10:38:26 +02:00
Michael Kriese
b93afdcfd9
doc: fix upgrade notes formating 2024-05-31 10:08:45 +02:00
Michael Kriese
7e32e92f14
doc: fix upgrade notes formating 2024-05-31 10:06:29 +02:00
Michael Kriese
57ec994248
doc: update upgrade notes 2024-05-31 10:04:31 +02:00
Michael Kriese
b0b2e782f1 feat!: use images from code.forgejo.org (#537)
Reviewed-on: https://code.forgejo.org/forgejo-helm/forgejo-helm/pulls/537
Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-committed-by: Michael Kriese <michael.kriese@visualon.de>
2024-05-30 20:13:08 +00:00
Renovate Bot
517f43cf5f chore(deps): update pnpm to v9.1.4 (main) (#538)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-05-30 12:07:50 +00:00
Michael Kriese
307bdd66c1
chore: fix url 2024-05-30 12:51:23 +02:00
Michael Kriese
28f6100b3e
feat: publish to code.forgejo.org/forgejo-helm/forgejo 2024-05-30 12:41:10 +02:00
Michael Kriese
837995bb68
chore(renovate): fix config 2024-05-30 09:24:08 +02:00
Michael Kriese
e82332f64c
chore(renovate): disable major chart updates for maintenance branches 2024-05-30 09:22:28 +02:00
Michael Kriese
f32d08d98e
chore(renovate): fix config 2024-05-30 09:08:29 +02:00
Michael Kriese
de87a75eca
chore(renovate): disable branch automerge 2024-05-30 08:47:12 +02:00
Renovate Bot
40d4ad01e0 fix(deps): update helm release postgresql to v15.5.0 (main) (#527)
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/527
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-05-30 06:41:39 +00:00
Renovate Bot
9f4dd125bc fix(deps): update helm release postgresql-ha to v14.1.3 (main) (#530)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-05-29 17:49:34 +00:00
Michael Kriese
5700597445 ci: add kubernetes v1.30 to test matrix (#520)
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/520
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-committed-by: Michael Kriese <michael.kriese@visualon.de>
2024-05-29 09:46:56 +00:00
Michael Kriese
71a7895fb1
docs: extend upgrade notes 2024-05-29 08:38:31 +02:00
Michael Kriese
e19a82b0c3
chore(renovate): run on maintenances branches 2024-05-29 08:26:47 +02:00
Michael Kriese
17d5bcdd8c
ci: build on maintenance branches 2024-05-29 08:25:13 +02:00
Michael Kriese
17835987bb
docs: add upgrade notes 2024-05-29 08:24:57 +02:00
Renovate Bot
f5cd83eb6e chore(deps): update dependency node to v20.14.0 (#510)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-05-28 17:44:03 +00:00
Renovate Bot
6a85a982d2 fix(deps): update helm release postgresql to v15.4.2 (#509)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-05-28 11:16:44 +00:00
Michael Kriese
dcd08e773a
docs: remove version from readme 2024-05-27 12:43:17 +02:00
Michael Kriese
848375a3a0
test: fix test name 2024-05-27 12:39:44 +02:00
Renovate Bot
320672a1f8 chore(deps): update pnpm to v9.1.3 (#508)
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/508
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-05-27 09:27:34 +00:00
Renovate Bot
8a441917b7 fix(deps): update helm release postgresql to v15.4.1 (#507)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-05-27 08:59:07 +00:00
Michael Kriese
bb4fcddfd8 feat: merge upstream changes week 2024-22 (#506)
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/506
2024-05-27 08:29:19 +00:00
Renovate Bot
477b00c696 chore(deps): update dependency markdownlint-cli to v0.41.0 (#504)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-05-26 01:15:10 +00:00
Renovate Bot
f6c558facd chore(deps): update dependency lint-staged to v15.2.5 (#503)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-05-25 11:44:20 +00:00
Renovate Bot
a3a688fb4c fix(deps): update helm release postgresql-ha to v14.1.2 (#502)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-05-24 16:17:30 +00:00
Renovate Bot
234717fbe4 fix(deps): update helm release redis-cluster to v10.2.0 (#501)
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/501
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-05-24 07:28:50 +00:00
Renovate Bot
9047f67561 fix(deps): update helm release postgresql-ha to v14.1.1 (#500)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-05-23 20:24:43 +00:00
Renovate Bot
eada50903f ci(deps): update dependency helm to v3.15.1 (#499)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-05-23 16:14:31 +00:00
Renovate Bot
f664b13bcc fix(deps): update helm release postgresql to v15.4.0 (#494)
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/494
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-05-23 13:46:06 +00:00
Renovate Bot
b94b21f9a8 fix(deps): update helm release postgresql-ha to v14.1.0 (#495)
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/495
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-05-23 13:43:18 +00:00
viceice
66dc2c434c fix: update icon
Signed-off-by: viceice <michael.kriese@gmx.de>
2024-05-23 13:43:04 +00:00
viceice
175dd452a9 docs: update readme
Signed-off-by: viceice <michael.kriese@gmx.de>
2024-05-23 10:51:20 +00:00
Renovate Bot
5e9fb7b997 fix(deps): update forgejo docker tag to v7.0.3 (#497)
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/497
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-05-22 18:34:28 +00:00
Renovate Bot
f817061cad chore(deps): update dependency lint-staged to v15.2.4 (#496)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-05-21 19:54:04 +00:00
Renovate Bot
09031d4e65 fix(deps): update helm release postgresql-ha to v14.0.17 (#493)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-05-21 02:30:42 +00:00
Renovate Bot
ad258d579f fix(deps): update helm release postgresql to v15.3.5 (#492)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-05-21 00:23:30 +00:00
Renovate Bot
a5b395797a chore(deps): update pnpm to v9.1.2 (#491)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-05-20 22:48:59 +00:00
Renovate Bot
f5d4e834be fix(deps): update helm release postgresql-ha to v14.0.16 (#490)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-05-20 21:19:17 +00:00
Renovate Bot
b41d695270 fix(deps): update helm release postgresql to v15.3.4 (#489)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-05-20 20:32:32 +00:00
Renovate Bot
8e00ac6257 fix(deps): update helm release postgresql-ha to v14.0.15 (#488)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-05-20 17:55:10 +00:00
Renovate Bot
737d505b6e fix(deps): update helm release redis-cluster to v10.0.6 (#487)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-05-20 11:17:14 +00:00
Renovate Bot
9bc59c2d8a fix(deps): update helm release postgresql to v15.3.3 (#472)
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/472
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-05-20 06:33:05 +00:00
Renovate Bot
13595678b4 fix(deps): update helm release redis-cluster to v10.0.5 (#486)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-05-20 02:19:55 +00:00
Renovate Bot
d603eb1d3e fix(deps): update helm release postgresql-ha to v14.0.14 (#485)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-05-18 06:20:45 +00:00
Renovate Bot
3af0f8d16f ci(deps): update actions/checkout action to v4.1.6 (#483)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-05-18 05:07:47 +00:00
Renovate Bot
2742ff8e57 fix(deps): update helm release redis-cluster to v10.0.4 (#484)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-05-18 04:27:27 +00:00
Renovate Bot
7b1ff42ad8 ci(deps): update dependency helm to v3.15.0 (#482)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-05-15 21:14:26 +00:00
Renovate Bot
69121fba1e ci(deps): update dependency kubectl to v1.30.1 (#481)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-05-15 07:44:27 +00:00
Renovate Bot
5bf70c047b fix(deps): update helm release redis-cluster to v10.0.3 (#480)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-05-14 08:33:52 +00:00
Renovate Bot
def81dbfcc fix(deps): update helm release postgresql-ha to v14.0.13 (#479)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-05-14 07:41:28 +00:00
Renovate Bot
bdbf1a79d0 ci(deps): update dependency kind to v0.23.0 (#478)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-05-14 05:49:06 +00:00
Renovate Bot
8949376338 ci(deps): update kindest/node docker tag to v1.27.13 (#477)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-05-14 05:20:35 +00:00
Renovate Bot
3367cfaccc ci(deps): update kindest/node docker tag to v1.29.4 (#476)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-05-14 01:37:19 +00:00
Renovate Bot
600cc919b5 ci(deps): update kindest/node docker tag to v1.28.9 (#475)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-05-14 00:59:31 +00:00
Renovate Bot
6fe48ee728 fix(deps): update helm release postgresql-ha to v14.0.12 (#474)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-05-13 13:16:43 +00:00
Renovate Bot
8171b2ae25 fix(deps): update helm release postgresql-ha to v14.0.11 (#473)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-05-13 12:14:35 +00:00
Renovate Bot
a1091a2903 chore(deps): update pnpm to v9.1.1 (#471)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-05-12 22:45:09 +00:00
Renovate Bot
96bf894c45 chore(deps): update dependency helm-unittest to v0.5.0 (#446)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-05-11 11:43:41 +00:00
Renovate Bot
1c60b67d9f fix(deps): update helm release postgresql to v15.2.12 (#470)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-05-10 22:44:11 +00:00
Renovate Bot
50ff1f4398 fix(deps): update helm release postgresql to v15.2.11 (#469)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-05-10 14:44:42 +00:00
Renovate Bot
be659d5969 fix(deps): update helm release postgresql to v15.2.10 (#468)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-05-10 10:44:31 +00:00
Renovate Bot
46c473bbf8 chore(deps): update dependency node to v20.13.1 (#467)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-05-09 14:44:55 +00:00
Renovate Bot
ac34776348 ci(deps): update actions/checkout action to v4.1.5 (#466)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-05-08 20:22:31 +00:00
Renovate Bot
6fae67c65e chore(deps): update dependency node to v20.13.0 (#465)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-05-07 16:14:43 +00:00
Renovate Bot
6372dce442 ci(deps): update helm/chart-testing-action digest to 4f62db1 (#464)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-05-07 08:44:25 +00:00
Renovate Bot
a93b8fae0b chore(config): migrate renovate config (#463)
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/463
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-05-06 14:42:10 +00:00
Renovate Bot
ebf1933cdd chore(deps): pin dependencies (#462)
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/462
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-05-06 14:41:52 +00:00
Michael Kriese
a31e2af281 fix: restore default ssh port values (#461)
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/461
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-committed-by: Michael Kriese <michael.kriese@visualon.de>
2024-05-06 13:36:51 +00:00
Renovate Bot
426a31e817 chore(deps): update dependency conventional-changelog-conventionalcommits to v8 (#456)
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/456
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-05-06 12:08:41 +00:00
Renovate Bot
91bae81c19 fix(deps): update helm release postgresql to v15.2.9 (#460)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-05-06 11:45:53 +00:00
Renovate Bot
44be49e12d chore(deps): update pnpm to v9.1.0 (#459)
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/459
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-05-06 10:56:21 +00:00
Renovate Bot
1ad081b7b9 chore(deps): update dependency conventional-changelog-core to v8 (#457)
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/457
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-05-06 10:39:55 +00:00
Renovate Bot
71e1db9a2c fix(deps): update forgejo docker tag to v7.0.2 (#455)
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/455
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-05-02 16:56:28 +00:00
Lukas
a3eb0cb214 fix: misplaced quote char in init.yaml (#451)
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/451
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
Co-authored-by: Lukas <info@devls.de>
Co-committed-by: Lukas <info@devls.de>
2024-05-02 06:31:57 +00:00
Renovate Bot
d6fe151a9d fix(deps): update helm release postgresql-ha to v14.0.10 (#453)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-05-01 16:15:17 +00:00
Renovate Bot
4205194ced fix(deps): update helm release postgresql to v15.2.8 (#452)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-05-01 15:14:49 +00:00
Renovate Bot
afa2ae1a49 fix(deps): update helm release postgresql-ha to v14.0.8 (#450)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-04-30 15:49:02 +00:00
Renovate Bot
d41e6f07d3 fix(deps): update helm release postgresql-ha to v14.0.7 (#449)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-04-30 11:19:55 +00:00
Renovate Bot
c98c3a1caf fix(deps): update helm release postgresql to v15.2.7 (#448)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-04-30 10:29:52 +00:00
Renovate Bot
8fee345168 chore(deps): update dependency markdownlint-cli to ^0.40.0 (#447)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-04-30 04:15:00 +00:00
Lukas
a147236d09 fix: admin password sync for forgejo v7 (#445)
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/445
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
Co-authored-by: Lukas <info@devls.de>
Co-committed-by: Lukas <info@devls.de>
2024-04-29 16:37:43 +00:00
egirl
fe75ae7610 docs: add more comments and examples of Helm values configuration (#407)
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/407
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
Co-authored-by: egirl <egirl@noreply.codeberg.org>
Co-committed-by: egirl <egirl@noreply.codeberg.org>
2024-04-29 10:44:36 +00:00
Renovate Bot
62a6dcb49c ci(deps): update helm/chart-testing-action digest to 16c6be3 (#444)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-04-28 11:00:33 +00:00
Renovate Bot
c5d6ed09c4 ci(deps): update dependency chart-testing to v3.11.0 (#443)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-04-27 13:00:37 +00:00
Renovate Bot
bfef40bbe1 fix(deps): update forgejo docker tag to v7.0.1 (#442)
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/442
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-04-27 10:23:55 +00:00
Renovate Bot
4a1535bd6d ci(deps): update actions/checkout action to v4.1.4 (#440)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-04-25 13:00:04 +00:00
Renovate Bot
9d95f16ac0 fix(deps): update helm release postgresql-ha to v14.0.6 (#439)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-04-24 17:13:38 +00:00
Renovate Bot
73f708ab4a chore(deps): update pnpm to v9.0.6 (#438)
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-04-24 14:14:31 +00:00
Michael Kriese
7ee439fa7f test: validate forgejo v7 and v8 test images on ci (#436)
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/436
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-committed-by: Michael Kriese <michael.kriese@visualon.de>
2024-04-23 22:46:36 +00:00
Renovate Bot
b1b33d7386 feat(deps): update forgejo docker tag to v7 (#437)
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/437
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-04-23 18:44:07 +00:00
Renovate Bot
4b33a8b103
ci(deps): update helm/kind-action action to v1.10.0 2024-04-23 07:31:15 +00:00
Michael Kriese
36140d592c
ci: add wget
- #435
2024-04-23 09:22:38 +02:00
Renovate Bot
62a4db3d7f
ci(deps): update actions/checkout action to v4.1.3 2024-04-22 14:31:30 +00:00
Renovate Bot
5982af2034
fix(deps): update helm release postgresql-ha to v14.0.5 2024-04-22 12:01:45 +00:00
Renovate Bot
7c40d7cf11
chore(deps): update dependency @bitnami/readme-generator-for-helm to v2.6.1 2024-04-22 08:31:36 +00:00
Renovate Bot
1d417575c8
chore(deps): update pnpm to v9.0.5 2024-04-21 21:31:23 +00:00
Renovate Bot
48fb912000
ci(deps): update helm/chart-testing-action digest to af96d80 2024-04-21 13:32:20 +00:00
Renovate Bot
77cf47fdad fix(deps): update forgejo docker tag to v1.21.11-1 (#429)
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/429
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-04-19 12:44:38 +00:00
Renovate Bot
9f63172dc5
fix(deps): update helm release postgresql-ha to v14.0.4 2024-04-19 11:02:19 +00:00
Renovate Bot
40d4f46a7c
chore(deps): update pnpm to v9.0.4 2024-04-19 01:31:38 +00:00
Renovate Bot
528ebb58f4 fix(deps): update forgejo docker tag to v1.21.11-0 (#426)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| forgejo | patch | `1.21.10-0` -> `1.21.11-0` |

---

### Release Notes

<details>
<summary>forgejo/forgejo (forgejo)</summary>

### [`v1.21.11-0`](https://codeberg.org/forgejo/forgejo/releases/tag/v1.21.11-0)

See https://codeberg.org/forgejo/forgejo/src/branch/forgejo/RELEASE-NOTES.md#1-21-11-0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, 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 [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yODcuMCIsInVwZGF0ZWRJblZlciI6IjM3LjI4Ny4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/426
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-04-18 20:47:47 +00:00
Renovate Bot
9ecbba3837
chore(deps): update pnpm to v9.0.3 2024-04-18 19:01:30 +00:00
Renovate Bot
3036e69eac
fix(deps): update helm release redis-cluster to v10.0.2 2024-04-18 18:31:15 +00:00
Renovate Bot
2bfa643c32 chore(deps): update pnpm to v9 2024-04-18 06:33:06 +00:00
Renovate Bot
d6120b1222
ci(deps): update dependency kubectl to v1.30.0 2024-04-17 21:01:32 +00:00
Renovate Bot
5103cdb3dd
ci(deps): update dependency kubectl to v1.29.4 2024-04-16 22:00:37 +00:00
Renovate Bot
95ee06da4b
ci(deps): update azure/setup-helm action to v4.2.0 2024-04-15 20:00:38 +00:00
Renovate Bot
5809a7dbf3
chore(deps): update pnpm to v8.15.7 2024-04-13 16:30:29 +00:00
Renovate Bot
2d57b4b49b
ci(deps): update helm/chart-testing-action digest to dbd7bf1 2024-04-11 07:01:09 +00:00
Renovate Bot
1e4132e0df
ci(deps): update dependency helm to v3.14.4 2024-04-10 21:01:12 +00:00
Renovate Bot
6c694ea661
chore(deps): update dependency node to v20.12.2 2024-04-10 17:01:14 +00:00
Renovate Bot
e2b73180dc
fix(deps): update helm release postgresql-ha to v14.0.3 2024-04-10 13:01:23 +00:00
Renovate Bot
3d182f54ad
fix(deps): update helm release postgresql to v15.2.5 2024-04-10 12:01:14 +00:00
Renovate Bot
fec88edfd7
fix(deps): update helm release postgresql-ha to v14.0.2 2024-04-05 20:31:07 +00:00
Renovate Bot
d35151d01b
fix(deps): update helm release postgresql to v15.2.4 2024-04-05 18:01:32 +00:00
Renovate Bot
91c487ea97
fix(deps): update helm release postgresql-ha to v14.0.1 2024-04-05 10:31:15 +00:00
Renovate Bot
3fb1651974 fix(deps): update forgejo docker tag to v1.21.10-0 (#408)
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/408
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-04-04 19:30:58 +00:00
58 changed files with 2833 additions and 1302 deletions

View file

@ -0,0 +1,25 @@
# action.yml
name: setup-k3s
description: 'setup k3s'
inputs:
version:
description: 'k3s version'
required: true
runs:
using: 'composite'
steps:
- shell: bash
name: install k3s
run: |
curl -sfL https://get.k3s.io | INSTALL_K3S_VERSION=${INPUT_VERSION} K3S_KUBECONFIG_MODE=640 sh -s - server
echo "KUBECONFIG=/etc/rancher/k3s/k3s.yaml" >> $GITHUB_ENV
- shell: bash
name: check k3s
run: kubectl cluster-info
- shell: bash
name: wait for nodes ready
run: |
sleep 3
kubectl wait --for=condition=Ready nodes --all --timeout=600s

View file

@ -5,11 +5,15 @@ description: 'setup node'
runs: runs:
using: 'composite' using: 'composite'
steps: steps:
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 - name: Setup pnpm
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
with:
standalone: true
- uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
with: with:
node-version-file: .node-version node-version-file: .node-version
# cache: 'npm' cache: 'pnpm'
- shell: bash
run: corepack enable
- shell: bash - shell: bash
run: pnpm install --frozen-lockfile run: pnpm install --frozen-lockfile

View file

@ -23,4 +23,5 @@ runs:
python3-wheel \ python3-wheel \
python3-venv \ python3-venv \
unzip \ unzip \
wget \
; ;

View file

@ -0,0 +1,57 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"packageRules": [
{
"description": "Separate minor and patch updates for k3s",
"matchDatasources": ["github-releases"],
"matchPackageNames": ["k3s-io/k3s"],
"separateMultipleMinor": true,
"separateMinorPatch": true,
"branchTopic": "{{{depNameSanitized}}}{{#if isMinor}}-minor{{/if}}-{{{newMajor}}}{{#if isPatch}}.{{{newMinor}}}{{/if}}.x{{#if isLockfileUpdate}}-lockfile{{/if}}",
"commitMessageSuffix": "{{#if isMinor}}(minor){{/if}}{{#if isPatch}}(patch){{/if}}"
},
{
"description": "No automerge for k3s major and minor updates",
"matchDatasources": ["github-releases"],
"matchPackageNames": ["k3s-io/k3s"],
"matchUpdateTypes": ["major", "minor"],
"automerge": false
},
{
"description": "Group k3s patch updates",
"matchDatasources": ["github-releases"],
"matchPackageNames": ["k3s-io/k3s"],
"matchUpdateTypes": ["patch"],
"groupName": "k3s"
},
{
"description": "Disable k3s major and minor updates for old versions",
"matchDatasources": ["github-releases"],
"matchFileNames": [".forgejo/workflows/**"],
"matchPackageNames": ["k3s-io/k3s"],
"matchUpdateTypes": ["major", "minor"],
"matchCurrentValue": "!/^v1.32/",
"enabled": false
}
],
"customDatasources": {
"k3s": {
"defaultRegistryUrlTemplate": "https://update.k3s.io/v1-release/channels",
"transformTemplates": [
"($isVersion:=function($name){$contains($name,/^v\\d+.\\d+$/)};{\"releases\":[data[$isVersion(name)].{\"version\":latest}],\"sourceUrl\":\"https://github.com/k3s-io/k3s\",\"homepage\":\"https://k3s.io/\"})"
]
}
},
"customManagers": [
{
"customType": "regex",
"fileMatch": [".forgejo/renovate/k3s.json"],
"matchStrings": [
"matchCurrentValue\": \"!\\/^v(?<currentValue>\\d+\\.\\d+)\\/"
],
"depNameTemplate": "k3s",
"versioningTemplate": "npm",
"datasourceTemplate": "custom.k3s"
}
]
}

View file

@ -5,19 +5,20 @@ on:
push: push:
branches: branches:
- main - main
- release/** - maint/**
tags: tags:
- v* - v*
workflow_dispatch:
permissions: permissions:
contents: read contents: read
env: env:
HELM_VERSION: v3.14.3 # renovate: datasource=github-releases depName=helm packageName=helm/helm HELM_VERSION: v3.17.2 # renovate: datasource=github-releases depName=helm packageName=helm/helm
HELM_UNITTEST_VERSION: v0.4.4 # renovate: datasource=github-releases depName=helm-unittest packageName=helm-unittest/helm-unittest HELM_UNITTEST_VERSION: v0.7.2 # renovate: datasource=github-releases depName=helm-unittest packageName=helm-unittest/helm-unittest
HELM_CHART_TESTING_VERSION: v3.10.1 # renovate: datasource=github-releases depName=chart-testing packageName=helm/chart-testing HELM_CHART_TESTING_VERSION: v3.12.0 # renovate: datasource=github-releases depName=chart-testing packageName=helm/chart-testing
KIND_VERSION: v0.22.0 # renovate: datasource=github-releases depName=kind packageName=kubernetes-sigs/kind KUBECTL_VERSION: v1.32.3 # renovate: datasource=github-releases depName=kubectl packageName=kubernetes/kubernetes
KUBECTL_VERSION: v1.29.3 # renovate: datasource=github-releases depName=kubectl packageName=kubernetes/kubernetes CT_GITHUB_GROUPS: true
jobs: jobs:
lint-node: lint-node:
@ -25,9 +26,11 @@ jobs:
steps: steps:
- run: cat /etc/os-release - run: cat /etc/os-release
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with: with:
show-progress: false show-progress: false
fetch-depth: 0 # Important for changelog
filter: blob:none # We don't need all blobs
- uses: ./.forgejo/actions/setup - uses: ./.forgejo/actions/setup
- uses: ./.forgejo/actions/setup-node - uses: ./.forgejo/actions/setup-node
@ -37,6 +40,10 @@ jobs:
- run: make readme - run: make readme
- run: git diff --exit-code --name-only README.md - run: git diff --exit-code --name-only README.md
- name: changelog
run: |
pnpm changelog ${{ github.ref_type == 'tag' && 'true' || '' }}
lint-helm: lint-helm:
runs-on: docker runs-on: docker
steps: steps:
@ -44,7 +51,7 @@ jobs:
- run: ps axf - run: ps axf
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with: with:
show-progress: false show-progress: false
fetch-depth: 0 fetch-depth: 0
@ -53,12 +60,12 @@ jobs:
- uses: ./.forgejo/actions/setup - uses: ./.forgejo/actions/setup
- name: install chart-testing - name: install chart-testing
uses: helm/chart-testing-action@e6669bcd63d7cb57cb4380c33043eebe5d111992 # v2.6.1 uses: helm/chart-testing-action@0d28d3144d3a25ea2cc349d6e59901c4ff469b3b # v2.7.0
with: with:
version: ${{ env.HELM_CHART_TESTING_VERSION }} version: ${{ env.HELM_CHART_TESTING_VERSION }}
- name: install helm - name: install helm
uses: azure/setup-helm@b7246b12e77f7134dc2d460a3d5bad15bbe29390 # v4.1.0 uses: azure/setup-helm@b9e51907a09c216f16ebe8536097933489208112 # v4.3.0
with: with:
version: ${{ env.HELM_VERSION }} version: ${{ env.HELM_VERSION }}
@ -74,20 +81,27 @@ jobs:
- run: ct lint --config tools/ct.yml --charts . - run: ct lint --config tools/ct.yml --charts .
e2e: e2e:
needs:
- lint-node
- lint-helm
runs-on: k8s runs-on: k8s
strategy: strategy:
matrix: matrix:
k8s: k3s:
# from https://hub.docker.com/r/kindest/node/tags # https://github.com/k3s-io/k3s/branches
- v1.27.11 # renovate: kindest # oldest supported version
- v1.28.7 # renovate: kindest - v1.28.15+k3s1 # renovate: k3s
- v1.29.2 # renovate: kindest # https://github.com/k3s-io/k3s/blob/master/channel.yaml#L3-L4
# stable version
- v1.31.6+k3s1 # renovate: k3s
# newest version
- v1.32.2+k3s1 # renovate: k3s
steps: steps:
- run: cat /etc/os-release - run: cat /etc/os-release
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with: with:
show-progress: false show-progress: false
fetch-depth: 0 fetch-depth: 0
@ -96,34 +110,28 @@ jobs:
- uses: ./.forgejo/actions/setup - uses: ./.forgejo/actions/setup
- name: install helm - name: install helm
uses: azure/setup-helm@b7246b12e77f7134dc2d460a3d5bad15bbe29390 # v4.1.0 uses: azure/setup-helm@b9e51907a09c216f16ebe8536097933489208112 # v4.3.0
with: with:
version: ${{ env.HELM_VERSION }} version: ${{ env.HELM_VERSION }}
- name: Install chart-testing - name: Install chart-testing
# TODO: pin to version when this is released: https://github.com/helm/chart-testing-action/pull/137 uses: helm/chart-testing-action@0d28d3144d3a25ea2cc349d6e59901c4ff469b3b # v2.7.0
uses: helm/chart-testing-action@df9dfa7259f5d09615a31c4aae53338e2c621f8f # main
with: with:
version: ${{ env.HELM_CHART_TESTING_VERSION }} version: ${{ env.HELM_CHART_TESTING_VERSION }}
- uses: ./.forgejo/actions/setup-docker - uses: ./.forgejo/actions/setup-k3s
- name: Create kind cluster
uses: helm/kind-action@99576bfa6ddf9a8e612d83b513da5a75875caced # v1.9.0
with: with:
node_image: kindest/node:${{ matrix.k8s }} version: ${{ matrix.k3s }}
kubectl_version: ${{ env.KUBECTL_VERSION }}
version: ${{ env.KIND_VERSION }}
- run: kubectl get no -o wide - run: kubectl get no -o wide
- name: install chart - name: install chart
uses: https://github.com/nick-fields/retry@7152eba30c6575329ac0576536151aca5a72780e # v3.0.0 uses: https://github.com/nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08 # v3.0.2
with: with:
timeout_minutes: 15 timeout_minutes: 15
max_attempts: 3 max_attempts: 3
retry_on: error retry_on: error
retry_wait_seconds: 60 retry_wait_seconds: 120
polling_interval_seconds: 5 polling_interval_seconds: 5
command: ct install --config tools/ct.yml --charts . command: ct install --config tools/ct.yml --charts .
@ -161,7 +169,7 @@ jobs:
if: ${{ github.ref_type == 'tag' }} if: ${{ github.ref_type == 'tag' }}
steps: steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with: with:
show-progress: false show-progress: false
fetch-depth: 0 # Important for changelog fetch-depth: 0 # Important for changelog
@ -171,7 +179,7 @@ jobs:
- uses: ./.forgejo/actions/setup-node - uses: ./.forgejo/actions/setup-node
- name: install helm - name: install helm
uses: https://github.com/azure/setup-helm@b7246b12e77f7134dc2d460a3d5bad15bbe29390 # v4.1.0 uses: https://github.com/azure/setup-helm@b9e51907a09c216f16ebe8536097933489208112 # v4.3.0
with: with:
version: ${{ env.HELM_VERSION }} version: ${{ env.HELM_VERSION }}
@ -182,6 +190,7 @@ jobs:
run: | run: |
echo ${CODEBERG_TOKEN} | helm registry login -u viceice --password-stdin codeberg.org/forgejo-contrib echo ${CODEBERG_TOKEN} | helm registry login -u viceice --password-stdin codeberg.org/forgejo-contrib
echo ${FORGEJO_TOKEN} | helm registry login -u viceice --password-stdin code.forgejo.org/forgejo-contrib echo ${FORGEJO_TOKEN} | helm registry login -u viceice --password-stdin code.forgejo.org/forgejo-contrib
echo ${FORGEJO_TOKEN} | helm registry login -u viceice --password-stdin code.forgejo.org/forgejo-helm
env: env:
CODEBERG_TOKEN: ${{secrets.API_TOKEN}} CODEBERG_TOKEN: ${{secrets.API_TOKEN}}
FORGEJO_TOKEN: ${{secrets.FORGEJO_API_TOKEN}} FORGEJO_TOKEN: ${{secrets.FORGEJO_API_TOKEN}}
@ -190,6 +199,7 @@ jobs:
run: | run: |
helm push tmp/forgejo-${GITHUB_REF_NAME#v}.tgz oci://codeberg.org/forgejo-contrib helm push tmp/forgejo-${GITHUB_REF_NAME#v}.tgz oci://codeberg.org/forgejo-contrib
helm push tmp/forgejo-${GITHUB_REF_NAME#v}.tgz oci://code.forgejo.org/forgejo-contrib helm push tmp/forgejo-${GITHUB_REF_NAME#v}.tgz oci://code.forgejo.org/forgejo-contrib
helm push tmp/forgejo-${GITHUB_REF_NAME#v}.tgz oci://code.forgejo.org/forgejo-helm
- name: publish forgejo release - name: publish forgejo release
run: pnpm forgejo:release run: pnpm forgejo:release

View file

@ -0,0 +1,26 @@
on:
schedule:
- cron: '@hourly'
push:
branches:
- 'main'
workflow_dispatch:
jobs:
mirror:
runs-on: docker
steps:
- name: git mirror branches {main,maint/*] & tags
run: |
git init --bare .
git remote add origin https://code.forgejo.org/${{ env.GITHUB_REPOSITORY }}
git fetch origin refs/heads/main:refs/mirror/main --tags
git ls-remote origin refs/heads/main/* | while read sha full_ref ; do
ref=${full_ref#refs/heads/}
git fetch origin $full_ref:refs/mirror/$ref
done
git push --force https://any:$CODEBERG_TOKEN@codeberg.org/forgejo-contrib/forgejo-helm refs/mirror/*:refs/heads/* --tags
env:
CODEBERG_TOKEN: ${{secrets.CODEBERG_TOKEN}}

View file

@ -1 +1 @@
20.12.1 22.14.0

View file

@ -4,7 +4,7 @@
".github/workflows/*", ".github/workflows/*",
".forgejo/workflows/*" ".forgejo/workflows/*"
], ],
"https://raw.githubusercontent.com/helm-unittest/helm-unittest/v0.4.4/schema/helm-testsuite.json": [ "https://raw.githubusercontent.com/helm-unittest/helm-unittest/v0.7.2/schema/helm-testsuite.json": [
"/unittests/**/*.yaml" "/unittests/**/*.yaml"
] ]
}, },

View file

@ -1,12 +1,18 @@
dependencies: dependencies:
- name: common
repository: oci://ghcr.io/visualon/bitnamicharts
version: 2.30.0
- name: postgresql - name: postgresql
repository: oci://registry-1.docker.io/bitnamicharts repository: oci://ghcr.io/visualon/bitnamicharts
version: 15.2.2 version: 16.5.6
- name: postgresql-ha - name: postgresql-ha
repository: oci://registry-1.docker.io/bitnamicharts repository: oci://ghcr.io/visualon/bitnamicharts
version: 14.0.0 version: 15.3.8
- name: redis-cluster - name: redis-cluster
repository: oci://registry-1.docker.io/bitnamicharts repository: oci://ghcr.io/visualon/bitnamicharts
version: 10.0.1 version: 11.4.6
digest: sha256:114aa5432dd15d85c12c8f9677c7b0a5e8d3e2fa93be32d52a713a0b434bf06d - name: redis
generated: "2024-04-02T20:30:31.493324877Z" repository: oci://ghcr.io/visualon/bitnamicharts
version: 20.11.4
digest: sha256:a9c9f0779663336dd22ca4896f22bb64427e28f20aa567aee2f18474f8e31a23
generated: "2025-03-26T15:31:33.532188569Z"

View file

@ -3,8 +3,8 @@ name: forgejo
description: Forgejo Helm chart for Kubernetes description: Forgejo Helm chart for Kubernetes
type: application type: application
version: 0.0.0 version: 0.0.0
appVersion: 1.21.8-0 appVersion: 10.0.3
icon: https://design.codeberg.org/logo-kit/icon.svg icon: https://code.forgejo.org/forgejo/forgejo/raw/branch/forgejo/assets/logo.svg
home: https://forgejo.org/ home: https://forgejo.org/
keywords: keywords:
@ -16,28 +16,41 @@ keywords:
- gitea - gitea
- gogs - gogs
sources: sources:
- https://codeberg.org/forgejo-contrib/forgejo-helm - https://code.forgejo.org/forgejo-helm/forgejo-helm
- https://codeberg.org/forgejo/forgejo - https://codeberg.org/forgejo/forgejo
maintainers: maintainers:
- name: Michael Kriese - name: Michael Kriese
email: michael.kriese@visualon.de email: michael.kriese@visualon.de
# Bitnami charts are served from Docker Hub # Bitnami charts are served from ghcr mirror because of rate limiting on Docker Hub
# https://hub.docker.com/u/bitnamicharts # https://hub.docker.com/u/bitnamicharts
# https://blog.bitnami.com/2023/01/bitnami-helm-charts-available-as-oci.html # https://blog.bitnami.com/2023/01/bitnami-helm-charts-available-as-oci.html
# https://github.com/bitnami/charts/issues/30853
# https://code.forgejo.org/forgejo-helm/forgejo-helm/issues/1045
dependencies: dependencies:
# https://github.com/bitnami/charts/blob/main/bitnami/common/Chart.yaml
- name: common
repository: oci://ghcr.io/visualon/bitnamicharts
tags:
- bitnami-common
version: 2.30.0
# https://github.com/bitnami/charts/blob/main/bitnami/postgresql/Chart.yaml # https://github.com/bitnami/charts/blob/main/bitnami/postgresql/Chart.yaml
- name: postgresql - name: postgresql
repository: oci://registry-1.docker.io/bitnamicharts repository: oci://ghcr.io/visualon/bitnamicharts
version: 15.2.2 version: 16.5.6
condition: postgresql.enabled condition: postgresql.enabled
# https://github.com/bitnami/charts/blob/main/bitnami/postgresql-ha/Chart.yaml # https://github.com/bitnami/charts/blob/main/bitnami/postgresql-ha/Chart.yaml
- name: postgresql-ha - name: postgresql-ha
repository: oci://registry-1.docker.io/bitnamicharts repository: oci://ghcr.io/visualon/bitnamicharts
version: 14.0.0 version: 15.3.8
condition: postgresql-ha.enabled condition: postgresql-ha.enabled
# https://github.com/bitnami/charts/blob/main/bitnami/redis-cluster/Chart.yaml # https://github.com/bitnami/charts/blob/main/bitnami/redis-cluster/Chart.yaml
- name: redis-cluster - name: redis-cluster
repository: oci://registry-1.docker.io/bitnamicharts repository: oci://ghcr.io/visualon/bitnamicharts
version: 10.0.1 version: 11.4.6
condition: redis-cluster.enabled condition: redis-cluster.enabled
# https://github.com/bitnami/charts/blob/main/bitnami/redis/Chart.yaml
- name: redis
repository: oci://ghcr.io/visualon/bitnamicharts
version: 20.11.4
condition: redis.enabled

View file

@ -1,5 +1,6 @@
MIT License MIT License
Copyright (c) 2023 The Forgejo Authors
Copyright (c) 2020 The Gitea Authors Copyright (c) 2020 The Gitea Authors
Copyright (c) 2020 NOVUM-RGI Copyright (c) 2020 NOVUM-RGI
Copyright (c) 2019 - 2020 Charlie Drage Copyright (c) 2019 - 2020 Charlie Drage

View file

@ -9,7 +9,7 @@ readme: prepare-environment
.PHONY: unittests .PHONY: unittests
unittests: unittests:
helm unittest --strict -f 'unittests/**/*.yaml' -f 'unittests/dependency-major-image-check.yaml' ./ helm unittest --strict -f 'unittests/**/*.yaml' ./
.PHONY: helm .PHONY: helm
update-helm-dependencies: update-helm-dependencies:

312
README.md
View file

@ -1,7 +1,5 @@
# Forgejo Helm Chart <!-- omit from toc --> # Forgejo Helm Chart <!-- omit from toc -->
[![status-badge](https://ci.dachary.org/api/badges/forgejo-contrib/forgejo-helm/status.svg)](https://ci.dachary.org/forgejo-contrib/forgejo-helm)
- [Introduction](#introduction) - [Introduction](#introduction)
- [Update and versioning policy](#update-and-versioning-policy) - [Update and versioning policy](#update-and-versioning-policy)
- [Dependencies](#dependencies) - [Dependencies](#dependencies)
@ -22,7 +20,6 @@
- [User defined environment variables in app.ini](#user-defined-environment-variables-in-appini) - [User defined environment variables in app.ini](#user-defined-environment-variables-in-appini)
- [External Database](#external-database) - [External Database](#external-database)
- [Ports and external url](#ports-and-external-url) - [Ports and external url](#ports-and-external-url)
- [ClusterIP](#clusterip)
- [SSH and Ingress](#ssh-and-ingress) - [SSH and Ingress](#ssh-and-ingress)
- [SSH on crio based kubernetes cluster](#ssh-on-crio-based-kubernetes-cluster) - [SSH on crio based kubernetes cluster](#ssh-on-crio-based-kubernetes-cluster)
- [Cache](#cache) - [Cache](#cache)
@ -48,15 +45,23 @@
- [Init](#init) - [Init](#init)
- [Signing](#signing) - [Signing](#signing)
- [Gitea](#gitea) - [Gitea](#gitea)
- [`app.ini` overrides](#appini-overrides)
- [LivenessProbe](#livenessprobe) - [LivenessProbe](#livenessprobe)
- [ReadinessProbe](#readinessprobe) - [ReadinessProbe](#readinessprobe)
- [StartupProbe](#startupprobe) - [StartupProbe](#startupprobe)
- [redis-cluster](#redis-cluster) - [Redis&reg; Cluster](#redis-cluster)
- [PostgreSQL-ha](#postgresql-ha) - [Redis&reg;](#redis)
- [PostgreSQL HA](#postgresql-ha)
- [PostgreSQL](#postgresql) - [PostgreSQL](#postgresql)
- [Advanced](#advanced) - [Advanced](#advanced)
- [Contributing](#contributing) - [Contributing](#contributing)
- [Upgrading](#upgrading) - [Upgrading](#upgrading)
- [To v11](#to-v11)
- [To v10](#to-v10)
- [To v9](#to-v9)
- [To v8](#to-v8)
- [To v7](#to-v7)
- [To v6](#to-v6)
[Forgejo](https://forgejo.org/) is a community managed lightweight code hosting solution written in Go. [Forgejo](https://forgejo.org/) is a community managed lightweight code hosting solution written in Go.
It is published under the MIT license. It is published under the MIT license.
@ -70,7 +75,7 @@ Additionally, this chart allows to provide LDAP and admin user configuration wit
## Update and versioning policy ## Update and versioning policy
The Forgejo helm chart versioning does not follow Forgejo's versioning. The Forgejo helm chart versioning does not follow Forgejo's versioning.
The latest chart version can be looked up in <https://codeberg.org/forgejo-contrib/-/packages/container/forgejo/0.8.0> or in the [repository releases](https://codeberg.org/forgejo-contrib/forgejo-helm/releases). The latest chart version can be looked up in <https://code.forgejo.org/forgejo-helm/-/packages/container/forgejo> or in the [repository releases](https://code.forgejo.org/forgejo-helm/forgejo-helm/releases).
The chart aims to follow Forgejo's releases closely. The chart aims to follow Forgejo's releases closely.
There might be times when the chart is behind the latest Forgejo release. There might be times when the chart is behind the latest Forgejo release.
@ -96,7 +101,8 @@ These dependencies are enabled by default:
Alternatively, the following non-HA replacements are available: Alternatively, the following non-HA replacements are available:
- PostgreSQL ([Bitnami PostgreSQL](<postgresql](https://github.com/bitnami/charts/blob/main/bitnami/postgresql/Chart.yaml)>)) - PostgreSQL ([Bitnami PostgreSQL](https://github.com/bitnami/charts/blob/main/bitnami/postgresql/Chart.yaml))
- Redis ([Bitnami Redis](https://github.com/bitnami/charts/blob/main/bitnami/redis/Chart.yaml))
### Dependency Versioning ### Dependency Versioning
@ -115,19 +121,20 @@ Please double-check the image repository and available tags in the sub-chart:
- [PostgreSQL-HA](https://hub.docker.com/r/bitnami/postgresql-repmgr/tags) - [PostgreSQL-HA](https://hub.docker.com/r/bitnami/postgresql-repmgr/tags)
- [PostgreSQL](https://hub.docker.com/r/bitnami/postgresql/tags) - [PostgreSQL](https://hub.docker.com/r/bitnami/postgresql/tags)
- [Redis Cluster](https://hub.docker.com/r/bitnami/redis-cluster/tags) - [Redis Cluster](https://hub.docker.com/r/bitnami/redis-cluster/tags)
- [Redis](https://hub.docker.com/r/bitnami/redis/tags)
and look up the image tag which fits your needs on Dockerhub. and look up the image tag which fits your needs on Dockerhub.
## Installing ## Installing
```sh ```sh
helm install forgejo oci://codeberg.org/forgejo-contrib/forgejo helm install forgejo oci://code.forgejo.org/forgejo-helm/forgejo
``` ```
In case you want to supply values, you can reference a `values.yaml` file: In case you want to supply values, you can reference a `values.yaml` file:
```sh ```sh
helm install forgejo -f values.yaml oci://codeberg.org/forgejo-contrib/forgejo helm install forgejo -f values.yaml oci://code.forgejo.org/forgejo-helm/forgejo
``` ```
When upgrading, please refer to the [Upgrading](#upgrading) section at the bottom of this document for major and breaking changes. When upgrading, please refer to the [Upgrading](#upgrading) section at the bottom of this document for major and breaking changes.
@ -143,14 +150,23 @@ See the [HA Setup](docs/ha-setup.md) document for more details.
## Configuration ## Configuration
Forgejo offers lots of configuration options. Forgejo offers lots of configuration options.
This is fully described in the [Cheat Sheet](https://forgejo.org/docs/latest/admin/config-cheat-sheet/). Every value described in the [Cheat Sheet](https://forgejo.org/docs/latest/admin/config-cheat-sheet/) can be set as a Helm value.
Configuration sections map to (lowercased) YAML blocks, while the keys themselves remain in all caps.
```yaml ```yaml
gitea: gitea:
config: config:
APP_NAME: 'Forgejo: With a cup of tea.' # values in the DEFAULT section
# (https://forgejo.org/docs/latest/admin/config-cheat-sheet/#overall-default)
# are un-namespaced
#
APP_NAME: 'Forgejo: Git with a cup of tea'
#
# https://forgejo.org/docs/latest/admin/config-cheat-sheet/#repository-repository
repository: repository:
ROOT: '~/gitea-repositories' ROOT: '~/gitea-repositories'
#
# https://forgejo.org/docs/latest/admin/config-cheat-sheet/#repository---pull-request-repositorypull-request
repository.pull-request: repository.pull-request:
WORK_IN_PROGRESS_PREFIXES: 'WIP:,[WIP]:' WORK_IN_PROGRESS_PREFIXES: 'WIP:,[WIP]:'
``` ```
@ -160,14 +176,14 @@ gitea:
This chart will set a few defaults in the Forgejo configuration based on the service and ingress settings. This chart will set a few defaults in the Forgejo configuration based on the service and ingress settings.
All defaults can be overwritten in `gitea.config`. All defaults can be overwritten in `gitea.config`.
INSTALL_LOCK is always set to true, since we want to configure Forgejo with this helm chart and everything is taken care of. INSTALL_LOCK is always set to true because the configuration in this helm chart makes any configuration via installer superfluous.
_All default settings are made directly in the generated `app.ini`, not in the Values._ _All default settings are made directly in the generated `app.ini`, not in the Values._
#### Database defaults #### Database defaults
If a builtIn database is enabled the database configuration is set automatically. If a database subchart is enabled, the database configuration is set automatically.
For example, PostgreSQL builtIn will appear in the `app.ini` as: For example, PostgreSQL will appear in the `app.ini` as:
```ini ```ini
[database] [database]
@ -240,7 +256,7 @@ External tools such as `redis-cluster` or `memcached` handle these workloads muc
If HA is not needed/desired, the following configurations can be used to deploy a single-pod Forgejo instance. If HA is not needed/desired, the following configurations can be used to deploy a single-pod Forgejo instance.
1. For a production-ready single-pod Forgejo instance without external dependencies (using the chart dependency `postgresql`): 1. For a production-ready single-pod Forgejo instance without external dependencies (using the chart dependency `postgresql` and `redis`):
<details> <details>
@ -249,6 +265,8 @@ If HA is not needed/desired, the following configurations can be used to deploy
```yaml ```yaml
redis-cluster: redis-cluster:
enabled: false enabled: false
redis:
enabled: true
postgresql: postgresql:
enabled: true enabled: true
postgresql-ha: postgresql-ha:
@ -261,12 +279,6 @@ If HA is not needed/desired, the following configurations can be used to deploy
config: config:
database: database:
DB_TYPE: postgres DB_TYPE: postgres
session:
PROVIDER: db
cache:
ADAPTER: memory
queue:
TYPE: level
indexer: indexer:
ISSUE_INDEXER_TYPE: bleve ISSUE_INDEXER_TYPE: bleve
REPO_INDEXER_ENABLED: true REPO_INDEXER_ENABLED: true
@ -286,6 +298,8 @@ If HA is not needed/desired, the following configurations can be used to deploy
```yaml ```yaml
redis-cluster: redis-cluster:
enabled: false enabled: false
redis:
enabled: false
postgresql: postgresql:
enabled: false enabled: false
postgresql-ha: postgresql-ha:
@ -367,7 +381,7 @@ stringData:
#### User defined environment variables in app.ini #### User defined environment variables in app.ini
Users are able to define their own environment variables, which are loaded into the containers. Users are able to define their own environment variables, which are loaded into the containers.
We also support to directly interact with the generated _app.ini_. We also support interacting directly with the generated _app.ini_.
To inject self defined variables into the _app.ini_ a certain format needs to be honored. To inject self defined variables into the _app.ini_ a certain format needs to be honored.
This is described in detail on the [env-to-ini](https://github.com/go-gitea/gitea/tree/main/contrib/environment-to-ini) page. This is described in detail on the [env-to-ini](https://github.com/go-gitea/gitea/tree/main/contrib/environment-to-ini) page.
@ -378,9 +392,10 @@ For example a database setting needs to have the following format:
```yaml ```yaml
gitea: gitea:
config:
database:
HOST: my.own.host
additionalConfigFromEnvs: additionalConfigFromEnvs:
- name: FORGEJO__DATABASE__HOST
value: my.own.host
- name: FORGEJO__DATABASE__PASSWD - name: FORGEJO__DATABASE__PASSWD
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
@ -406,7 +421,7 @@ If an external database is used, no matter which type, make sure to set `postgre
gitea: gitea:
config: config:
database: database:
DB_TYPE: mysql DB_TYPE: mysql # supported values are mysql, postgres, mssql, sqlite3
HOST: <mysql HOST> HOST: <mysql HOST>
NAME: gitea NAME: gitea
USER: root USER: root
@ -434,23 +449,6 @@ This helm chart automatically configures the clone urls to use the correct ports
You can change these ports by hand using the `gitea.config` dict. You can change these ports by hand using the `gitea.config` dict.
However you should know what you're doing. However you should know what you're doing.
### ClusterIP
By default the `clusterIP` will be set to `None`, which is the default for headless services.
However if you want to omit the clusterIP field in the service, use the following values:
```yaml
service:
http:
type: ClusterIP
port: 3000
clusterIP:
ssh:
type: ClusterIP
port: 22
clusterIP:
```
### SSH and Ingress ### SSH and Ingress
If you're using ingress and want to use SSH, keep in mind, that ingress is not able to forward SSH Ports. If you're using ingress and want to use SSH, keep in mind, that ingress is not able to forward SSH Ports.
@ -460,7 +458,7 @@ You will need a LoadBalancer like `metallb` and a setting in your ssh service an
service: service:
ssh: ssh:
annotations: annotations:
metallb.universe.tf/allow-shared-ip: test metallb.io/allow-shared-ip: test
``` ```
### SSH on crio based kubernetes cluster ### SSH on crio based kubernetes cluster
@ -533,8 +531,6 @@ postgresql:
This chart enables you to create a default admin user. This chart enables you to create a default admin user.
It is also possible to update the password for this user by upgrading or redeploying the chart. It is also possible to update the password for this user by upgrading or redeploying the chart.
It is not possible to delete an admin user after it has been created.
This has to be done in the ui.
You cannot use `admin` as username. You cannot use `admin` as username.
```yaml ```yaml
@ -564,6 +560,22 @@ gitea:
existingSecret: gitea-admin-secret existingSecret: gitea-admin-secret
``` ```
To delete the admin user, set `username` or `password` to an empty value and delete the user in the UI.
Whether you use the existing Secret or specify a username and password directly, there are three modes for how the admin user password is created or set.
- `keepUpdated` (the default) will set the admin user password, and reset it to the defined value every time the pod is recreated.
- `initialOnlyNoReset` will set the admin user password when creating it, but never try to update the password.
- `initialOnlyRequireReset` will set the admin user password when creating it, never update it, and require that the password be changed at the initial login.
These modes can be set like the following:
```yaml
gitea:
admin:
passwordMode: initialOnlyRequireReset
```
### LDAP Settings ### LDAP Settings
Like the admin user the LDAP settings can be updated. Like the admin user the LDAP settings can be updated.
@ -621,7 +633,7 @@ Affected options:
Like the admin user, OAuth2 settings can be updated and disabled but not deleted. Like the admin user, OAuth2 settings can be updated and disabled but not deleted.
Deleting OAuth2 settings has to be done in the UI. Deleting OAuth2 settings has to be done in the UI.
All OAuth2 values, which are documented [here](https://forgejo.org/docs/latest/admin/command-line/#admin), are available. [All OAuth2 values](https://forgejo.org/docs/latest/admin/command-line/#admin-auth-add-oauth) are available.
Multiple OAuth2 sources can be configured with additional OAuth list items. Multiple OAuth2 sources can be configured with additional OAuth list items.
@ -660,14 +672,29 @@ gitea:
existingSecret: gitea-oauth-secret existingSecret: gitea-oauth-secret
``` ```
### Compatibility with OCP (OKD or OpenShift)
Normally OCP is automatically detected and the compatibility mode set accordingly. To enforce the OCP compatibility mode use the following configuration:
```yaml
global:
compatibility:
openshift:
adaptSecurityContext: force
```
An OCP route to access Forgejo can be enabled with the following config:
```yaml
route:
enabled: true
```
## Configure commit signing ## Configure commit signing
When using the rootless image the gpg key folder is not persistent by default. When using the rootless image, the GPG key folder is not persistent by default.
If you consider using signed commits for internal Forgejo activities (e.g. initial commit), you'd need to provide a signing key. If you want commits by Forgejo (e.g. initial commit) to be signed,
Prior to [PR186](https://gitea.com/gitea/helm-chart/pulls/186), imported keys had to be re-imported once the container got replaced by another. you need to provide a signing key:
The mentioned PR introduced a new configuration object `signing` allowing you to configure prerequisites for commit signing.
By default this section is disabled to maintain backwards compatibility.
```yaml ```yaml
signing: signing:
@ -675,8 +702,10 @@ signing:
gpgHome: /data/git/.gnupg gpgHome: /data/git/.gnupg
``` ```
Regardless of the used container image the `signing` object allows to specify a private gpg key. By default this section is disabled to maintain backwards compatibility.
Either using the `signing.privateKey` to define the key inline, or refer to an existing secret containing the key data by using `signing.existingSecret`.
Regardless of the used container image the `signing` object allows to specify a private GPG key.
Either using the `signing.privateKey` to define the key inline, or referring to an existing secret containing the key data with `signing.existingSecret`.
```yaml ```yaml
apiVersion: v1 apiVersion: v1
@ -696,7 +725,7 @@ signing:
existingSecret: custom-gitea-gpg-key existingSecret: custom-gitea-gpg-key
``` ```
To use the gpg key, Forgejo needs to be configured accordingly. To use the GPG key, Forgejo needs to be configured accordingly.
A detailed description can be found in the [documentation](https://forgejo.org/docs/latest/admin/signing/#general-configuration). A detailed description can be found in the [documentation](https://forgejo.org/docs/latest/admin/signing/#general-configuration).
## Metrics and profiling ## Metrics and profiling
@ -802,7 +831,7 @@ Here's an examplary `values.yml` definition which makes use of a digest:
```yaml ```yaml
image: image:
registry: codeberg.org registry: code.forgejo.org
repository: forgejo/forgejo repository: forgejo/forgejo
tag: 1.20.2-0 tag: 1.20.2-0
digest: sha256:f597c14a403c2fdee9a62dae8bae29d6442f7b2cc85872cc9bb535a24cb1630e digest: sha256:f597c14a403c2fdee9a62dae8bae29d6442f7b2cc85872cc9bb535a24cb1630e
@ -819,7 +848,7 @@ To comply with the Forgejo helm chart definition of the digest parameter, a "cus
"fileMatch": ["values\\.ya?ml"], "fileMatch": ["values\\.ya?ml"],
"matchStrings": ["(?<depName>forgejo\\/forgejo)\\n(?<indentation>\\s+)tag: (?<currentValue>[^@].*?)\\n\\s+digest: (?<currentDigest>sha256:[a-f0-9]+)"], "matchStrings": ["(?<depName>forgejo\\/forgejo)\\n(?<indentation>\\s+)tag: (?<currentValue>[^@].*?)\\n\\s+digest: (?<currentDigest>sha256:[a-f0-9]+)"],
"datasourceTemplate": "docker", "datasourceTemplate": "docker",
"packageNameTemplate": "codeberg.org/{{depName}}", "packageNameTemplate": "code.forgejo.org/{{depName}}",
"autoReplaceStringTemplate": "{{depName}}\n{{indentation}}tag: {{newValue}}\n{{indentation}}digest: {{#if newDigest}}{{{newDigest}}}{{else}}{{{currentDigest}}}{{/if}}" "autoReplaceStringTemplate": "{{depName}}\n{{indentation}}tag: {{newValue}}\n{{indentation}}digest: {{#if newDigest}}{{{newDigest}}}{{else}}{{{currentDigest}}}{{/if}}"
} }
] ]
@ -835,6 +864,7 @@ To comply with the Forgejo helm chart definition of the digest parameter, a "cus
| `global.imagePullSecrets` | global image pull secrets override; can be extended by `imagePullSecrets` | `[]` | | `global.imagePullSecrets` | global image pull secrets override; can be extended by `imagePullSecrets` | `[]` |
| `global.storageClass` | global storage class override | `""` | | `global.storageClass` | global storage class override | `""` |
| `global.hostAliases` | global hostAliases which will be added to the pod's hosts files | `[]` | | `global.hostAliases` | global hostAliases which will be added to the pod's hosts files | `[]` |
| `namespaceOverride` | String to fully override common.names.namespace | `""` |
| `replicaCount` | number of replicas for the deployment | `1` | | `replicaCount` | number of replicas for the deployment | `1` |
### strategy ### strategy
@ -849,10 +879,10 @@ To comply with the Forgejo helm chart definition of the digest parameter, a "cus
### Image ### Image
| Name | Description | Value | | Name | Description | Value |
| -------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------- | | -------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------ |
| `image.registry` | image registry, e.g. gcr.io,docker.io | `codeberg.org` | | `image.registry` | image registry, e.g. gcr.io,docker.io | `code.forgejo.org` |
| `image.repository` | Image to start for this pod | `forgejo/forgejo` | | `image.repository` | Image to start for this pod | `forgejo/forgejo` |
| `image.tag` | Visit: [Image tag](https://codeberg.org/forgejo/-/packages/container/forgejo/versions). Defaults to `appVersion` within Chart.yaml. | `""` | | `image.tag` | Visit: [Image tag](https://code.forgejo.org/forgejo/-/packages/container/forgejo/versions). Defaults to `appVersion` within Chart.yaml. | `""` |
| `image.digest` | Image digest. Allows to pin the given image tag. Useful for having control over mutable tags like `latest` | `""` | | `image.digest` | Image digest. Allows to pin the given image tag. Useful for having control over mutable tags like `latest` | `""` |
| `image.pullPolicy` | Image pull policy | `IfNotPresent` | | `image.pullPolicy` | Image pull policy | `IfNotPresent` |
| `image.rootless` | Wether or not to pull the rootless version of Forgejo | `true` | | `image.rootless` | Wether or not to pull the rootless version of Forgejo | `true` |
@ -874,7 +904,7 @@ To comply with the Forgejo helm chart definition of the digest parameter, a "cus
| --------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- | | --------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- |
| `service.http.type` | Kubernetes service type for web traffic | `ClusterIP` | | `service.http.type` | Kubernetes service type for web traffic | `ClusterIP` |
| `service.http.port` | Port number for web traffic | `3000` | | `service.http.port` | Port number for web traffic | `3000` |
| `service.http.clusterIP` | ClusterIP setting for http autosetup for deployment is None | `None` | | `service.http.clusterIP` | ClusterIP setting for http autosetup for deployment | `nil` |
| `service.http.loadBalancerIP` | LoadBalancer IP setting | `nil` | | `service.http.loadBalancerIP` | LoadBalancer IP setting | `nil` |
| `service.http.nodePort` | NodePort for http service | `nil` | | `service.http.nodePort` | NodePort for http service | `nil` |
| `service.http.externalTrafficPolicy` | If `service.http.type` is `NodePort` or `LoadBalancer`, set this to `Local` to enable source IP preservation | `nil` | | `service.http.externalTrafficPolicy` | If `service.http.type` is `NodePort` or `LoadBalancer`, set this to `Local` to enable source IP preservation | `nil` |
@ -884,9 +914,10 @@ To comply with the Forgejo helm chart definition of the digest parameter, a "cus
| `service.http.loadBalancerSourceRanges` | Source range filter for http loadbalancer | `[]` | | `service.http.loadBalancerSourceRanges` | Source range filter for http loadbalancer | `[]` |
| `service.http.annotations` | HTTP service annotations | `{}` | | `service.http.annotations` | HTTP service annotations | `{}` |
| `service.http.labels` | HTTP service additional labels | `{}` | | `service.http.labels` | HTTP service additional labels | `{}` |
| `service.http.loadBalancerClass` | Loadbalancer class | `nil` |
| `service.ssh.type` | Kubernetes service type for ssh traffic | `ClusterIP` | | `service.ssh.type` | Kubernetes service type for ssh traffic | `ClusterIP` |
| `service.ssh.port` | Port number for ssh traffic | `22` | | `service.ssh.port` | Port number for ssh traffic | `22` |
| `service.ssh.clusterIP` | ClusterIP setting for ssh autosetup for deployment is None | `None` | | `service.ssh.clusterIP` | ClusterIP setting for ssh autosetup for deployment | `nil` |
| `service.ssh.loadBalancerIP` | LoadBalancer IP setting | `nil` | | `service.ssh.loadBalancerIP` | LoadBalancer IP setting | `nil` |
| `service.ssh.nodePort` | NodePort for ssh service | `nil` | | `service.ssh.nodePort` | NodePort for ssh service | `nil` |
| `service.ssh.externalTrafficPolicy` | If `service.ssh.type` is `NodePort` or `LoadBalancer`, set this to `Local` to enable source IP preservation | `nil` | | `service.ssh.externalTrafficPolicy` | If `service.ssh.type` is `NodePort` or `LoadBalancer`, set this to `Local` to enable source IP preservation | `nil` |
@ -897,11 +928,12 @@ To comply with the Forgejo helm chart definition of the digest parameter, a "cus
| `service.ssh.loadBalancerSourceRanges` | Source range filter for ssh loadbalancer | `[]` | | `service.ssh.loadBalancerSourceRanges` | Source range filter for ssh loadbalancer | `[]` |
| `service.ssh.annotations` | SSH service annotations | `{}` | | `service.ssh.annotations` | SSH service annotations | `{}` |
| `service.ssh.labels` | SSH service additional labels | `{}` | | `service.ssh.labels` | SSH service additional labels | `{}` |
| `service.ssh.loadBalancerClass` | Loadbalancer class | `nil` |
### Ingress ### Ingress
| Name | Description | Value | | Name | Description | Value |
| ------------------------------------ | --------------------------------------------------------------------------- | ----------------- | | ------------------------------------ | -------------------- | ----------------- |
| `ingress.enabled` | Enable ingress | `false` | | `ingress.enabled` | Enable ingress | `false` |
| `ingress.className` | Ingress class name | `nil` | | `ingress.className` | Ingress class name | `nil` |
| `ingress.annotations` | Ingress annotations | `{}` | | `ingress.annotations` | Ingress annotations | `{}` |
@ -909,7 +941,22 @@ To comply with the Forgejo helm chart definition of the digest parameter, a "cus
| `ingress.hosts[0].paths[0].path` | Default Ingress path | `/` | | `ingress.hosts[0].paths[0].path` | Default Ingress path | `/` |
| `ingress.hosts[0].paths[0].pathType` | Ingress path type | `Prefix` | | `ingress.hosts[0].paths[0].pathType` | Ingress path type | `Prefix` |
| `ingress.tls` | Ingress tls settings | `[]` | | `ingress.tls` | Ingress tls settings | `[]` |
| `ingress.apiVersion` | Specify APIVersion of ingress object. Mostly would only be used for argocd. | |
### Route
| Name | Description | Value |
| ----------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------- |
| `route.enabled` | Enable route | `false` |
| `route.annotations` | Route annotations | `{}` |
| `route.host` | Host to use for the route (will be assigned automatically by OKD / OpenShift is not defined) | `nil` |
| `route.wildcardPolicy` | Wildcard policy if any for the route, currently only 'Subdomain' or 'None' is allowed. | `nil` |
| `route.tls.termination` | termination type (see [OKD documentation](https://docs.okd.io/latest/rest_api/network_apis/route-route-openshift-io-v1.html#spec-tls)) | `edge` |
| `route.tls.insecureEdgeTerminationPolicy` | the desired behavior for insecure connections to a route (e.g. with http) | `Redirect` |
| `route.tls.existingSecret` | the name of a predefined secret of type kubernetes.io/tls with both key (tls.crt and tls.key) set accordingly (if defined attributes 'certificate', 'caCertificate' and 'privateKey' are ignored) | `nil` |
| `route.tls.certificate` | PEM encoded single certificate | `nil` |
| `route.tls.privateKey` | PEM encoded private key | `nil` |
| `route.tls.caCertificate` | PEM encoded CA certificate or chain that issued the certificate | `nil` |
| `route.tls.destinationCACertificate` | PEM encoded CA certificate used to verify the authenticity of final end point when 'termination' is set to 'passthrough' (ignored otherwise) | `nil` |
### deployment ### deployment
@ -974,28 +1021,84 @@ To comply with the Forgejo helm chart definition of the digest parameter, a "cus
| ------------------------ | ----------------------------------------------------------------- | ------------------ | | ------------------------ | ----------------------------------------------------------------- | ------------------ |
| `signing.enabled` | Enable commit/action signing | `false` | | `signing.enabled` | Enable commit/action signing | `false` |
| `signing.gpgHome` | GPG home directory | `/data/git/.gnupg` | | `signing.gpgHome` | GPG home directory | `/data/git/.gnupg` |
| `signing.privateKey` | Inline private gpg key for signed Forgejo actions | `""` | | `signing.privateKey` | Inline private GPG key for signed internal Git activity | `""` |
| `signing.existingSecret` | Use an existing secret to store the value of `signing.privateKey` | `""` | | `signing.existingSecret` | Use an existing secret to store the value of `signing.privateKey` | `""` |
### Gitea ### Gitea
| Name | Description | Value | | Name | Description | Value |
| -------------------------------------- | --------------------------------------------------------------------------- | -------------------- | | ---------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | -------------------- |
| `gitea.admin.username` | Username for the Forgejo admin user | `gitea_admin` | | `gitea.admin.username` | Username for the Forgejo admin user | `gitea_admin` |
| `gitea.admin.existingSecret` | Use an existing secret to store admin user credentials | `nil` | | `gitea.admin.existingSecret` | Use an existing secret to store admin user credentials | `nil` |
| `gitea.admin.password` | Password for the Forgejo admin user | `r8sA8CPHD9!bt6d` | | `gitea.admin.password` | Password for the Forgejo admin user | `r8sA8CPHD9!bt6d` |
| `gitea.admin.email` | Email for the Forgejo admin user | `gitea@local.domain` | | `gitea.admin.email` | Email for the Forgejo admin user | `gitea@local.domain` |
| `gitea.admin.passwordMode` | Mode for how to set/update the admin user password. Options are: initialOnlyNoReset, initialOnlyRequireReset, and keepUpdated | `keepUpdated` |
| `gitea.metrics.enabled` | Enable Forgejo metrics | `false` | | `gitea.metrics.enabled` | Enable Forgejo metrics | `false` |
| `gitea.metrics.serviceMonitor.enabled` | Enable Forgejo metrics service monitor | `false` | | `gitea.metrics.serviceMonitor.enabled` | Enable Forgejo metrics service monitor | `false` |
| `gitea.metrics.serviceMonitor.namespace` | Namespace in which Prometheus is running | `""` |
| `gitea.ldap` | LDAP configuration | `[]` | | `gitea.ldap` | LDAP configuration | `[]` |
| `gitea.oauth` | OAuth configuration | `[]` | | `gitea.oauth` | OAuth configuration | `[]` |
| `gitea.config.server.SSH_PORT` | SSH port for rootlful Forgejo image | `22` |
| `gitea.config.server.SSH_LISTEN_PORT` | SSH port for rootless Forgejo image | `2222` |
| `gitea.additionalConfigSources` | Additional configuration from secret or configmap | `[]` | | `gitea.additionalConfigSources` | Additional configuration from secret or configmap | `[]` |
| `gitea.additionalConfigFromEnvs` | Additional configuration sources from environment variables | `[]` | | `gitea.additionalConfigFromEnvs` | Additional configuration sources from environment variables | `[]` |
| `gitea.podAnnotations` | Annotations for the Forgejo pod | `{}` | | `gitea.podAnnotations` | Annotations for the Forgejo pod | `{}` |
| `gitea.ssh.logLevel` | Configure OpenSSH's log level. Only available for root-based Forgejo image. | `INFO` | | `gitea.ssh.logLevel` | Configure OpenSSH's log level. Only available for root-based Forgejo image. | `INFO` |
### `app.ini` overrides
Every value described in the [Cheat
Sheet](https://forgejo.org/docs/latest/admin/config-cheat-sheet/) can be
set as a Helm value. Configuration sections map to (lowercased) YAML
blocks, while the keys themselves remain in all caps.
| Name | Description | Value |
| ------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------- |
| `gitea.config.APP_NAME` | Application name, used in the page title | `Forgejo: Beyond coding. We forge.` |
| `gitea.config.RUN_MODE` | Application run mode, affects performance and debugging: `dev` or `prod` | `prod` |
| `gitea.config.repository` | General repository settings | `{}` |
| `gitea.config.cors` | Cross-origin resource sharing settings | `{}` |
| `gitea.config.ui` | User interface settings | `{}` |
| `gitea.config.markdown` | Markdown parser settings | `{}` |
| `gitea.config.server` | General server settings | `{}` |
| `gitea.config.database` | Database configuration (only necessary with an [externally managed DB](https://code.forgejo.org/forgejo-helm/forgejo-helm#external-database)). | `{}` |
| `gitea.config.indexer` | Settings for what content is indexed and how | `{}` |
| `gitea.config.queue` | Job queue configuration | `{}` |
| `gitea.config.admin` | Admin user settings | `{}` |
| `gitea.config.security` | Site security settings | `{}` |
| `gitea.config.camo` | Settings for the [camo](https://github.com/cactus/go-camo) media proxy server (disabled by default) | `{}` |
| `gitea.config.openid` | Configuration for authentication with OpenID (disabled by default) | `{}` |
| `gitea.config.oauth2_client` | OAuth2 client settings | `{}` |
| `gitea.config.service` | Configuration for miscellaneous Forgejo services | `{}` |
| `gitea.config.ssh.minimum_key_sizes` | SSH minimum key sizes | `{}` |
| `gitea.config.webhook` | Webhook settings | `{}` |
| `gitea.config.mailer` | Mailer configuration (disabled by default) | `{}` |
| `gitea.config.email.incoming` | Configuration for handling incoming mail (disabled by default) | `{}` |
| `gitea.config.cache` | Cache configuration | `{}` |
| `gitea.config.session` | Session/cookie handling | `{}` |
| `gitea.config.picture` | User avatar settings | `{}` |
| `gitea.config.project` | Project board defaults | `{}` |
| `gitea.config.attachment` | Issue and PR attachment configuration | `{}` |
| `gitea.config.log` | Logging configuration | `{}` |
| `gitea.config.cron` | Cron job configuration | `{}` |
| `gitea.config.git` | Global settings for Git | `{}` |
| `gitea.config.metrics` | Settings for the Prometheus endpoint (disabled by default) | `{}` |
| `gitea.config.api` | Settings for the Swagger API documentation endpoints | `{}` |
| `gitea.config.oauth2` | Settings for the [OAuth2 provider](https://forgejo.org/docs/latest/admin/oauth2-provider/) | `{}` |
| `gitea.config.i18n` | Internationalization settings | `{}` |
| `gitea.config.markup` | Configuration for advanced markup processors | `{}` |
| `gitea.config.highlight.mapping` | File extension to language mapping overrides for syntax highlighting | `{}` |
| `gitea.config.time` | Locale settings | `{}` |
| `gitea.config.migrations` | Settings for Git repository migrations | `{}` |
| `gitea.config.federation` | Federation configuration | `{}` |
| `gitea.config.packages` | Package registry settings | `{}` |
| `gitea.config.mirror` | Configuration for repository mirroring | `{}` |
| `gitea.config.lfs` | Large File Storage configuration | `{}` |
| `gitea.config.repo-avatar` | Repository avatar storage configuration | `{}` |
| `gitea.config.avatar` | User/org avatar storage configuration | `{}` |
| `gitea.config.storage` | General storage settings | `{}` |
| `gitea.config.proxy` | Proxy configuration (disabled by default) | `{}` |
| `gitea.config.actions` | Configuration for [Forgejo Actions](https://forgejo.org/docs/latest/user/actions/) | `{}` |
| `gitea.config.other` | Uncategorized configuration options | `{}` |
### LivenessProbe ### LivenessProbe
| Name | Description | Value | | Name | Description | Value |
@ -1011,9 +1114,10 @@ To comply with the Forgejo helm chart definition of the digest parameter, a "cus
### ReadinessProbe ### ReadinessProbe
| Name | Description | Value | | Name | Description | Value |
| ------------------------------------------ | ------------------------------------------------- | ------ | | ------------------------------------------ | ------------------------------------------------- | -------------- |
| `gitea.readinessProbe.enabled` | Enable readiness probe | `true` | | `gitea.readinessProbe.enabled` | Enable readiness probe | `true` |
| `gitea.readinessProbe.tcpSocket.port` | Port to probe for readiness | `http` | | `gitea.readinessProbe.httpGet.path` | Path to probe for readiness | `/api/healthz` |
| `gitea.readinessProbe.httpGet.port` | Port to probe for readiness | `http` |
| `gitea.readinessProbe.initialDelaySeconds` | Initial delay before readiness probe is initiated | `5` | | `gitea.readinessProbe.initialDelaySeconds` | Initial delay before readiness probe is initiated | `5` |
| `gitea.readinessProbe.timeoutSeconds` | Timeout for readiness probe | `1` | | `gitea.readinessProbe.timeoutSeconds` | Timeout for readiness probe | `1` |
| `gitea.readinessProbe.periodSeconds` | Period for readiness probe | `10` | | `gitea.readinessProbe.periodSeconds` | Period for readiness probe | `10` |
@ -1035,19 +1139,33 @@ To comply with the Forgejo helm chart definition of the digest parameter, a "cus
### Redis&reg; Cluster ### Redis&reg; Cluster
Redis&reg; Cluster is loaded as a dependency from [Bitnami](https://github.com/bitnami/charts/tree/master/bitnami/redis-cluster) if enabled in the values. Redis&reg; Cluster is loaded as a dependency from [Bitnami](https://github.com/bitnami/charts/tree/master/bitnami/redis-cluster) if enabled in the values.
Complete Configuration can be taken from their website. Full configuration options are available on their website.
Redis cluster and [Redis](#redis) cannot be enabled at the same time.
| Name | Description | Value | | Name | Description | Value |
| -------------------------------- | -------------------------------------------- | ------- | | -------------------------------- | -------------------------------------------- | ------- |
| `redis-cluster.enabled` | Enable redis | `true` | | `redis-cluster.enabled` | Enable redis cluster | `true` |
| `redis-cluster.usePassword` | Whether to use password authentication | `false` | | `redis-cluster.usePassword` | Whether to use password authentication | `false` |
| `redis-cluster.cluster.nodes` | Number of redis cluster master nodes | `3` | | `redis-cluster.cluster.nodes` | Number of redis cluster master nodes | `3` |
| `redis-cluster.cluster.replicas` | Number of redis cluster master node replicas | `0` | | `redis-cluster.cluster.replicas` | Number of redis cluster master node replicas | `0` |
### Redis&reg;
Redis&reg; is loaded as a dependency from [Bitnami](https://github.com/bitnami/charts/tree/master/bitnami/redis) if enabled in the values.
Full configuration options are available on their website.
Redis and [Redis cluster](#redis-cluster) cannot be enabled at the same time.
| Name | Description | Value |
| ----------------------------- | ------------------------------------------ | ------------ |
| `redis.enabled` | Enable redis standalone or replicated | `false` |
| `redis.architecture` | Whether to use standalone or replication | `standalone` |
| `redis.global.redis.password` | Required password | `changeme` |
| `redis.master.count` | Number of Redis master instances to deploy | `1` |
### PostgreSQL HA ### PostgreSQL HA
PostgreSQL HA is loaded as a dependency from [Bitnami](https://github.com/bitnami/charts/tree/master/bitnami/postgresql-ha) if enabled in the values. PostgreSQL HA is loaded as a dependency from [Bitnami](https://github.com/bitnami/charts/tree/master/bitnami/postgresql-ha) if enabled in the values.
Complete Configuration can be taken from their website. Full configuration options are available on their website.
| Name | Description | Value | | Name | Description | Value |
| ------------------------------------------- | ---------------------------------------------------------------- | ----------- | | ------------------------------------------- | ---------------------------------------------------------------- | ----------- |
@ -1060,12 +1178,12 @@ Complete Configuration can be taken from their website.
| `postgresql-ha.postgresql.postgresPassword` | postgres Password | `changeme1` | | `postgresql-ha.postgresql.postgresPassword` | postgres Password | `changeme1` |
| `postgresql-ha.pgpool.adminPassword` | pgpool adminPassword | `changeme3` | | `postgresql-ha.pgpool.adminPassword` | pgpool adminPassword | `changeme3` |
| `postgresql-ha.service.ports.postgresql` | PostgreSQL service port (overrides `service.ports.postgresql`) | `5432` | | `postgresql-ha.service.ports.postgresql` | PostgreSQL service port (overrides `service.ports.postgresql`) | `5432` |
| `postgresql-ha.primary.persistence.size` | PVC Storage Request for PostgreSQL-ha volume | `10Gi` | | `postgresql-ha.primary.persistence.size` | PVC Storage Request for PostgreSQL HA volume | `10Gi` |
### PostgreSQL ### PostgreSQL
PostgreSQL is loaded as a dependency from [Bitnami](https://github.com/bitnami/charts/tree/master/bitnami/postgresql) if enabled in the values. PostgreSQL is loaded as a dependency from [Bitnami](https://github.com/bitnami/charts/tree/master/bitnami/postgresql) if enabled in the values.
Complete Configuration can be taken from their website. Full configuration options are available on their website.
| Name | Description | Value | | Name | Description | Value |
| ------------------------------------------------------- | ---------------------------------------------------------------- | ------- | | ------------------------------------------------------- | ---------------------------------------------------------------- | ------- |
@ -1080,11 +1198,11 @@ Complete Configuration can be taken from their website.
| Name | Description | Value | | Name | Description | Value |
| ------------------ | ------------------------------------------------------------------ | --------- | | ------------------ | ------------------------------------------------------------------ | --------- |
| `checkDeprecation` | Set it to false to skip this basic validation check. | `true` | | `checkDeprecation` | Whether to run this basic validation check. | `true` |
| `test.enabled` | Set it to false to disable test-connection Pod. | `true` | | `test.enabled` | Whether to use test-connection Pod. | `true` |
| `test.image.name` | Image name for the wget container used in the test-connection Pod. | `busybox` | | `test.image.name` | Image name for the wget container used in the test-connection Pod. | `busybox` |
| `test.image.tag` | Image tag for the wget container used in the test-connection Pod. | `latest` | | `test.image.tag` | Image tag for the wget container used in the test-connection Pod. | `latest` |
| `extraDeploy` | Array of extra objects to deploy with the release | `[]` | | `extraDeploy` | Array of extra objects to deploy with the release. | `[]` |
## Contributing ## Contributing
@ -1092,8 +1210,46 @@ Expected workflow is: Fork -> Patch -> Push -> Pull Request
See [CONTRIBUTORS GUIDE](CONTRIBUTING.md) for details. See [CONTRIBUTORS GUIDE](CONTRIBUTING.md) for details.
Hop into [our Matrix room](https://matrix.to/#/#forgejo-helm-chart:matrix.org) if you have any questions or want to get involved.
## Upgrading ## Upgrading
This section lists major and breaking changes of each Helm Chart version. This section lists major and breaking changes of each Helm Chart version.
Please read them carefully to upgrade successfully, especially the change of the **default database backend**! Please read them carefully to upgrade successfully, especially the change of the **default database backend**!
If you miss this, blindly upgrading may delete your Postgres instance and you may lose your data! If you miss this, blindly upgrading may delete your Postgres instance and you may lose your data!
### To v11
PostgreSQL and PostgreSQL HA are now using PostgreSQL v17.
Please read PostgresSQL upgrade guide before upgrading.
You need Forgejo v10+ to use this Helm Chart version.
Forgejo v9 is now EOL.
ClusterIP is now emtpy instead of `None` for http and ssh service.
Unsupported api versions for `Ingress` and `PodDisruptionBudget` are removed.
`Ingress` and `Service` are now using named ports.
The ReadinessProbe is now using the `/api/healthz` endpoint.
### To v10
You need Forgejo v9+ to use this Helm Chart version.
Forgejo v8 is now EOL.
### To v9
Namespaces for all resources are now set to `common.names.namespace` by default.
### To v8
You need Forgejo v8+ to use this Helm Chart version.
Use the v7 Helm Chart for Forgejo v7.
### To v7
The Forgejo docker image is pulled from `code.forgejo.org` instead of `codeberg.org`.
### To v6
You need Forgejo v7+ to use this Helm Chart version.
Use the v5 Helm Chart for Forgejo v1.21.

View file

@ -2,7 +2,7 @@
# Artifact Hub repository metadata file # Artifact Hub repository metadata file
# https://artifacthub.io/docs/topics/repositories/helm-charts/#oci-support # https://artifacthub.io/docs/topics/repositories/helm-charts/#oci-support
# publish via: # publish via:
# oras push codeberg.org/forgejo-contrib/forgejo:artifacthub.io --config artifacthub.config.json:application/vnd.cncf.artifacthub.config.v1+yaml artifacthub-repo.yml:application/vnd.cncf.artifacthub.repository-metadata.layer.v1.yaml # oras push code.forgejo.org/forgejo-helm/forgejo:artifacthub.io --config artifacthub.config.json:application/vnd.cncf.artifacthub.config.v1+yaml artifacthub-repo.yml:application/vnd.cncf.artifacthub.repository-metadata.layer.v1.yaml
repositoryID: 'ec84c95a-a288-4aaa-a690-a656b57e3136' repositoryID: 'ec84c95a-a288-4aaa-a690-a656b57e3136'
owners: # (optional, used to claim repository ownership) owners: # (optional, used to claim repository ownership)
- name: viceice - name: viceice

20
ci/default-values.yaml Normal file
View file

@ -0,0 +1,20 @@
# default values with some modifications
# Use mirror
# https://code.forgejo.org/forgejo-helm/forgejo-helm/issues/1045
global:
security:
allowInsecureImages: true
redis-cluster:
image:
registry: public.ecr.aws
postgresql-ha:
postgresql:
image:
registry: public.ecr.aws
pgpool:
image:
registry: public.ecr.aws
test:
image:
name: code.forgejo.org/oci/busybox

View file

@ -1 +0,0 @@
# default values

View file

@ -1,7 +1,14 @@
# Test codeberg.org image
image:
registry: codeberg.org
# Use mirror
# https://code.forgejo.org/forgejo-helm/forgejo-helm/issues/1045
test:
image:
name: code.forgejo.org/oci/busybox
redis-cluster: redis-cluster:
enabled: false enabled: false
postgresql:
enabled: false
postgresql-ha: postgresql-ha:
enabled: false enabled: false

View file

@ -1,10 +1,24 @@
redis-cluster: redis-cluster:
enabled: false enabled: false
postgresql:
enabled: true
postgresql-ha: postgresql-ha:
enabled: false enabled: false
postgresql:
enabled: true
# Use mirror
# https://code.forgejo.org/forgejo-helm/forgejo-helm/issues/1045
image:
registry: public.ecr.aws
global:
security:
allowInsecureImages: true
# Use mirror
# https://code.forgejo.org/forgejo-helm/forgejo-helm/issues/1045
test:
image:
name: code.forgejo.org/oci/busybox
persistence: persistence:
enabled: true enabled: true

29
ci/v10-values.yaml Normal file
View file

@ -0,0 +1,29 @@
image:
registry: codeberg.org
repository: forgejo-experimental/forgejo
tag: 10 # don't pin, manifests can be missing
# Use mirror
# https://code.forgejo.org/forgejo-helm/forgejo-helm/issues/1045
test:
image:
name: code.forgejo.org/oci/busybox
redis-cluster:
enabled: false
postgresql-ha:
enabled: false
persistence:
enabled: false
gitea:
config:
database:
DB_TYPE: sqlite3
session:
PROVIDER: memory
cache:
ADAPTER: memory
queue:
TYPE: level

29
ci/v11-values.yaml Normal file
View file

@ -0,0 +1,29 @@
image:
registry: codeberg.org
repository: forgejo-experimental/forgejo
tag: 11 # don't pin, manifests can be missing
# Use mirror
# https://code.forgejo.org/forgejo-helm/forgejo-helm/issues/1045
test:
image:
name: code.forgejo.org/oci/busybox
redis-cluster:
enabled: false
postgresql-ha:
enabled: false
persistence:
enabled: false
gitea:
config:
database:
DB_TYPE: sqlite3
session:
PROVIDER: memory
cache:
ADAPTER: memory
queue:
TYPE: level

29
ci/v12-values.yaml Normal file
View file

@ -0,0 +1,29 @@
image:
registry: codeberg.org
repository: forgejo-experimental/forgejo
tag: 12 # don't pin, manifests can be missing
# Use mirror
# https://code.forgejo.org/forgejo-helm/forgejo-helm/issues/1045
test:
image:
name: code.forgejo.org/oci/busybox
redis-cluster:
enabled: false
postgresql-ha:
enabled: false
persistence:
enabled: false
gitea:
config:
database:
DB_TYPE: sqlite3
session:
PROVIDER: memory
cache:
ADAPTER: memory
queue:
TYPE: level

View file

@ -1,6 +1,6 @@
{ {
"name": "forgejo-helm-chart", "name": "forgejo-helm-chart",
"homepage": "https://codeberg.org/forgejo-contrib/forgejo-helm.git", "homepage": "https://code.forgejo.org/forgejo-helm/forgejo-helm",
"license": "MIT", "license": "MIT",
"private": true, "private": true,
"scripts": { "scripts": {
@ -10,21 +10,22 @@
"prettier": "prettier --check --ignore-unknown --cache '**/*.*'", "prettier": "prettier --check --ignore-unknown --cache '**/*.*'",
"prettier-fix": "prettier --write --ignore-unknown --cache '**/*.*'", "prettier-fix": "prettier --write --ignore-unknown --cache '**/*.*'",
"readme:lint": "markdownlint *.md -f", "readme:lint": "markdownlint *.md -f",
"readme:parameters": "readme-generator -v values.yaml -r README.md" "readme:parameters": "readme-generator -v values.yaml -r README.md",
"test": "helm unittest --strict -f 'unittests/**/*.yaml' ./"
}, },
"devDependencies": { "devDependencies": {
"@bitnami/readme-generator-for-helm": "^2.4.2", "@bitnami/readme-generator-for-helm": "2.7.0",
"clipanion": "^3.2.1", "clipanion": "3.2.1",
"conventional-changelog-conventionalcommits": "^7.0.0", "conventional-changelog-conventionalcommits": "8.0.0",
"conventional-changelog-core": "^7.0.0", "conventional-changelog-core": "9.0.0",
"husky": "^9.0.0", "husky": "9.1.7",
"lint-staged": "^15.2.0", "lint-staged": "15.5.0",
"markdownlint-cli": "^0.39.0", "markdownlint-cli": "0.44.0",
"prettier": "^3.1.0" "prettier": "3.5.3"
}, },
"packageManager": "pnpm@8.15.6", "packageManager": "pnpm@10.7.0",
"engines": { "engines": {
"node": "^18.12.0 || >=20.9.0", "node": "^22.0.0",
"pnpm": "^8.0.0" "pnpm": "^10.0.0"
} }
} }

File diff suppressed because it is too large Load diff

View file

@ -1,9 +1,24 @@
{ {
"$schema": "https://docs.renovatebot.com/renovate-schema.json", "$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["forgejo-contrib/forgejo-renovate//base.json"], "extends": [
"forgejo-contrib/forgejo-renovate//base.json",
"forgejo-helm/forgejo-helm//.forgejo/renovate/k3s.json"
],
"assignees": ["viceice"], "assignees": ["viceice"],
"enabledManagers": ["helmv3", "nodenv", "npm", "regex", "github-actions"], "baseBranches": ["main", "/^maint\\/.+/"],
"packageRules": [ "packageRules": [
{
"description": "Separate multiple major sub chart updates",
"matchFileNames": ["Chart.yaml"],
"separateMultipleMajor": true
},
{
"description": "Require approval for major sub chart updates for maintenance branches",
"matchBaseBranches": ["/^maint\\/.+/"],
"matchUpdateTypes": ["major"],
"matchFileNames": ["Chart.yaml"],
"dependencyDashboardApproval": true
},
{ {
"matchManagers": ["helmv3"], "matchManagers": ["helmv3"],
"matchUpdateTypes": ["minor", "patch"], "matchUpdateTypes": ["minor", "patch"],
@ -15,23 +30,25 @@
"semanticCommitType": "feat" "semanticCommitType": "feat"
}, },
{ {
"matchManagers": ["regex"], "matchManagers": ["custom.regex"],
"matchDepNames": ["forgejo"], "matchDepNames": ["forgejo"],
"matchUpdateTypes": ["patch"], "matchUpdateTypes": ["patch"],
"semanticCommitType": "fix" "semanticCommitType": "fix"
}, },
{ {
"matchManagers": ["regex"], "matchManagers": ["custom.regex"],
"matchDepNames": ["forgejo"], "matchDepNames": ["forgejo"],
"matchUpdateTypes": ["major", "minor"], "matchUpdateTypes": ["major", "minor"],
"semanticCommitType": "feat" "semanticCommitType": "feat"
}, },
{ {
"description": "Automerge patch deps updates", "description": "Automerge and group helm subchart updates weekly (minor & patch)",
"matchManagers": ["helmv3"], "matchManagers": ["helmv3"],
"matchFiles": ["Chart.yaml"], "matchFileNames": ["Chart.yaml"],
"matchUpdateTypes": ["patch"], "matchUpdateTypes": ["minor", "patch"],
"automerge": true "automerge": true,
"groupName": "subcharts",
"extends": ["schedule:weekly"]
}, },
{ {
"description": "Automerge dev deps updates", "description": "Automerge dev deps updates",
@ -53,16 +70,34 @@
"automerge": true "automerge": true
}, },
{ {
"description": "Separate minor and patch updates for kindest", "description": "Automerge digest updates",
"matchPackageNames": ["kindest/node"], "matchUpdateTypes": ["digest"],
"separateMinorPatch": true "automerge": true
}, },
{ {
"description": "Require approval and no automerge for kindest major and minor updates", "description": "Use test scope for forgejo ci tests",
"matchPackageNames": ["kindest/node"], "matchFileNames": ["ci/*.yaml"],
"matchUpdateTypes": ["major", "minor"], "additionalBranchPrefix": "ci-forgejo-",
"dependencyDashboardApproval": true, "semanticCommitType": "ci",
"automerge": false "semanticCommitScope": "forgejo",
"groupName": "experimental docker digests",
"extends": ["schedule:daily"]
},
{
"description": "Disable updates for forgejo ci tests",
"matchFileNames": ["ci/*.yaml"],
"matchUpdateTypes": ["major", "minor", "patch"],
"enabled": false
},
{
"description": "Don't pin digests for forgejo ci tests, not supported",
"matchFileNames": ["ci/*.yaml"],
"pinDigests": false
},
{
"description": "branch automerge not possible",
"automergeType": "pr",
"matchPackageNames": ["/.+/"]
} }
], ],
"customManagers": [ "customManagers": [
@ -72,7 +107,7 @@
"fileMatch": ["^Chart\\.yaml$"], "fileMatch": ["^Chart\\.yaml$"],
"matchStrings": ["appVersion: (?<currentValue>.+?)\\s"], "matchStrings": ["appVersion: (?<currentValue>.+?)\\s"],
"depNameTemplate": "forgejo", "depNameTemplate": "forgejo",
"packageNameTemplate": "codeberg.org/forgejo/forgejo", "packageNameTemplate": "code.forgejo.org/forgejo/forgejo",
"datasourceTemplate": "docker" "datasourceTemplate": "docker"
}, },
{ {
@ -88,13 +123,15 @@
}, },
{ {
"customType": "regex", "customType": "regex",
"description": "Update kindest kubernetes references", "description": "Update k3s kubernetes references",
"fileMatch": ["^\\.forgejo/workflows/[^/]+\\.ya?ml$"], "fileMatch": ["^\\.forgejo/workflows/[^/]+\\.ya?ml$"],
"matchStrings": [ "matchStrings": [" +- (?<currentValue>.+?) # renovate: k3s\\n"],
" +- (?<currentValue>v\\d+\\.\\d+\\.\\d+) # renovate: kindest\\n" "depNameTemplate": "k3s",
], "packageNameTemplate": "k3s-io/k3s",
"depNameTemplate": "kindest/node", "datasourceTemplate": "github-releases"
"datasourceTemplate": "docker" }
],
"helm-values": {
"fileMatch": ["^ci/.+\\.yaml$"]
} }
]
} }

View file

@ -3,26 +3,6 @@
Expand the name of the chart. Expand the name of the chart.
*/}} */}}
{{- /* multiple replicas assertions */ -}}
{{- if gt .Values.replicaCount 1.0 -}}
{{- fail "When using multiple replicas, a RWX file system is required" -}}
{{- if eq (get (.Values.persistence.accessModes 0) "ReadWriteOnce") -}}
{{- fail "When using multiple replicas, a RWX file system is required" -}}
{{- end }}
{{- if eq (get .Values.gitea.config.indexer "ISSUE_INDEXER_TYPE") "bleve" -}}
{{- fail "When using multiple replicas, the repo indexer must be set to 'meilisearch' or 'elasticsearch'" -}}
{{- end }}
{{- if and (eq .Values.gitea.config.indexer.REPO_INDEXER_TYPE "bleve") (eq .Values.gitea.config.indexer.REPO_INDEXER_ENABLED "true") -}}
{{- fail "When using multiple replicas, the repo indexer must be set to 'meilisearch' or 'elasticsearch'" -}}
{{- end }}
{{- if eq .Values.gitea.config.indexer.ISSUE_INDEXER_TYPE "bleve" -}}
{{- (printf "DEBUG: When using multiple replicas, the repo indexer must be set to 'meilisearch' or 'elasticsearch'") | fail -}}
{{- end }}
{{- end }}
{{- define "gitea.name" -}} {{- define "gitea.name" -}}
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}} {{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}}
{{- end -}} {{- end -}}
@ -52,6 +32,14 @@ Create chart name and version as used by the chart label.
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}} {{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}}
{{- end -}} {{- end -}}
{{/*
Get version from .Values.image.tag or Chart.AppVersion.
Trim optional docker digest.
*/}}
{{- define "gitea.version" -}}
{{- regexReplaceAll "@.+" (.Values.image.tag | default .Chart.AppVersion | toString) "" -}}
{{- end -}}
{{/* {{/*
Create image name and tag used by the deployment. Create image name and tag used by the deployment.
*/}} */}}
@ -60,7 +48,7 @@ Create image name and tag used by the deployment.
{{- $registry := .Values.global.imageRegistry | default .Values.image.registry -}} {{- $registry := .Values.global.imageRegistry | default .Values.image.registry -}}
{{- $repository := .Values.image.repository -}} {{- $repository := .Values.image.repository -}}
{{- $separator := ":" -}} {{- $separator := ":" -}}
{{- $tag := .Values.image.tag | default .Chart.AppVersion -}} {{- $tag := .Values.image.tag | default .Chart.AppVersion | toString -}}
{{- $rootless := ternary "-rootless" "" (.Values.image.rootless) -}} {{- $rootless := ternary "-rootless" "" (.Values.image.rootless) -}}
{{- $digest := "" -}} {{- $digest := "" -}}
{{- if .Values.image.digest }} {{- if .Values.image.digest }}
@ -94,7 +82,7 @@ imagePullSecrets:
Storage Class Storage Class
*/}} */}}
{{- define "gitea.persistence.storageClass" -}} {{- define "gitea.persistence.storageClass" -}}
{{- $storageClass := .Values.persistence.storageClass | default .Values.global.storageClass }} {{- $storageClass := (tpl ( default "" .Values.persistence.storageClass) .) | default (tpl ( default "" .Values.global.storageClass) .) }}
{{- if $storageClass }} {{- if $storageClass }}
storageClassName: {{ $storageClass | quote }} storageClassName: {{ $storageClass | quote }}
{{- end }} {{- end }}
@ -107,8 +95,8 @@ Common labels
helm.sh/chart: {{ include "gitea.chart" . }} helm.sh/chart: {{ include "gitea.chart" . }}
app: {{ include "gitea.name" . }} app: {{ include "gitea.name" . }}
{{ include "gitea.selectorLabels" . }} {{ include "gitea.selectorLabels" . }}
app.kubernetes.io/version: {{ .Values.image.tag | default .Chart.AppVersion | quote }} app.kubernetes.io/version: {{ include "gitea.version" . | quote }}
version: {{ .Values.image.tag | default .Chart.AppVersion | quote }} version: {{ include "gitea.version" . | quote }}
app.kubernetes.io/managed-by: {{ .Release.Service }} app.kubernetes.io/managed-by: {{ .Release.Service }}
{{- end -}} {{- end -}}
@ -133,20 +121,28 @@ app.kubernetes.io/instance: {{ .Release.Name }}
{{- end -}} {{- end -}}
{{- define "redis.dns" -}} {{- define "redis.dns" -}}
{{- if (index .Values "redis-cluster").enabled -}} {{- if and ((index .Values "redis-cluster").enabled) ((index .Values "redis").enabled) -}}
{{- fail "redis and redis-cluster cannot be enabled at the same time. Please only choose one." -}}
{{- else if (index .Values "redis-cluster").enabled -}}
{{- printf "redis+cluster://:%s@%s-redis-cluster-headless.%s.svc.%s:%g/0?pool_size=100&idle_timeout=180s&" (index .Values "redis-cluster").global.redis.password .Release.Name .Release.Namespace .Values.clusterDomain (index .Values "redis-cluster").service.ports.redis -}} {{- printf "redis+cluster://:%s@%s-redis-cluster-headless.%s.svc.%s:%g/0?pool_size=100&idle_timeout=180s&" (index .Values "redis-cluster").global.redis.password .Release.Name .Release.Namespace .Values.clusterDomain (index .Values "redis-cluster").service.ports.redis -}}
{{- else if (index .Values "redis").enabled -}}
{{- printf "redis://:%s@%s-redis-headless.%s.svc.%s:%g/0?pool_size=100&idle_timeout=180s&" (index .Values "redis").global.redis.password .Release.Name .Release.Namespace .Values.clusterDomain (index .Values "redis").master.service.ports.redis -}}
{{- end -}} {{- end -}}
{{- end -}} {{- end -}}
{{- define "redis.port" -}} {{- define "redis.port" -}}
{{- if (index .Values "redis-cluster").enabled -}} {{- if (index .Values "redis-cluster").enabled -}}
{{ (index .Values "redis-cluster").service.ports.redis }} {{ (index .Values "redis-cluster").service.ports.redis }}
{{- else if (index .Values "redis").enabled -}}
{{ (index .Values "redis").master.service.ports.redis }}
{{- end -}} {{- end -}}
{{- end -}} {{- end -}}
{{- define "redis.servicename" -}} {{- define "redis.servicename" -}}
{{- if (index .Values "redis-cluster").enabled -}} {{- if (index .Values "redis-cluster").enabled -}}
{{- printf "%s-redis-cluster-headless.%s.svc.%s" .Release.Name .Release.Namespace .Values.clusterDomain -}} {{- printf "%s-redis-cluster-headless.%s.svc.%s" .Release.Name .Release.Namespace .Values.clusterDomain -}}
{{- else if (index .Values "redis").enabled -}}
{{- printf "%s-redis-headless.%s.svc.%s" .Release.Name .Release.Namespace .Values.clusterDomain -}}
{{- end -}} {{- end -}}
{{- end -}} {{- end -}}
@ -228,7 +224,7 @@ https
{{- $_ := set $inlines $key (join "\n" $section) -}} {{- $_ := set $inlines $key (join "\n" $section) -}}
{{- end -}} {{- end -}}
{{- else }} {{- else }}
{{- if or (eq $key "APP_NAME") (eq $key "RUN_USER") (eq $key "RUN_MODE") -}} {{- if or (eq $key "APP_NAME") (eq $key "RUN_USER") (eq $key "RUN_MODE") (eq $key "APP_SLOGAN") (eq $key "APP_DISPLAY_NAME_FORMAT") -}}
{{- $generals = append $generals (printf "%s=%s" $key $value) -}} {{- $generals = append $generals (printf "%s=%s" $key $value) -}}
{{- else -}} {{- else -}}
{{- (printf "Key %s cannot be on top level of configuration" $key) | fail -}} {{- (printf "Key %s cannot be on top level of configuration" $key) | fail -}}
@ -291,7 +287,7 @@ https
{{- $_ := set .Values.gitea.config.metrics "ENABLED" .Values.gitea.metrics.enabled -}} {{- $_ := set .Values.gitea.config.metrics "ENABLED" .Values.gitea.metrics.enabled -}}
{{- end -}} {{- end -}}
{{- /* redis queue */ -}} {{- /* redis queue */ -}}
{{- if (index .Values "redis-cluster").enabled -}} {{- if or ((index .Values "redis-cluster").enabled) ((index .Values "redis").enabled) -}}
{{- $_ := set .Values.gitea.config.queue "TYPE" "redis" -}} {{- $_ := set .Values.gitea.config.queue "TYPE" "redis" -}}
{{- $_ := set .Values.gitea.config.queue "CONN_STR" (include "redis.dns" .) -}} {{- $_ := set .Values.gitea.config.queue "CONN_STR" (include "redis.dns" .) -}}
{{- $_ := set .Values.gitea.config.session "PROVIDER" "redis" -}} {{- $_ := set .Values.gitea.config.session "PROVIDER" "redis" -}}
@ -412,3 +408,11 @@ https
{{- define "gitea.serviceAccountName" -}} {{- define "gitea.serviceAccountName" -}}
{{ .Values.serviceAccount.name | default (include "gitea.fullname" .) }} {{ .Values.serviceAccount.name | default (include "gitea.fullname" .) }}
{{- end -}} {{- end -}}
{{- define "gitea.admin.passwordMode" -}}
{{- if has .Values.gitea.admin.passwordMode (tuple "keepUpdated" "initialOnlyNoReset" "initialOnlyRequireReset") -}}
{{ .Values.gitea.admin.passwordMode }}
{{- else -}}
{{ printf "gitea.admin.passwordMode must be set to one of 'keepUpdated', 'initialOnlyNoReset', or 'initialOnlyRequireReset'. Received: '%s'" .Values.gitea.admin.passwordMode | fail }}
{{- end -}}
{{- end -}}

View file

@ -2,6 +2,7 @@ apiVersion: v1
kind: Secret kind: Secret
metadata: metadata:
name: {{ include "gitea.fullname" . }}-inline-config name: {{ include "gitea.fullname" . }}-inline-config
namespace: {{ include "common.names.namespace" . | quote }}
labels: labels:
{{- include "gitea.labels" . | nindent 4 }} {{- include "gitea.labels" . | nindent 4 }}
type: Opaque type: Opaque
@ -18,35 +19,40 @@ type: Opaque
stringData: stringData:
assertions: | assertions: |
{{- /*assert that only one PG dep is enabled */ -}} {{- /*assert that only one PG dep is enabled */ -}}
{{- if and (.Values.postgresql.enabled) (index .Values "postgresql-ha" "enabled") -}} {{- if and (.Values.postgresql.enabled) (index .Values "postgresql-ha" "enabled") -}}
{{- fail "Only one of postgresql or postgresql-ha can be enabled at the same time." -}} {{- fail "Only one of postgresql or postgresql-ha can be enabled at the same time." -}}
{{- end }} {{- end }}
{{- /* multiple replicas assertions */ -}} {{- /* multiple replicas assertions */ -}}
{{- if gt .Values.replicaCount 1.0 -}} {{- if gt .Values.replicaCount 1.0 -}}
{{- if (get (get .Values.gitea.config "cron.GIT_GC_REPOS") "ENABLED") -}} {{- if .Values.gitea.config.cron -}}
{{- fail "Invoking the garbage collector via CRON is not yet supported when running with multiple replicas. Please set 'cron.GIT_GC_REPOS.enabled = false'." -}} {{- if .Values.gitea.config.cron.GIT_GC_REPOS -}}
{{- if eq .Values.gitea.config.cron.GIT_GC_REPOS.ENABLED true -}}
{{ fail "Invoking the garbage collector via CRON is not yet supported when running with multiple replicas. Please set 'cron.GIT_GC_REPOS.enabled = false'." }}
{{- end }}
{{- end }}
{{- end }} {{- end }}
{{- if eq (first .Values.persistence.accessModes) "ReadWriteOnce" -}} {{- if eq (first .Values.persistence.accessModes) "ReadWriteOnce" -}}
{{- fail "When using multiple replicas, a RWX file system is required and gitea.persistence.accessModes[0] must be set to ReadWriteMany." -}} {{- fail "When using multiple replicas, a RWX file system is required and gitea.persistence.accessModes[0] must be set to ReadWriteMany." -}}
{{- end }} {{- end }}
{{- if .Values.gitea.config.indexer -}}
{{- if eq (get .Values.gitea.config.indexer "ISSUE_INDEXER_TYPE") "bleve" -}} {{- if eq .Values.gitea.config.indexer.ISSUE_INDEXER_TYPE "bleve" -}}
{{- fail "When using multiple replicas, the issue indexer (gitea.config.indexer.ISSUE_INDEXER_TYPE) must be set to a HA-ready provider such as 'meilisearch', 'elasticsearch' or 'db' (if the DB is HA-ready)." -}} {{- fail "When using multiple replicas, the issue indexer (gitea.config.indexer.ISSUE_INDEXER_TYPE) must be set to a HA-ready provider such as 'meilisearch', 'elasticsearch' or 'db' (if the DB is HA-ready)." -}}
{{- end }} {{- end }}
{{- if .Values.gitea.config.indexer.REPO_INDEXER_TYPE -}} {{- if .Values.gitea.config.indexer.REPO_INDEXER_TYPE -}}
{{- if eq (get .Values.gitea.config.indexer "REPO_INDEXER_TYPE") "bleve" -}} {{- if eq .Values.gitea.config.indexer.REPO_INDEXER_TYPE "bleve" -}}
{{- if .Values.gitea.config.indexer.REPO_INDEXER_ENABLED -}} {{- if .Values.gitea.config.indexer.REPO_INDEXER_ENABLED -}}
{{- if eq (get .Values.gitea.config.indexer "REPO_INDEXER_ENABLED") "true" -}} {{- if eq .Values.gitea.config.indexer.REPO_INDEXER_ENABLED true -}}
{{- fail "When using multiple replicas, the repo indexer (gitea.config.indexer.REPO_INDEXER_TYPE) must be set to 'meilisearch' or 'elasticsearch' or disabled." -}} {{- fail "When using multiple replicas, the repo indexer (gitea.config.indexer.REPO_INDEXER_TYPE) must be set to 'meilisearch' or 'elasticsearch' or disabled." -}}
{{- end }} {{- end }}
{{- end }} {{- end }}
{{- end }} {{- end }}
{{- end }} {{- end }}
{{- end }}
{{- end }} {{- end }}
config_environment.sh: |- config_environment.sh: |-
#!/usr/bin/env bash #!/usr/bin/env bash
set -euo pipefail set -euo pipefail
@ -83,15 +89,18 @@ stringData:
env2ini::log " + '${setting}'" env2ini::log " + '${setting}'"
local masked_setting="${setting//./_0X2E_}" # '//' instructs to replace all matches
masked_setting="${masked_setting//-/_0X2D_}"
if [[ -z "${section}" ]]; then if [[ -z "${section}" ]]; then
export "FORGEJO____${setting^^}=${value}" # '^^' makes the variable content uppercase export "FORGEJO____${masked_setting^^}=${value}" # '^^' makes the variable content uppercase
return return
fi fi
local masked_section="${section//./_0X2E_}" # '//' instructs to replace all matches local masked_section="${section//./_0X2E_}" # '//' instructs to replace all matches
masked_section="${masked_section//-/_0X2D_}" masked_section="${masked_section//-/_0X2D_}"
export "FORGEJO__${masked_section^^}__${setting^^}=${value}" # '^^' makes the variable content uppercase export "FORGEJO__${masked_section^^}__${masked_setting^^}=${value}" # '^^' makes the variable content uppercase
} }
function env2ini::reload_preset_envs() { function env2ini::reload_preset_envs() {

View file

@ -2,12 +2,16 @@ apiVersion: apps/v1
kind: Deployment kind: Deployment
metadata: metadata:
name: {{ include "gitea.fullname" . }} name: {{ include "gitea.fullname" . }}
namespace: {{ include "common.names.namespace" . | quote }}
annotations: annotations:
{{- if .Values.deployment.annotations }} {{- if .Values.deployment.annotations }}
{{- toYaml .Values.deployment.annotations | nindent 4 }} {{- toYaml .Values.deployment.annotations | nindent 4 }}
{{- end }} {{- end }}
labels: labels:
{{- include "gitea.labels" . | nindent 4 }} {{- include "gitea.labels" . | nindent 4 }}
{{- if .Values.deployment.labels }}
{{- toYaml .Values.deployment.labels | nindent 4 }}
{{- end }}
spec: spec:
replicas: {{ .Values.replicaCount }} replicas: {{ .Values.replicaCount }}
strategy: strategy:
@ -53,7 +57,7 @@ spec:
{{- end }} {{- end }}
{{- include "gitea.images.pullSecrets" . | nindent 6 }} {{- include "gitea.images.pullSecrets" . | nindent 6 }}
securityContext: securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }} {{- include "common.compatibility.renderSecurityContext" (dict "secContext" .Values.podSecurityContext "context" $) | nindent 8 }}
initContainers: initContainers:
- name: init-directories - name: init-directories
image: "{{ include "gitea.image" . }}" image: "{{ include "gitea.image" . }}"
@ -87,7 +91,7 @@ spec:
{{- end }} {{- end }}
{{- include "gitea.init-additional-mounts" . | nindent 12 }} {{- include "gitea.init-additional-mounts" . | nindent 12 }}
securityContext: securityContext:
{{- toYaml .Values.containerSecurityContext | nindent 12 }} {{- include "common.compatibility.renderSecurityContext" (dict "secContext" .Values.containerSecurityContext "context" $) | nindent 12 }}
resources: resources:
{{- toYaml .Values.initContainers.resources | nindent 12 }} {{- toYaml .Values.initContainers.resources | nindent 12 }}
- name: init-app-ini - name: init-app-ini
@ -127,7 +131,7 @@ spec:
{{- end }} {{- end }}
{{- include "gitea.init-additional-mounts" . | nindent 12 }} {{- include "gitea.init-additional-mounts" . | nindent 12 }}
securityContext: securityContext:
{{- toYaml .Values.containerSecurityContext | nindent 12 }} {{- include "common.compatibility.renderSecurityContext" (dict "secContext" .Values.containerSecurityContext "context" $) | nindent 12 }}
resources: resources:
{{- toYaml .Values.initContainers.resources | nindent 12 }} {{- toYaml .Values.initContainers.resources | nindent 12 }}
{{- if .Values.signing.enabled }} {{- if .Values.signing.enabled }}
@ -141,7 +145,7 @@ spec:
{{- if not (hasKey $csc "runAsUser") -}} {{- if not (hasKey $csc "runAsUser") -}}
{{- $_ := set $csc "runAsUser" 1000 -}} {{- $_ := set $csc "runAsUser" 1000 -}}
{{- end -}} {{- end -}}
{{- toYaml $csc | nindent 12 }} {{- include "common.compatibility.renderSecurityContext" (dict "secContext" $csc "context" $) | nindent 12 }}
env: env:
- name: GNUPGHOME - name: GNUPGHOME
value: {{ .Values.signing.gpgHome }} value: {{ .Values.signing.gpgHome }}
@ -172,7 +176,7 @@ spec:
{{- if not (hasKey $csc "runAsUser") -}} {{- if not (hasKey $csc "runAsUser") -}}
{{- $_ := set $csc "runAsUser" 1000 -}} {{- $_ := set $csc "runAsUser" 1000 -}}
{{- end -}} {{- end -}}
{{- toYaml $csc | nindent 12 }} {{- include "common.compatibility.renderSecurityContext" (dict "secContext" $csc "context" $) | nindent 12 }}
env: env:
- name: GITEA_APP_INI - name: GITEA_APP_INI
value: /data/gitea/conf/app.ini value: /data/gitea/conf/app.ini
@ -240,6 +244,8 @@ spec:
- name: GITEA_ADMIN_PASSWORD - name: GITEA_ADMIN_PASSWORD
value: {{ .Values.gitea.admin.password | quote }} value: {{ .Values.gitea.admin.password | quote }}
{{- end }} {{- end }}
- name: GITEA_ADMIN_PASSWORD_MODE
value: {{ include "gitea.admin.passwordMode" $ }}
{{- if .Values.deployment.env }} {{- if .Values.deployment.env }}
{{- toYaml .Values.deployment.env | nindent 12 }} {{- toYaml .Values.deployment.env | nindent 12 }}
{{- end }} {{- end }}
@ -321,9 +327,9 @@ spec:
securityContext: securityContext:
{{- /* Honor the deprecated securityContext variable when defined */ -}} {{- /* Honor the deprecated securityContext variable when defined */ -}}
{{- if .Values.containerSecurityContext -}} {{- if .Values.containerSecurityContext -}}
{{ toYaml .Values.containerSecurityContext | nindent 12 -}} {{- include "common.compatibility.renderSecurityContext" (dict "secContext" .Values.containerSecurityContext "context" $) | nindent 12 }}
{{- else -}} {{- else -}}
{{ toYaml .Values.securityContext | nindent 12 -}} {{- include "common.compatibility.renderSecurityContext" (dict "secContext" .Values.securityContext "context" $) | nindent 12 }}
{{- end }} {{- end }}
volumeMounts: volumeMounts:
- name: temp - name: temp

View file

@ -7,6 +7,7 @@ apiVersion: v1
kind: Secret kind: Secret
metadata: metadata:
name: {{ include "gitea.gpg-key-secret-name" . }} name: {{ include "gitea.gpg-key-secret-name" . }}
namespace: {{ include "common.names.namespace" . | quote }}
labels: labels:
{{- include "gitea.labels" . | nindent 4 }} {{- include "gitea.labels" . | nindent 4 }}
type: Opaque type: Opaque

View file

@ -2,6 +2,7 @@ apiVersion: v1
kind: Service kind: Service
metadata: metadata:
name: {{ include "gitea.fullname" . }}-http name: {{ include "gitea.fullname" . }}-http
namespace: {{ include "common.names.namespace" . | quote }}
labels: labels:
{{- include "gitea.labels" . | nindent 4 }} {{- include "gitea.labels" . | nindent 4 }}
{{- if .Values.service.http.labels }} {{- if .Values.service.http.labels }}
@ -11,7 +12,11 @@ metadata:
{{- toYaml .Values.service.http.annotations | nindent 4 }} {{- toYaml .Values.service.http.annotations | nindent 4 }}
spec: spec:
type: {{ .Values.service.http.type }} type: {{ .Values.service.http.type }}
{{- if and .Values.service.http.loadBalancerIP (eq .Values.service.http.type "LoadBalancer") }} {{- if eq .Values.service.http.type "LoadBalancer" }}
{{- if .Values.service.http.loadBalancerClass }}
loadBalancerClass: {{ .Values.service.http.loadBalancerClass }}
{{- end }}
{{- if and .Values.service.http.loadBalancerIP }}
loadBalancerIP: {{ .Values.service.http.loadBalancerIP }} loadBalancerIP: {{ .Values.service.http.loadBalancerIP }}
{{- end }} {{- end }}
{{- if .Values.service.http.loadBalancerSourceRanges }} {{- if .Values.service.http.loadBalancerSourceRanges }}
@ -20,6 +25,7 @@ spec:
- {{ . }} - {{ . }}
{{- end }} {{- end }}
{{- end }} {{- end }}
{{- end }}
{{- if .Values.service.http.externalIPs }} {{- if .Values.service.http.externalIPs }}
externalIPs: externalIPs:
{{- toYaml .Values.service.http.externalIPs | nindent 4 }} {{- toYaml .Values.service.http.externalIPs | nindent 4 }}
@ -43,6 +49,6 @@ spec:
{{- if .Values.service.http.nodePort }} {{- if .Values.service.http.nodePort }}
nodePort: {{ .Values.service.http.nodePort }} nodePort: {{ .Values.service.http.nodePort }}
{{- end }} {{- end }}
targetPort: {{ .Values.gitea.config.server.HTTP_PORT }} targetPort: http
selector: selector:
{{- include "gitea.selectorLabels" . | nindent 4 }} {{- include "gitea.selectorLabels" . | nindent 4 }}

View file

@ -1,18 +1,10 @@
{{- if .Values.ingress.enabled -}} {{- if .Values.ingress.enabled -}}
{{- $fullName := include "gitea.fullname" . -}} {{- $fullName := include "gitea.fullname" . -}}
{{- $httpPort := .Values.service.http.port -}} apiVersion: networking.k8s.io/v1
{{- $apiVersion := "extensions/v1beta1" -}}
{{- if .Values.ingress.apiVersion -}}
{{- $apiVersion = .Values.ingress.apiVersion -}}
{{- else if .Capabilities.APIVersions.Has "networking.k8s.io/v1/Ingress" -}}
{{- $apiVersion = "networking.k8s.io/v1" }}
{{- else if .Capabilities.APIVersions.Has "networking.k8s.io/v1beta1/Ingress" -}}
{{- $apiVersion = "networking.k8s.io/v1beta1" }}
{{- end }}
apiVersion: {{ $apiVersion }}
kind: Ingress kind: Ingress
metadata: metadata:
name: {{ $fullName }} name: {{ $fullName }}
namespace: {{ include "common.names.namespace" . | quote }}
labels: labels:
{{- include "gitea.labels" . | nindent 4 }} {{- include "gitea.labels" . | nindent 4 }}
annotations: annotations:
@ -21,7 +13,7 @@ metadata:
{{- end }} {{- end }}
spec: spec:
{{- if .Values.ingress.className }} {{- if .Values.ingress.className }}
ingressClassName: {{ .Values.ingress.className }} ingressClassName: {{ tpl .Values.ingress.className . }}
{{- end }} {{- end }}
{{- if .Values.ingress.tls }} {{- if .Values.ingress.tls }}
tls: tls:
@ -40,19 +32,14 @@ spec:
paths: paths:
{{- range .paths }} {{- range .paths }}
- path: {{ .path }} - path: {{ .path }}
{{- if and .pathType (eq $apiVersion "networking.k8s.io/v1") }} {{- if .pathType }}
pathType: {{ .pathType }} pathType: {{ .pathType }}
{{- end }} {{- end }}
backend: backend:
{{- if eq $apiVersion "networking.k8s.io/v1" }}
service: service:
name: {{ $fullName }}-http name: {{ $fullName }}-http
port: port:
number: {{ $httpPort }} name: http
{{- else }}
serviceName: {{ $fullName }}-http
servicePort: {{ $httpPort }}
{{- end }}
{{- end }} {{- end }}
{{- end }} {{- end }}
{{- end }} {{- end }}

View file

@ -2,6 +2,7 @@ apiVersion: v1
kind: Secret kind: Secret
metadata: metadata:
name: {{ include "gitea.fullname" . }}-init name: {{ include "gitea.fullname" . }}-init
namespace: {{ include "common.names.namespace" . | quote }}
labels: labels:
{{- include "gitea.labels" . | nindent 4 }} {{- include "gitea.labels" . | nindent 4 }}
type: Opaque type: Opaque
@ -109,13 +110,26 @@ stringData:
local ACCOUNT_ID=$(echo "${actual_user_table}" | grep -E "\s+${GITEA_ADMIN_USERNAME}\s+" | awk -F " " "{printf \$1}") local ACCOUNT_ID=$(echo "${actual_user_table}" | grep -E "\s+${GITEA_ADMIN_USERNAME}\s+" | awk -F " " "{printf \$1}")
if [[ -z "${ACCOUNT_ID}" ]]; then if [[ -z "${ACCOUNT_ID}" ]]; then
local -a create_args
create_args=(--admin --username "${GITEA_ADMIN_USERNAME}" --password "${GITEA_ADMIN_PASSWORD}" --email {{ .Values.gitea.admin.email | quote }})
if [[ "${GITEA_ADMIN_PASSWORD_MODE}" = initialOnlyRequireReset ]]; then
create_args+=(--must-change-password=true)
else
create_args+=(--must-change-password=false)
fi
echo "No admin user '${GITEA_ADMIN_USERNAME}' found. Creating now..." echo "No admin user '${GITEA_ADMIN_USERNAME}' found. Creating now..."
gitea admin user create --admin --username "${GITEA_ADMIN_USERNAME}" --password "${GITEA_ADMIN_PASSWORD}" --email {{ .Values.gitea.admin.email | quote }} --must-change-password=false gitea admin user create "${create_args[@]}"
echo '...created.' echo '...created.'
else else
if [[ "${GITEA_ADMIN_PASSWORD_MODE}" = keepUpdated ]]; then
echo "Admin account '${GITEA_ADMIN_USERNAME}' already exist. Running update to sync password..." echo "Admin account '${GITEA_ADMIN_USERNAME}' already exist. Running update to sync password..."
gitea admin user change-password --username "${GITEA_ADMIN_USERNAME}" --password "${GITEA_ADMIN_PASSWORD}" local -a change_args
change_args=(--username "${GITEA_ADMIN_USERNAME}" --password "${GITEA_ADMIN_PASSWORD}" --must-change-password=false)
gitea admin user change-password "${change_args[@]}"
echo '...password sync done.' echo '...password sync done.'
else
echo "Admin account '${GITEA_ADMIN_USERNAME}' already exist, but update mode is set to '${GITEA_ADMIN_PASSWORD_MODE}'. Skipping."
fi
fi fi
} }

View file

@ -1,12 +1,9 @@
{{- if .Values.podDisruptionBudget -}} {{- if .Values.podDisruptionBudget -}}
{{- if .Capabilities.APIVersions.Has "policy/v1" }}
apiVersion: policy/v1 apiVersion: policy/v1
{{- else }}
apiVersion: policy/v1beta1
{{- end }}
kind: PodDisruptionBudget kind: PodDisruptionBudget
metadata: metadata:
name: {{ include "gitea.fullname" . }} name: {{ include "gitea.fullname" . }}
namespace: {{ include "common.names.namespace" . | quote }}
labels: labels:
{{- include "gitea.labels" . | nindent 4 }} {{- include "gitea.labels" . | nindent 4 }}
spec: spec:

View file

@ -3,7 +3,7 @@ kind: PersistentVolumeClaim
apiVersion: v1 apiVersion: v1
metadata: metadata:
name: {{ .Values.persistence.claimName }} name: {{ .Values.persistence.claimName }}
namespace: {{ $.Release.Namespace }} namespace: {{ include "common.names.namespace" . | quote }}
annotations: annotations:
{{ .Values.persistence.annotations | toYaml | indent 4}} {{ .Values.persistence.annotations | toYaml | indent 4}}
{{- if .Values.persistence.labels }} {{- if .Values.persistence.labels }}

View file

@ -0,0 +1,43 @@
{{- if .Values.route.enabled -}}
apiVersion: route.openshift.io/v1
kind: Route
metadata:
name: {{ include "gitea.fullname" . }}-http
namespace: {{ include "common.names.namespace" . | quote }}
labels:
{{- include "gitea.labels" . | nindent 4 }}
annotations:
{{- toYaml .Values.route.annotations | nindent 4 }}
spec:
{{- if .Values.route.host }}
host: {{ tpl .Values.route.host $ | quote }}
{{- end }}
{{- if .Values.route.wildcardPolicy }}
wildcardPolicy: {{ .Values.route.wildcardPolicy }}
{{- end }}
to:
kind: Service
name: {{ include "gitea.fullname" . }}-http
weight: 100
port:
targetPort: http
tls:
termination: edge
insecureEdgeTerminationPolicy: Redirect
{{- if .Values.route.tls.existingSecret }}
externalCertificate: {{ .Values.route.tls.existingSecret }}
{{- else if and .Values.route.tls.certificate
.Values.route.tls.privateKey
.Values.route.tls.caCertificate }}
certificate: |
{{ .Values.route.tls.certificate | indent 6 }}
key: |
{{ .Values.route.tls.privateKey | indent 6 }}
caCertificate: |
{{ .Values.route.tls.caCertificate | indent 6 }}
{{- else if or .Values.route.tls.certificate
.Values.route.tls.privateKey
.Values.route.tls.caCertificate }}
{{- fail "certificate, privateKey and caCertificate must be specified together" }}
{{- end }}
{{- end }}

View file

@ -3,7 +3,7 @@ apiVersion: v1
kind: ServiceAccount kind: ServiceAccount
metadata: metadata:
name: {{ include "gitea.serviceAccountName" . }} name: {{ include "gitea.serviceAccountName" . }}
namespace: {{ .Release.Namespace | quote }} namespace: {{ include "common.names.namespace" . | quote }}
labels: labels:
{{- include "gitea.labels" . | nindent 4 }} {{- include "gitea.labels" . | nindent 4 }}
{{- with .Values.serviceAccount.labels }} {{- with .Values.serviceAccount.labels }}

View file

@ -3,6 +3,7 @@ apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor kind: ServiceMonitor
metadata: metadata:
name: {{ include "gitea.fullname" . }} name: {{ include "gitea.fullname" . }}
namespace: {{ default (include "common.names.namespace" .) .Values.gitea.metrics.serviceMonitor.namespace | quote }}
labels: labels:
{{- include "gitea.labels" . | nindent 4 }} {{- include "gitea.labels" . | nindent 4 }}
{{- if .Values.gitea.metrics.serviceMonitor.additionalLabels }} {{- if .Values.gitea.metrics.serviceMonitor.additionalLabels }}

View file

@ -2,6 +2,7 @@ apiVersion: v1
kind: Service kind: Service
metadata: metadata:
name: {{ include "gitea.fullname" . }}-ssh name: {{ include "gitea.fullname" . }}-ssh
namespace: {{ include "common.names.namespace" . | quote }}
labels: labels:
{{- include "gitea.labels" . | nindent 4 }} {{- include "gitea.labels" . | nindent 4 }}
{{- if .Values.service.ssh.labels }} {{- if .Values.service.ssh.labels }}
@ -12,6 +13,9 @@ metadata:
spec: spec:
type: {{ .Values.service.ssh.type }} type: {{ .Values.service.ssh.type }}
{{- if eq .Values.service.ssh.type "LoadBalancer" }} {{- if eq .Values.service.ssh.type "LoadBalancer" }}
{{- if .Values.service.ssh.loadBalancerClass }}
loadBalancerClass: {{ .Values.service.ssh.loadBalancerClass }}
{{- end }}
{{- if .Values.service.ssh.loadBalancerIP }} {{- if .Values.service.ssh.loadBalancerIP }}
loadBalancerIP: {{ .Values.service.ssh.loadBalancerIP }} loadBalancerIP: {{ .Values.service.ssh.loadBalancerIP }}
{{- end -}} {{- end -}}
@ -43,7 +47,7 @@ spec:
- name: ssh - name: ssh
port: {{ .Values.service.ssh.port }} port: {{ .Values.service.ssh.port }}
{{- if .Values.gitea.config.server.SSH_LISTEN_PORT }} {{- if .Values.gitea.config.server.SSH_LISTEN_PORT }}
targetPort: {{ .Values.gitea.config.server.SSH_LISTEN_PORT }} targetPort: ssh
{{- end }} {{- end }}
protocol: TCP protocol: TCP
{{- if .Values.service.ssh.nodePort }} {{- if .Values.service.ssh.nodePort }}

View file

@ -6,7 +6,7 @@ metadata:
labels: labels:
{{ include "gitea.labels" . | nindent 4 }} {{ include "gitea.labels" . | nindent 4 }}
annotations: annotations:
"helm.sh/hook": test-success "helm.sh/hook": test
spec: spec:
containers: containers:
- name: wget - name: wget

View file

@ -1,67 +1,12 @@
import conventionalChangelogCore from 'conventional-changelog-core'; import { getChangelog } from './changelog/util.js';
import conventionalChangelogPreset from 'conventional-changelog-conventionalcommits';
import fs from 'node:fs';
const config = conventionalChangelogPreset({ const stream = getChangelog(!!process.argv[2]).setEncoding('utf8');
types: [
{
type: 'feat',
section: 'Features',
},
{
type: 'fix',
section: 'Bug Fixes',
},
{
type: 'perf',
section: 'Performance Improvements',
},
{
type: 'revert',
section: 'Reverts',
},
{
type: 'docs',
section: 'Documentation',
},
{
type: 'style',
section: 'Styles',
},
{
type: 'refactor',
section: 'Code Refactoring',
},
{
type: 'test',
section: 'Tests',
},
{
type: 'build',
section: 'Build System',
},
{
type: 'ci',
section: 'Continuous Integration',
},
{
type: 'chore',
section: 'Miscellaneous Chores',
},
],
});
const file = process.argv[3] const changes = (await stream.toArray()).join('');
? fs.createWriteStream(process.argv[3])
: process.stdout;
conventionalChangelogCore( if (!changes.length) {
{ console.error('No changelog found');
config, process.exit(1);
releaseCount: 2, }
},
{ version: process.argv[2], linkCompare: false }, process.stdout.write(changes);
undefined,
undefined,
{ headerPartial: '' },
).pipe(file);

View file

@ -56,17 +56,16 @@ export const config = conventionalChangelogPreset({
/** /**
* *
* @param {string} version * @param {boolean|undefined} onTag
* @param {boolean} onTag
* @returns * @returns
*/ */
export function getChangelog(version, onTag) { export function getChangelog(onTag = false) {
return conventionalChangelogCore( return conventionalChangelogCore(
{ {
config, config,
releaseCount: onTag ? 2 : 1, releaseCount: onTag ? 2 : 1,
}, },
{ version, linkCompare: false }, undefined,
undefined, undefined,
undefined, undefined,
{ headerPartial: '' }, { headerPartial: '' },

View file

@ -1,3 +1,4 @@
# https://github.com/helm/chart-testing/blob/main/doc/ct_install.md
helm-extra-args: --timeout 3m helm-extra-args: --timeout 3m
check-version-increment: false check-version-increment: false
debug: true debug: true

View file

@ -68,7 +68,7 @@ class GiteaReleaseCommand extends Command {
return 1; return 1;
} }
const stream = getChangelog(tag, true).setEncoding('utf8'); const stream = getChangelog(true).setEncoding('utf8');
const changes = (await stream.toArray()).join(''); const changes = (await stream.toArray()).join('');
this.context.stdout.write(`Creating release ${tag}.\n`); this.context.stdout.write(`Creating release ${tag}.\n`);

View file

@ -8,6 +8,8 @@ tests:
set: set:
redis-cluster: redis-cluster:
enabled: true enabled: true
redis:
enabled: false
asserts: asserts:
- documentIndex: 0 - documentIndex: 0
equal: equal:
@ -16,11 +18,28 @@ tests:
ADAPTER=redis ADAPTER=redis
HOST=redis+cluster://:@gitea-unittests-redis-cluster-headless.testing.svc.cluster.local:6379/0?pool_size=100&idle_timeout=180s& HOST=redis+cluster://:@gitea-unittests-redis-cluster-headless.testing.svc.cluster.local:6379/0?pool_size=100&idle_timeout=180s&
- it: "cache is configured correctly for 'memory' when redis-cluster is disabled" - it: 'cache is configured correctly for redis'
template: templates/gitea/config.yaml template: templates/gitea/config.yaml
set: set:
redis-cluster: redis-cluster:
enabled: false enabled: false
redis:
enabled: true
asserts:
- documentIndex: 0
equal:
path: stringData.cache
value: |-
ADAPTER=redis
HOST=redis://:changeme@gitea-unittests-redis-headless.testing.svc.cluster.local:6379/0?pool_size=100&idle_timeout=180s&
- it: "cache is configured correctly for 'memory' when redis (or redis-cluster) is disabled"
template: templates/gitea/config.yaml
set:
redis-cluster:
enabled: false
redis:
enabled: false
asserts: asserts:
- documentIndex: 0 - documentIndex: 0
equal: equal:
@ -29,11 +48,13 @@ tests:
ADAPTER=memory ADAPTER=memory
HOST= HOST=
- it: 'cache can be customized when redis-cluster is disabled' - it: 'cache can be customized when redis (or redis-cluster) is disabled'
template: templates/gitea/config.yaml template: templates/gitea/config.yaml
set: set:
redis-cluster: redis-cluster:
enabled: false enabled: false
redis:
enabled: false
gitea.config.cache.ADAPTER: custom-adapter gitea.config.cache.ADAPTER: custom-adapter
gitea.config.cache.HOST: custom-host gitea.config.cache.HOST: custom-host
asserts: asserts:

View file

@ -8,6 +8,8 @@ tests:
set: set:
redis-cluster: redis-cluster:
enabled: true enabled: true
redis:
enabled: false
asserts: asserts:
- documentIndex: 0 - documentIndex: 0
equal: equal:
@ -16,11 +18,28 @@ tests:
CONN_STR=redis+cluster://:@gitea-unittests-redis-cluster-headless.testing.svc.cluster.local:6379/0?pool_size=100&idle_timeout=180s& CONN_STR=redis+cluster://:@gitea-unittests-redis-cluster-headless.testing.svc.cluster.local:6379/0?pool_size=100&idle_timeout=180s&
TYPE=redis TYPE=redis
- it: "queue is configured correctly for 'levelDB' when redis-cluster is disabled" - it: 'queue is configured correctly for redis'
template: templates/gitea/config.yaml template: templates/gitea/config.yaml
set: set:
redis-cluster: redis-cluster:
enabled: false enabled: false
redis:
enabled: true
asserts:
- documentIndex: 0
equal:
path: stringData.queue
value: |-
CONN_STR=redis://:changeme@gitea-unittests-redis-headless.testing.svc.cluster.local:6379/0?pool_size=100&idle_timeout=180s&
TYPE=redis
- it: "queue is configured correctly for 'levelDB' when redis (and redis-cluster) is disabled"
template: templates/gitea/config.yaml
set:
redis-cluster:
enabled: false
redis:
enabled: false
asserts: asserts:
- documentIndex: 0 - documentIndex: 0
equal: equal:
@ -29,11 +48,13 @@ tests:
CONN_STR= CONN_STR=
TYPE=level TYPE=level
- it: 'queue can be customized when redis-cluster is disabled' - it: 'queue can be customized when redis (and redis-cluster) are disabled'
template: templates/gitea/config.yaml template: templates/gitea/config.yaml
set: set:
redis-cluster: redis-cluster:
enabled: false enabled: false
redis:
enabled: false
gitea.config.queue.TYPE: custom-type gitea.config.queue.TYPE: custom-type
gitea.config.queue.CONN_STR: custom-connection-string gitea.config.queue.CONN_STR: custom-connection-string
asserts: asserts:

View file

@ -8,6 +8,8 @@ tests:
set: set:
redis-cluster: redis-cluster:
enabled: true enabled: true
redis:
enabled: false
asserts: asserts:
- documentIndex: 0 - documentIndex: 0
equal: equal:
@ -16,11 +18,28 @@ tests:
PROVIDER=redis PROVIDER=redis
PROVIDER_CONFIG=redis+cluster://:@gitea-unittests-redis-cluster-headless.testing.svc.cluster.local:6379/0?pool_size=100&idle_timeout=180s& PROVIDER_CONFIG=redis+cluster://:@gitea-unittests-redis-cluster-headless.testing.svc.cluster.local:6379/0?pool_size=100&idle_timeout=180s&
- it: "session is configured correctly for 'memory' when redis-cluster is disabled" - it: 'session is configured correctly for redis'
template: templates/gitea/config.yaml template: templates/gitea/config.yaml
set: set:
redis-cluster: redis-cluster:
enabled: false enabled: false
redis:
enabled: true
asserts:
- documentIndex: 0
equal:
path: stringData.session
value: |-
PROVIDER=redis
PROVIDER_CONFIG=redis://:changeme@gitea-unittests-redis-headless.testing.svc.cluster.local:6379/0?pool_size=100&idle_timeout=180s&
- it: "session is configured correctly for 'memory' when redis (and redis-cluster) is disabled"
template: templates/gitea/config.yaml
set:
redis-cluster:
enabled: false
redis:
enabled: false
asserts: asserts:
- documentIndex: 0 - documentIndex: 0
equal: equal:
@ -29,11 +48,13 @@ tests:
PROVIDER=memory PROVIDER=memory
PROVIDER_CONFIG= PROVIDER_CONFIG=
- it: 'session can be customized when redis-cluster is disabled' - it: 'session can be customized when redis (and redis-cluster) is disabled'
template: templates/gitea/config.yaml template: templates/gitea/config.yaml
set: set:
redis-cluster: redis-cluster:
enabled: false enabled: false
redis:
enabled: false
gitea.config.session.PROVIDER: custom-provider gitea.config.session.PROVIDER: custom-provider
gitea.config.session.PROVIDER_CONFIG: custom-provider-config gitea.config.session.PROVIDER_CONFIG: custom-provider-config
asserts: asserts:

View file

@ -15,7 +15,7 @@ tests:
matchRegex: matchRegex:
path: spec.template.spec.containers[0].image path: spec.template.spec.containers[0].image
# IN CASE OF AN INTENTIONAL MAJOR BUMP, ADJUST THIS TEST # IN CASE OF AN INTENTIONAL MAJOR BUMP, ADJUST THIS TEST
pattern: ^docker.io/bitnami/postgresql-repmgr:16.+$ pattern: ^docker.io/bitnami/postgresql-repmgr:17.+$
- it: '[postgresql] ensures we detect major image version upgrades' - it: '[postgresql] ensures we detect major image version upgrades'
template: charts/postgresql/templates/primary/statefulset.yaml template: charts/postgresql/templates/primary/statefulset.yaml
set: set:
@ -28,15 +28,30 @@ tests:
matchRegex: matchRegex:
path: spec.template.spec.containers[0].image path: spec.template.spec.containers[0].image
# IN CASE OF AN INTENTIONAL MAJOR BUMP, ADJUST THIS TEST # IN CASE OF AN INTENTIONAL MAJOR BUMP, ADJUST THIS TEST
pattern: ^docker.io/bitnami/postgresql:16.+$ pattern: ^docker.io/bitnami/postgresql:17.+$
- it: '[redis-cluster] ensures we detect major image version upgrades' - it: '[redis-cluster] ensures we detect major image version upgrades'
template: charts/redis-cluster/templates/redis-statefulset.yaml template: charts/redis-cluster/templates/redis-statefulset.yaml
set: set:
redis-cluster: redis-cluster:
enabled: true enabled: true
redis:
enabled: false
asserts:
- documentIndex: 0
matchRegex:
path: spec.template.spec.containers[0].image
# IN CASE OF AN INTENTIONAL MAJOR BUMP, ADJUST THIS TEST
pattern: bitnami/redis-cluster:7.+$
- it: '[redis] ensures we detect major image version upgrades'
template: charts/redis/templates/master/application.yaml
set:
redis-cluster:
enabled: false
redis:
enabled: true
asserts: asserts:
- documentIndex: 0 - documentIndex: 0
matchRegex: matchRegex:
path: spec.template.spec.containers[0].image path: spec.template.spec.containers[0].image
# IN CASE OF AN INTENTIONAL MAJOR BUMP, ADJUST THIS TEST # IN CASE OF AN INTENTIONAL MAJOR BUMP, ADJUST THIS TEST
pattern: ^docker.io/bitnami/redis-cluster:7.+$ pattern: bitnami/redis:7.+$

View file

@ -0,0 +1,59 @@
suite: deployment template (HA)
release:
name: gitea-unittests
namespace: testing
templates:
- templates/gitea/deployment.yaml
- templates/gitea/config.yaml
tests:
- it: fails with multiple replicas and "GIT_GC_REPOS" enabled
template: templates/gitea/deployment.yaml
set:
replicaCount: 2
persistence:
accessModes:
- ReadWriteMany
gitea:
config:
cron:
GIT_GC_REPOS:
ENABLED: true
asserts:
- failedTemplate:
errorMessage: "Invoking the garbage collector via CRON is not yet supported when running with multiple replicas. Please set 'cron.GIT_GC_REPOS.enabled = false'."
- it: fails with multiple replicas and RWX file system not set
template: templates/gitea/deployment.yaml
set:
replicaCount: 2
asserts:
- failedTemplate:
errorMessage: 'When using multiple replicas, a RWX file system is required and gitea.persistence.accessModes[0] must be set to ReadWriteMany.'
- it: fails with multiple replicas and bleve issue indexer
template: templates/gitea/deployment.yaml
set:
replicaCount: 2
persistence:
accessModes:
- ReadWriteMany
gitea:
config:
indexer:
ISSUE_INDEXER_TYPE: bleve
asserts:
- failedTemplate:
errorMessage: "When using multiple replicas, the issue indexer (gitea.config.indexer.ISSUE_INDEXER_TYPE) must be set to a HA-ready provider such as 'meilisearch', 'elasticsearch' or 'db' (if the DB is HA-ready)."
- it: fails with multiple replicas and bleve repo indexer
template: templates/gitea/deployment.yaml
set:
replicaCount: 2
persistence:
accessModes:
- ReadWriteMany
gitea:
config:
indexer:
REPO_INDEXER_TYPE: bleve
REPO_INDEXER_ENABLED: true
asserts:
- failedTemplate:
errorMessage: "When using multiple replicas, the repo indexer (gitea.config.indexer.REPO_INDEXER_TYPE) must be set to 'meilisearch' or 'elasticsearch' or disabled."

View file

@ -15,3 +15,17 @@ tests:
kind: Deployment kind: Deployment
apiVersion: apps/v1 apiVersion: apps/v1
name: forgejo-unittests name: forgejo-unittests
- it: deployment labels are set
template: templates/gitea/deployment.yaml
set:
deployment.labels:
hello: world
asserts:
- isSubset:
path: metadata.labels
content:
hello: world
- isSubset:
path: spec.template.metadata.labels
content:
hello: world

View file

@ -14,7 +14,7 @@ tests:
asserts: asserts:
- equal: - equal:
path: spec.template.spec.containers[0].image path: spec.template.spec.containers[0].image
value: 'codeberg.org/forgejo/forgejo:1.19.3-rootless' value: 'code.forgejo.org/forgejo/forgejo:1.19.3-rootless'
- it: tag override - it: tag override
template: templates/gitea/deployment.yaml template: templates/gitea/deployment.yaml
set: set:
@ -22,7 +22,7 @@ tests:
asserts: asserts:
- equal: - equal:
path: spec.template.spec.containers[0].image path: spec.template.spec.containers[0].image
value: 'codeberg.org/forgejo/forgejo:1.19.4-rootless' value: 'code.forgejo.org/forgejo/forgejo:1.19.4-rootless'
- it: root-based image - it: root-based image
template: templates/gitea/deployment.yaml template: templates/gitea/deployment.yaml
set: set:
@ -30,7 +30,7 @@ tests:
asserts: asserts:
- equal: - equal:
path: spec.template.spec.containers[0].image path: spec.template.spec.containers[0].image
value: 'codeberg.org/forgejo/forgejo:1.19.3' value: 'code.forgejo.org/forgejo/forgejo:1.19.3'
- it: scoped registry - it: scoped registry
template: templates/gitea/deployment.yaml template: templates/gitea/deployment.yaml
set: set:
@ -56,7 +56,7 @@ tests:
asserts: asserts:
- equal: - equal:
path: spec.template.spec.containers[0].image path: spec.template.spec.containers[0].image
value: 'codeberg.org/forgejo/forgejo:1.19.3-rootless@sha256:b28e8f3089b52ebe6693295df142f8c12eff354e9a4a5bfbb5c10f296c3a537a' value: 'code.forgejo.org/forgejo/forgejo:1.19.3-rootless@sha256:b28e8f3089b52ebe6693295df142f8c12eff354e9a4a5bfbb5c10f296c3a537a'
- it: image fullOverride (does not append rootless) - it: image fullOverride (does not append rootless)
template: templates/gitea/deployment.yaml template: templates/gitea/deployment.yaml
set: set:
@ -81,7 +81,7 @@ tests:
asserts: asserts:
- equal: - equal:
path: spec.template.spec.containers[0].image path: spec.template.spec.containers[0].image
value: 'codeberg.org/forgejo/forgejo:1.19.3@sha256:b28e8f3089b52ebe6693295df142f8c12eff354e9a4a5bfbb5c10f296c3a537a' value: 'code.forgejo.org/forgejo/forgejo:1.19.3@sha256:b28e8f3089b52ebe6693295df142f8c12eff354e9a4a5bfbb5c10f296c3a537a'
- it: digest and global registry - it: digest and global registry
template: templates/gitea/deployment.yaml template: templates/gitea/deployment.yaml
set: set:
@ -91,3 +91,20 @@ tests:
- equal: - equal:
path: spec.template.spec.containers[0].image path: spec.template.spec.containers[0].image
value: 'global.example.com/forgejo/forgejo:1.19.3-rootless@sha256:b28e8f3089b52ebe6693295df142f8c12eff354e9a4a5bfbb5c10f296c3a537a' value: 'global.example.com/forgejo/forgejo:1.19.3-rootless@sha256:b28e8f3089b52ebe6693295df142f8c12eff354e9a4a5bfbb5c10f296c3a537a'
- it: correctly renders floating tag references
template: templates/gitea/deployment.yaml
set:
image.tag: 1.21 # use non-quoted value on purpose. See: https://gitea.com/gitea/helm-chart/issues/631
asserts:
- equal:
path: spec.template.spec.initContainers[0].image
value: 'code.forgejo.org/forgejo/forgejo:1.21-rootless'
- equal:
path: spec.template.spec.initContainers[1].image
value: 'code.forgejo.org/forgejo/forgejo:1.21-rootless'
- equal:
path: spec.template.spec.initContainers[2].image
value: 'code.forgejo.org/forgejo/forgejo:1.21-rootless'
- equal:
path: spec.template.spec.containers[0].image
value: 'code.forgejo.org/forgejo/forgejo:1.21-rootless'

View file

@ -15,9 +15,33 @@ tests:
hosts: hosts:
- '{{ .Values.global.giteaHostName }}' - '{{ .Values.global.giteaHostName }}'
asserts: asserts:
- isKind:
of: Ingress
- equal: - equal:
path: spec.tls[0].hosts[0] path: spec.tls[0].hosts[0]
value: 'gitea.example.com' value: 'gitea.example.com'
- equal: - equal:
path: spec.rules[0].host path: spec.rules[0].host
value: 'gitea.example.com' value: 'gitea.example.com'
- it: Ingress Class using TPL
set:
global.ingress.className: 'ingress-class'
ingress.className: '{{ .Values.global.ingress.className }}'
ingress.enabled: true
ingress.hosts[0].host: 'some-host'
ingress.tls:
- secretName: gitea-tls
hosts:
- 'some-host'
asserts:
- isKind:
of: Ingress
- equal:
path: spec.tls[0].hosts[0]
value: 'some-host'
- equal:
path: spec.rules[0].host
value: 'some-host'
- equal:
path: spec.ingressClassName
value: 'ingress-class'

View file

@ -0,0 +1,155 @@
# $schema: https://raw.githubusercontent.com/helm-unittest/helm-unittest/main/schema/helm-testsuite.json
suite: route template
release:
name: gitea-unittests
namespace: testing
templates:
- templates/gitea/route.yaml
tests:
- it: hostname using TPL
set:
global.giteaHostName: 'gitea.example.com'
route.enabled: true
route.host: '{{ .Values.global.giteaHostName }}'
asserts:
- isKind:
of: Route
- equal:
path: spec.host
value: 'gitea.example.com'
- notExists:
path: spec.wildcardPolicy
- it: wildcard policy
set:
global.giteaHostName: 'gitea.example.com'
route.enabled: true
route.wildcardPolicy: 'Subdomain'
asserts:
- isKind:
of: Route
- equal:
path: spec.wildcardPolicy
value: 'Subdomain'
- it: existing certificate
set:
route.enabled: true
route.tls.existingSecret: certificate-secret
route.tls.certificate: |
-----BEGIN CERTIFICATE-----
...
-----END CERTIFICATE-----
route.tls.privateKey: |
-----BEGIN PRIVATE KEY-----
...
-----END PRIVATE KEY-----
route.tls.caCertificate: |
-----BEGIN CERTIFICATE-----
...
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
...
-----END CERTIFICATE-----
asserts:
- isKind:
of: Route
- equal:
path: spec.tls.externalCertificate
value: certificate-secret
- notExists:
path: spec.tls.certificate
- notExists:
path: spec.tls.key
- notExists:
path: spec.tls.caCertificate
- it: valid certificate values
set:
route.enabled: true
route.tls.certificate: |
-----BEGIN CERTIFICATE-----
...
-----END CERTIFICATE-----
route.tls.privateKey: |
-----BEGIN PRIVATE KEY-----
...
-----END PRIVATE KEY-----
route.tls.caCertificate: |
-----BEGIN CERTIFICATE-----
...
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
...
-----END CERTIFICATE-----
asserts:
- isKind:
of: Route
- notExists:
path: spec.tls.externalCertificate
- equal:
path: spec.tls.certificate
value: |
-----BEGIN CERTIFICATE-----
...
-----END CERTIFICATE-----
- equal:
path: spec.tls.key
value: |
-----BEGIN PRIVATE KEY-----
...
-----END PRIVATE KEY-----
- equal:
path: spec.tls.caCertificate
value: |
-----BEGIN CERTIFICATE-----
...
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
...
-----END CERTIFICATE-----
- it: missing certificate values
set:
route.enabled: true
route.tls.privateKey: |
-----BEGIN PRIVATE KEY-----
...
-----END PRIVATE KEY-----
route.tls.caCertificate: |
-----BEGIN CERTIFICATE-----
...
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
...
-----END CERTIFICATE-----
asserts:
- failedTemplate:
errorMessage: certificate, privateKey and caCertificate must be specified together
- it: missing privateKey values
set:
route.enabled: true
route.tls.certificate: |
-----BEGIN CERTIFICATE-----
...
-----END CERTIFICATE-----
route.tls.caCertificate: |
-----BEGIN CERTIFICATE-----
...
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
...
-----END CERTIFICATE-----
asserts:
- failedTemplate:
errorMessage: certificate, privateKey and caCertificate must be specified together
- it: missing caCertificate values
set:
route.enabled: true
route.tls.certificate: |
-----BEGIN CERTIFICATE-----
...
-----END CERTIFICATE-----
route.tls.privateKey: |
-----BEGIN PRIVATE KEY-----
...
-----END PRIVATE KEY-----
asserts:
- failedTemplate:
errorMessage: certificate, privateKey and caCertificate must be specified together

View file

@ -0,0 +1,25 @@
# $schema: https://raw.githubusercontent.com/helm-unittest/helm-unittest/main/schema/helm-testsuite.json
suite: deployment template (security context)
release:
name: gitea-unittests
namespace: testing
templates:
- templates/gitea/deployment.yaml
- templates/gitea/config.yaml
tests:
- it: FS group set to 1000
template: templates/gitea/deployment.yaml
set:
image.rootless: false
asserts:
- equal:
path: spec.template.spec.securityContext.fsGroup
value: 1000
- it: run configure-gitea with UID 1000
template: templates/gitea/deployment.yaml
set:
image.rootless: false
asserts:
- equal:
path: spec.template.spec.initContainers[?(@.name == 'configure-gitea')].securityContext.runAsUser
value: 1000

View file

@ -0,0 +1,25 @@
# $schema: https://raw.githubusercontent.com/helm-unittest/helm-unittest/main/schema/helm-testsuite.json
suite: deployment template (security context)
release:
name: gitea-unittests
namespace: testing
templates:
- templates/gitea/deployment.yaml
- templates/gitea/config.yaml
tests:
- it: FS group not set
template: templates/gitea/deployment.yaml
set:
image.rootless: false
global.compatibility.openshift.adaptSecurityContext: force
asserts:
- notExists:
path: spec.template.spec.securityContext.fsGroup
- it: configure-gitea without runaAsUser
template: templates/gitea/deployment.yaml
set:
image.rootless: false
global.compatibility.openshift.adaptSecurityContext: force
asserts:
- notExists:
path: spec.template.spec.initContainers[?(@.name == 'configure-gitea')].securityContext.runAsUser

View file

@ -49,3 +49,80 @@ tests:
asserts: asserts:
- exists: - exists:
path: metadata.labels["app"] path: metadata.labels["app"]
- it: uses default ports to ssh-svc
template: templates/gitea/ssh-svc.yaml
asserts:
- equal:
path: spec.ports[0].port
value: 22
- equal:
path: spec.ports[0].targetPort
value: ssh
- it: render service.ssh.loadBalancerClass if set and type is LoadBalancer
template: templates/gitea/ssh-svc.yaml
set:
service:
ssh:
loadBalancerClass: 'example.com/class'
type: LoadBalancer
loadBalancerIP: '1.2.3.4'
loadBalancerSourceRanges:
- '1.2.3.4/32'
- '5.6.7.8/32'
asserts:
- equal:
path: spec.loadBalancerClass
value: 'example.com/class'
- equal:
path: spec.loadBalancerIP
value: '1.2.3.4'
- equal:
path: spec.loadBalancerSourceRanges
value: ['1.2.3.4/32', '5.6.7.8/32']
- it: does not render when loadbalancer properties are set but type is not loadBalancerClass
template: templates/gitea/http-svc.yaml
set:
service:
http:
type: ClusterIP
loadBalancerClass: 'example.com/class'
loadBalancerIP: '1.2.3.4'
loadBalancerSourceRanges:
- '1.2.3.4/32'
- '5.6.7.8/32'
asserts:
- notExists:
path: spec.loadBalancerClass
- notExists:
path: spec.loadBalancerIP
- notExists:
path: spec.loadBalancerSourceRanges
- it: does not render loadBalancerClass by default even when type is LoadBalancer
template: templates/gitea/http-svc.yaml
set:
service:
http:
type: LoadBalancer
loadBalancerIP: '1.2.3.4'
asserts:
- notExists:
path: spec.loadBalancerClass
- equal:
path: spec.loadBalancerIP
value: '1.2.3.4'
- it: both ssh and http services exist
templates:
- templates/gitea/ssh-svc.yaml
- templates/gitea/http-svc.yaml
asserts:
- matchRegex:
path: metadata.name
pattern: '^gitea-unittests-forgejo-(?:ssh|http)$'
- matchRegex:
path: spec.ports[0].name
pattern: '^(?:ssh|http)$'

View file

@ -1,6 +1,6 @@
suite: Init template suite: Init template (rootless)
release: release:
name: gitea-unittests name: forgejo-unittests
namespace: testing namespace: testing
templates: templates:
- templates/gitea/init.yaml - templates/gitea/init.yaml
@ -67,7 +67,6 @@ tests:
chown 1000:1000 "${GNUPGHOME}" chown 1000:1000 "${GNUPGHOME}"
fi fi
- it: it does not chown /data even when image.fullOverride is set - it: it does not chown /data even when image.fullOverride is set
template: templates/gitea/init.yaml
set: set:
image.fullOverride: gitea/gitea:1.20.5 image.fullOverride: gitea/gitea:1.20.5
asserts: asserts:

View file

@ -0,0 +1,19 @@
suite: PVC template
release:
name: gitea-unittests
namespace: testing
templates:
- templates/gitea/pvc.yaml
tests:
- it: Storage Class using TPL
set:
global.persistence.storageClass: 'storage-class'
persistence.enabled: true
persistence.create: true
persistence.storageClass: '{{ .Values.global.persistence.storageClass }}'
asserts:
- isKind:
of: PersistentVolumeClaim
- equal:
path: spec.storageClassName
value: 'storage-class'

View file

@ -0,0 +1,14 @@
suite: Values conflicting checks
release:
name: gitea-unittests
namespace: testing
tests:
- it: fails when trying to configure redis and redis-cluster the same time
set:
redis-cluster:
enabled: true
redis:
enabled: true
asserts:
- failedTemplate:
errorMessage: redis and redis-cluster cannot be enabled at the same time. Please only choose one.

View file

@ -20,6 +20,10 @@ global:
# hostnames: # hostnames:
# - example.com # - example.com
## @param namespaceOverride String to fully override common.names.namespace
##
namespaceOverride: ''
## @param replicaCount number of replicas for the deployment ## @param replicaCount number of replicas for the deployment
replicaCount: 1 replicaCount: 1
@ -39,13 +43,13 @@ clusterDomain: cluster.local
## @section Image ## @section Image
## @param image.registry image registry, e.g. gcr.io,docker.io ## @param image.registry image registry, e.g. gcr.io,docker.io
## @param image.repository Image to start for this pod ## @param image.repository Image to start for this pod
## @param image.tag Visit: [Image tag](https://codeberg.org/forgejo/-/packages/container/forgejo/versions). Defaults to `appVersion` within Chart.yaml. ## @param image.tag Visit: [Image tag](https://code.forgejo.org/forgejo/-/packages/container/forgejo/versions). Defaults to `appVersion` within Chart.yaml.
## @param image.digest Image digest. Allows to pin the given image tag. Useful for having control over mutable tags like `latest` ## @param image.digest Image digest. Allows to pin the given image tag. Useful for having control over mutable tags like `latest`
## @param image.pullPolicy Image pull policy ## @param image.pullPolicy Image pull policy
## @param image.rootless Wether or not to pull the rootless version of Forgejo ## @param image.rootless Wether or not to pull the rootless version of Forgejo
## @param image.fullOverride Completely overrides the image registry, path/image, tag and digest. **Adjust `image.rootless` accordingly and review [Rootless defaults](#rootless-defaults).** ## @param image.fullOverride Completely overrides the image registry, path/image, tag and digest. **Adjust `image.rootless` accordingly and review [Rootless defaults](#rootless-defaults).**
image: image:
registry: codeberg.org registry: code.forgejo.org
repository: forgejo/forgejo repository: forgejo/forgejo
# Overrides the image tag whose default is the chart appVersion. # Overrides the image tag whose default is the chart appVersion.
tag: '' tag: ''
@ -97,7 +101,7 @@ podDisruptionBudget: {}
service: service:
## @param service.http.type Kubernetes service type for web traffic ## @param service.http.type Kubernetes service type for web traffic
## @param service.http.port Port number for web traffic ## @param service.http.port Port number for web traffic
## @param service.http.clusterIP ClusterIP setting for http autosetup for deployment is None ## @param service.http.clusterIP ClusterIP setting for http autosetup for deployment
## @param service.http.loadBalancerIP LoadBalancer IP setting ## @param service.http.loadBalancerIP LoadBalancer IP setting
## @param service.http.nodePort NodePort for http service ## @param service.http.nodePort NodePort for http service
## @param service.http.externalTrafficPolicy If `service.http.type` is `NodePort` or `LoadBalancer`, set this to `Local` to enable source IP preservation ## @param service.http.externalTrafficPolicy If `service.http.type` is `NodePort` or `LoadBalancer`, set this to `Local` to enable source IP preservation
@ -107,10 +111,11 @@ service:
## @param service.http.loadBalancerSourceRanges Source range filter for http loadbalancer ## @param service.http.loadBalancerSourceRanges Source range filter for http loadbalancer
## @param service.http.annotations HTTP service annotations ## @param service.http.annotations HTTP service annotations
## @param service.http.labels HTTP service additional labels ## @param service.http.labels HTTP service additional labels
## @param service.http.loadBalancerClass Loadbalancer class
http: http:
type: ClusterIP type: ClusterIP
port: 3000 port: 3000
clusterIP: None clusterIP:
loadBalancerIP: loadBalancerIP:
nodePort: nodePort:
externalTrafficPolicy: externalTrafficPolicy:
@ -120,9 +125,10 @@ service:
loadBalancerSourceRanges: [] loadBalancerSourceRanges: []
annotations: {} annotations: {}
labels: {} labels: {}
loadBalancerClass:
## @param service.ssh.type Kubernetes service type for ssh traffic ## @param service.ssh.type Kubernetes service type for ssh traffic
## @param service.ssh.port Port number for ssh traffic ## @param service.ssh.port Port number for ssh traffic
## @param service.ssh.clusterIP ClusterIP setting for ssh autosetup for deployment is None ## @param service.ssh.clusterIP ClusterIP setting for ssh autosetup for deployment
## @param service.ssh.loadBalancerIP LoadBalancer IP setting ## @param service.ssh.loadBalancerIP LoadBalancer IP setting
## @param service.ssh.nodePort NodePort for ssh service ## @param service.ssh.nodePort NodePort for ssh service
## @param service.ssh.externalTrafficPolicy If `service.ssh.type` is `NodePort` or `LoadBalancer`, set this to `Local` to enable source IP preservation ## @param service.ssh.externalTrafficPolicy If `service.ssh.type` is `NodePort` or `LoadBalancer`, set this to `Local` to enable source IP preservation
@ -133,10 +139,11 @@ service:
## @param service.ssh.loadBalancerSourceRanges Source range filter for ssh loadbalancer ## @param service.ssh.loadBalancerSourceRanges Source range filter for ssh loadbalancer
## @param service.ssh.annotations SSH service annotations ## @param service.ssh.annotations SSH service annotations
## @param service.ssh.labels SSH service additional labels ## @param service.ssh.labels SSH service additional labels
## @param service.ssh.loadBalancerClass Loadbalancer class
ssh: ssh:
type: ClusterIP type: ClusterIP
port: 22 port: 22
clusterIP: None clusterIP:
loadBalancerIP: loadBalancerIP:
nodePort: nodePort:
externalTrafficPolicy: externalTrafficPolicy:
@ -147,6 +154,7 @@ service:
loadBalancerSourceRanges: [] loadBalancerSourceRanges: []
annotations: {} annotations: {}
labels: {} labels: {}
loadBalancerClass:
## @section Ingress ## @section Ingress
## @param ingress.enabled Enable ingress ## @param ingress.enabled Enable ingress
@ -156,7 +164,6 @@ service:
## @param ingress.hosts[0].paths[0].path Default Ingress path ## @param ingress.hosts[0].paths[0].path Default Ingress path
## @param ingress.hosts[0].paths[0].pathType Ingress path type ## @param ingress.hosts[0].paths[0].pathType Ingress path type
## @param ingress.tls Ingress tls settings ## @param ingress.tls Ingress tls settings
## @extra ingress.apiVersion Specify APIVersion of ingress object. Mostly would only be used for argocd.
ingress: ingress:
enabled: false enabled: false
# className: nginx # className: nginx
@ -174,9 +181,48 @@ ingress:
# - secretName: chart-example-tls # - secretName: chart-example-tls
# hosts: # hosts:
# - git.example.com # - git.example.com
# Mostly for argocd or any other CI that uses `helm template | kubectl apply` or similar
# If helm doesn't correctly detect your ingress API version you can set it here. ## @section Route
# apiVersion: networking.k8s.io/v1 ## @param route.enabled Enable route
## @param route.annotations Route annotations
## @param route.host Host to use for the route (will be assigned automatically by OKD / OpenShift is not defined)
## @param route.wildcardPolicy Wildcard policy if any for the route, currently only 'Subdomain' or 'None' is allowed.
## @param route.tls.termination termination type (see [OKD documentation](https://docs.okd.io/latest/rest_api/network_apis/route-route-openshift-io-v1.html#spec-tls))
## @param route.tls.insecureEdgeTerminationPolicy the desired behavior for insecure connections to a route (e.g. with http)
## @param route.tls.existingSecret the name of a predefined secret of type kubernetes.io/tls with both key (tls.crt and tls.key) set accordingly (if defined attributes 'certificate', 'caCertificate' and 'privateKey' are ignored)
## @param route.tls.certificate PEM encoded single certificate
## @param route.tls.privateKey PEM encoded private key
## @param route.tls.caCertificate PEM encoded CA certificate or chain that issued the certificate
## @param route.tls.destinationCACertificate PEM encoded CA certificate used to verify the authenticity of final end point when 'termination' is set to 'passthrough' (ignored otherwise)
route:
enabled: false
annotations: {}
host:
wildcardPolicy:
tls:
termination: edge
insecureEdgeTerminationPolicy: Redirect
existingSecret:
certificate:
# certificate: |-
# -----BEGIN CERTIFICATE-----
# ...
# -----END CERTIFICATE-----
privateKey:
# privateKey: |-
# -----BEGIN PRIVATE KEY-----
# ...
# -----END PRIVATE KEY-----
caCertificate:
# caCertificate: |-
# -----BEGIN CERTIFICATE-----
# ...
# -----END CERTIFICATE-----
destinationCACertificate:
# destinationCACertificate: |-
# -----BEGIN CERTIFICATE-----
# ...
# -----END CERTIFICATE-----
## @section deployment ## @section deployment
# #
@ -323,7 +369,7 @@ initContainers:
# #
## @param signing.enabled Enable commit/action signing ## @param signing.enabled Enable commit/action signing
## @param signing.gpgHome GPG home directory ## @param signing.gpgHome GPG home directory
## @param signing.privateKey Inline private gpg key for signed Forgejo actions ## @param signing.privateKey Inline private GPG key for signed internal Git activity
## @param signing.existingSecret Use an existing secret to store the value of `signing.privateKey` ## @param signing.existingSecret Use an existing secret to store the value of `signing.privateKey`
signing: signing:
enabled: false enabled: false
@ -342,19 +388,23 @@ gitea:
## @param gitea.admin.existingSecret Use an existing secret to store admin user credentials ## @param gitea.admin.existingSecret Use an existing secret to store admin user credentials
## @param gitea.admin.password Password for the Forgejo admin user ## @param gitea.admin.password Password for the Forgejo admin user
## @param gitea.admin.email Email for the Forgejo admin user ## @param gitea.admin.email Email for the Forgejo admin user
## @param gitea.admin.passwordMode Mode for how to set/update the admin user password. Options are: initialOnlyNoReset, initialOnlyRequireReset, and keepUpdated
admin: admin:
# existingSecret: gitea-admin-secret # existingSecret: gitea-admin-secret
existingSecret: existingSecret:
username: gitea_admin username: gitea_admin
password: r8sA8CPHD9!bt6d password: r8sA8CPHD9!bt6d
email: 'gitea@local.domain' email: 'gitea@local.domain'
passwordMode: keepUpdated
## @param gitea.metrics.enabled Enable Forgejo metrics ## @param gitea.metrics.enabled Enable Forgejo metrics
## @param gitea.metrics.serviceMonitor.enabled Enable Forgejo metrics service monitor ## @param gitea.metrics.serviceMonitor.enabled Enable Forgejo metrics service monitor
## @param gitea.metrics.serviceMonitor.namespace Namespace in which Prometheus is running
metrics: metrics:
enabled: false enabled: false
serviceMonitor: serviceMonitor:
enabled: false enabled: false
namespace: ''
# additionalLabels: # additionalLabels:
# prometheus-release: prom1 # prometheus-release: prom1
@ -391,18 +441,6 @@ gitea:
# customProfileUrl: # customProfileUrl:
# customEmailUrl: # customEmailUrl:
## @param gitea.config.server.SSH_PORT SSH port for rootlful Forgejo image
## @param gitea.config.server.SSH_LISTEN_PORT SSH port for rootless Forgejo image
config:
# APP_NAME: "Forgejo: Git with a cup of tea"
# RUN_MODE: dev
server:
SSH_PORT: 22 # rootful image
SSH_LISTEN_PORT: 2222 # rootless image
#
# security:
# PASSWORD_COMPLEXITY: spec
## @param gitea.additionalConfigSources Additional configuration from secret or configmap ## @param gitea.additionalConfigSources Additional configuration from secret or configmap
additionalConfigSources: [] additionalConfigSources: []
# - secret: # - secret:
@ -420,6 +458,158 @@ gitea:
ssh: ssh:
logLevel: 'INFO' logLevel: 'INFO'
## @section `app.ini` overrides
## @descriptionStart
## Every value described in the [Cheat
## Sheet](https://forgejo.org/docs/latest/admin/config-cheat-sheet/) can be
## set as a Helm value. Configuration sections map to (lowercased) YAML
## blocks, while the keys themselves remain in all caps.
## @descriptionEnd
config:
# values in the DEFAULT section
# (https://forgejo.org/docs/latest/admin/config-cheat-sheet/#overall-default)
# are un-namespaced
## @param gitea.config.APP_NAME Application name, used in the page title
APP_NAME: 'Forgejo: Beyond coding. We forge.'
## @param gitea.config.RUN_MODE Application run mode, affects performance and debugging: `dev` or `prod`
RUN_MODE: prod
## @param gitea.config.repository General repository settings
repository: {}
## @param gitea.config.cors Cross-origin resource sharing settings
cors: {}
## @param gitea.config.ui User interface settings
ui: {}
## @param gitea.config.markdown Markdown parser settings
markdown: {}
## @param gitea.config.server [object] General server settings
server:
SSH_PORT: 22 # rootful image
SSH_LISTEN_PORT: 2222 # rootless image
## @param gitea.config.database Database configuration (only necessary with an [externally managed DB](https://code.forgejo.org/forgejo-helm/forgejo-helm#external-database)).
database: {}
## @param gitea.config.indexer Settings for what content is indexed and how
indexer: {}
## @param gitea.config.queue Job queue configuration
queue: {}
## @param gitea.config.admin Admin user settings
admin: {}
## @param gitea.config.security Site security settings
security: {}
## @param gitea.config.camo Settings for the [camo](https://github.com/cactus/go-camo) media proxy server (disabled by default)
camo: {}
## @param gitea.config.openid Configuration for authentication with OpenID (disabled by default)
openid: {}
## @param gitea.config.oauth2_client OAuth2 client settings
oauth2_client: {}
## @param gitea.config.service Configuration for miscellaneous Forgejo services
service: {}
## @param gitea.config.ssh.minimum_key_sizes SSH minimum key sizes
ssh.minimum_key_sizes: {}
## @param gitea.config.webhook Webhook settings
webhook: {}
## @param gitea.config.mailer Mailer configuration (disabled by default)
mailer: {}
## @param gitea.config.email.incoming Configuration for handling incoming mail (disabled by default)
email.incoming: {}
## @param gitea.config.cache Cache configuration
cache: {}
## @param gitea.config.session Session/cookie handling
session: {}
## @param gitea.config.picture User avatar settings
picture: {}
## @param gitea.config.project Project board defaults
project: {}
## @param gitea.config.attachment Issue and PR attachment configuration
attachment: {}
## @param gitea.config.log Logging configuration
log: {}
## @param gitea.config.cron Cron job configuration
cron: {}
## @param gitea.config.git Global settings for Git
git: {}
## @param gitea.config.metrics Settings for the Prometheus endpoint (disabled by default)
metrics: {}
## @param gitea.config.api Settings for the Swagger API documentation endpoints
api: {}
## @param gitea.config.oauth2 Settings for the [OAuth2 provider](https://forgejo.org/docs/latest/admin/oauth2-provider/)
oauth2: {}
## @param gitea.config.i18n Internationalization settings
i18n: {}
## @param gitea.config.markup Configuration for advanced markup processors
markup: {}
## @param gitea.config.highlight.mapping File extension to language mapping overrides for syntax highlighting
highlight.mapping: {}
## @param gitea.config.time Locale settings
time: {}
## @param gitea.config.migrations Settings for Git repository migrations
migrations: {}
## @param gitea.config.federation Federation configuration
federation: {}
## @param gitea.config.packages Package registry settings
packages: {}
## @param gitea.config.mirror Configuration for repository mirroring
mirror: {}
## @param gitea.config.lfs Large File Storage configuration
lfs: {}
## @param gitea.config.repo-avatar Repository avatar storage configuration
repo-avatar: {}
## @param gitea.config.avatar User/org avatar storage configuration
avatar: {}
## @param gitea.config.storage General storage settings
storage: {}
## @param gitea.config.proxy Proxy configuration (disabled by default)
proxy: {}
## @param gitea.config.actions Configuration for [Forgejo Actions](https://forgejo.org/docs/latest/user/actions/)
actions: {}
## @param gitea.config.other Uncategorized configuration options
other: {}
## @section LivenessProbe ## @section LivenessProbe
# #
## @param gitea.livenessProbe.enabled Enable liveness probe ## @param gitea.livenessProbe.enabled Enable liveness probe
@ -443,7 +633,8 @@ gitea:
## @section ReadinessProbe ## @section ReadinessProbe
# #
## @param gitea.readinessProbe.enabled Enable readiness probe ## @param gitea.readinessProbe.enabled Enable readiness probe
## @param gitea.readinessProbe.tcpSocket.port Port to probe for readiness ## @param gitea.readinessProbe.httpGet.path Path to probe for readiness
## @param gitea.readinessProbe.httpGet.port Port to probe for readiness
## @param gitea.readinessProbe.initialDelaySeconds Initial delay before readiness probe is initiated ## @param gitea.readinessProbe.initialDelaySeconds Initial delay before readiness probe is initiated
## @param gitea.readinessProbe.timeoutSeconds Timeout for readiness probe ## @param gitea.readinessProbe.timeoutSeconds Timeout for readiness probe
## @param gitea.readinessProbe.periodSeconds Period for readiness probe ## @param gitea.readinessProbe.periodSeconds Period for readiness probe
@ -452,7 +643,8 @@ gitea:
# Modify the readiness probe for your needs or completely disable it by commenting out. # Modify the readiness probe for your needs or completely disable it by commenting out.
readinessProbe: readinessProbe:
enabled: true enabled: true
tcpSocket: httpGet:
path: /api/healthz
port: http port: http
initialDelaySeconds: 5 initialDelaySeconds: 5
timeoutSeconds: 1 timeoutSeconds: 1
@ -483,10 +675,11 @@ gitea:
## @section Redis&reg; Cluster ## @section Redis&reg; Cluster
## @descriptionStart ## @descriptionStart
## Redis&reg; Cluster is loaded as a dependency from [Bitnami](https://github.com/bitnami/charts/tree/master/bitnami/redis-cluster) if enabled in the values. ## Redis&reg; Cluster is loaded as a dependency from [Bitnami](https://github.com/bitnami/charts/tree/master/bitnami/redis-cluster) if enabled in the values.
## Complete Configuration can be taken from their website. ## Full configuration options are available on their website.
## Redis cluster and [Redis](#redis) cannot be enabled at the same time.
## @descriptionEnd ## @descriptionEnd
# #
## @param redis-cluster.enabled Enable redis ## @param redis-cluster.enabled Enable redis cluster
## @param redis-cluster.usePassword Whether to use password authentication ## @param redis-cluster.usePassword Whether to use password authentication
## @param redis-cluster.cluster.nodes Number of redis cluster master nodes ## @param redis-cluster.cluster.nodes Number of redis cluster master nodes
## @param redis-cluster.cluster.replicas Number of redis cluster master node replicas ## @param redis-cluster.cluster.replicas Number of redis cluster master node replicas
@ -497,10 +690,30 @@ redis-cluster:
nodes: 3 # default: 6 nodes: 3 # default: 6
replicas: 0 # default: 1 replicas: 0 # default: 1
## @section Redis&reg;
## @descriptionStart
## Redis&reg; is loaded as a dependency from [Bitnami](https://github.com/bitnami/charts/tree/master/bitnami/redis) if enabled in the values.
## Full configuration options are available on their website.
## Redis and [Redis cluster](#redis-cluster) cannot be enabled at the same time.
## @descriptionEnd
#
## @param redis.enabled Enable redis standalone or replicated
## @param redis.architecture Whether to use standalone or replication
## @param redis.global.redis.password Required password
## @param redis.master.count Number of Redis master instances to deploy
redis:
enabled: false
architecture: standalone
global:
redis:
password: changeme
master:
count: 1
## @section PostgreSQL HA ## @section PostgreSQL HA
## @descriptionStart ## @descriptionStart
## PostgreSQL HA is loaded as a dependency from [Bitnami](https://github.com/bitnami/charts/tree/master/bitnami/postgresql-ha) if enabled in the values. ## PostgreSQL HA is loaded as a dependency from [Bitnami](https://github.com/bitnami/charts/tree/master/bitnami/postgresql-ha) if enabled in the values.
## Complete Configuration can be taken from their website. ## Full configuration options are available on their website.
## @descriptionEnd ## @descriptionEnd
# #
## @param postgresql-ha.enabled Enable PostgreSQL HA chart ## @param postgresql-ha.enabled Enable PostgreSQL HA chart
@ -512,7 +725,7 @@ redis-cluster:
## @param postgresql-ha.postgresql.postgresPassword postgres Password ## @param postgresql-ha.postgresql.postgresPassword postgres Password
## @param postgresql-ha.pgpool.adminPassword pgpool adminPassword ## @param postgresql-ha.pgpool.adminPassword pgpool adminPassword
## @param postgresql-ha.service.ports.postgresql PostgreSQL service port (overrides `service.ports.postgresql`) ## @param postgresql-ha.service.ports.postgresql PostgreSQL service port (overrides `service.ports.postgresql`)
## @param postgresql-ha.primary.persistence.size PVC Storage Request for PostgreSQL-ha volume ## @param postgresql-ha.primary.persistence.size PVC Storage Request for PostgreSQL HA volume
postgresql-ha: postgresql-ha:
global: global:
postgresql: postgresql:
@ -536,7 +749,7 @@ postgresql-ha:
## @section PostgreSQL ## @section PostgreSQL
## @descriptionStart ## @descriptionStart
## PostgreSQL is loaded as a dependency from [Bitnami](https://github.com/bitnami/charts/tree/master/bitnami/postgresql) if enabled in the values. ## PostgreSQL is loaded as a dependency from [Bitnami](https://github.com/bitnami/charts/tree/master/bitnami/postgresql) if enabled in the values.
## Complete Configuration can be taken from their website. ## Full configuration options are available on their website.
## @descriptionEnd ## @descriptionEnd
# #
## @param postgresql.enabled Enable PostgreSQL ## @param postgresql.enabled Enable PostgreSQL
@ -563,8 +776,8 @@ postgresql:
# By default, removed or moved settings that still remain in a user defined values.yaml will cause Helm to fail running the install/update. # By default, removed or moved settings that still remain in a user defined values.yaml will cause Helm to fail running the install/update.
# Set it to false to skip this basic validation check. # Set it to false to skip this basic validation check.
## @section Advanced ## @section Advanced
## @param checkDeprecation Set it to false to skip this basic validation check. ## @param checkDeprecation Whether to run this basic validation check.
## @param test.enabled Set it to false to disable test-connection Pod. ## @param test.enabled Whether to use test-connection Pod.
## @param test.image.name Image name for the wget container used in the test-connection Pod. ## @param test.image.name Image name for the wget container used in the test-connection Pod.
## @param test.image.tag Image tag for the wget container used in the test-connection Pod. ## @param test.image.tag Image tag for the wget container used in the test-connection Pod.
checkDeprecation: true checkDeprecation: true
@ -574,6 +787,6 @@ test:
name: busybox name: busybox
tag: latest tag: latest
## @param extraDeploy Array of extra objects to deploy with the release ## @param extraDeploy Array of extra objects to deploy with the release.
## ##
extraDeploy: [] extraDeploy: []