Compare commits

...

1098 commits
v0.3.0 ... 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
Renovate Bot
11dfff2c57 fix(deps): update helm release postgresql to v15.2.2 (#401)
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/401
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-04-04 08:44:12 +00:00
egirl
4eae82ea19 docs(readme): replace gitea docs with forgejo (#400)
part of https://codeberg.org/forgejo-contrib/forgejo-helm/issues/357

Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/400
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-04 08:43:49 +00:00
Renovate Bot
ce03de3109
chore(deps): update dependency node to v20.12.1 2024-04-03 14:30:26 +00:00
Renovate Bot
3e00721bfa
fix(deps): update helm release redis-cluster to v10.0.1 2024-04-02 13:31:02 +00:00
Renovate Bot
b1177c3529
chore(deps): update pnpm to v8.15.6 2024-04-01 21:30:32 +00:00
Renovate Bot
bb9cce5846
chore(deps): update dependency node to v20.12.0 2024-03-26 18:01:24 +00:00
Michael Kriese
49c2bbb9cd ci: use blobless clone
Signed-off-by: Michael Kriese <michael.kriese@gmx.de>
2024-03-25 09:38:22 +00:00
Renovate Bot
06c34c5932
chore(deps): update dependency helm-unittest to v0.4.4 2024-03-25 08:31:38 +00:00
Michael Kriese
fc9016a708
chore(renovate): automerge helm-unittest 2024-03-25 09:20:59 +01:00
Renovate Bot
f313839728
fix(deps): update helm release postgresql to v15.1.4 2024-03-25 07:01:40 +00:00
Renovate Bot
3bc9539b77 fix(deps): update forgejo docker tag to v1.21.8-0 (#396)
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/396
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-03-23 17:03:18 +00:00
Renovate Bot
df74777640
fix(deps): update helm release postgresql to v15.1.2 2024-03-21 13:31:06 +00:00
Renovate Bot
82bf05354a
fix(deps): update helm release postgresql to v15.1.1 2024-03-21 11:31:02 +00:00
Michael Kriese
e0ad74ade1
chore(renovate): fix config 2024-03-20 15:55:09 +01:00
Renovate Bot
631b7709a7 feat(deps)!: update helm release postgresql to v15 (#390)
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/390
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-03-20 11:42:08 +00:00
Renovate Bot
18eecc0ebc feat(deps): update helm release redis-cluster to v10 (#387)
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/387
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-03-20 11:40:48 +00:00
Renovate Bot
ff91ea954f feat(deps): update helm release postgresql-ha to v14 (#386)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [postgresql-ha](https://github.com/bitnami/charts) ([source](https://github.com/bitnami/charts/tree/HEAD/bitnami/postgresql-ha)) | major | `13.6.1` -> `14.0.0` |

---

### 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:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNDYuMSIsInVwZGF0ZWRJblZlciI6IjM3LjI0Ni4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/386
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-03-20 11:34:02 +00:00
Renovate Bot
5929ad2e2d chore(deps): update dependency helm-unittest/helm-unittest to v0.4.3 (#391)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [helm-unittest/helm-unittest](https://github.com/helm-unittest/helm-unittest) | patch | `v0.4.2` -> `v0.4.3` |

---

### Release Notes

<details>
<summary>helm-unittest/helm-unittest (helm-unittest/helm-unittest)</summary>

### [`v0.4.3`](https://github.com/helm-unittest/helm-unittest/releases/tag/v0.4.3)

[Compare Source](https://github.com/helm-unittest/helm-unittest/compare/v0.4.2...v0.4.3)

**Improvements**

-   Improve development, by running PR validation using GitHub actions (credits [@&#8203;ivankatliarchuk](https://github.com/ivankatliarchuk))

**Fixes**

-   Fix unittest fails when chart name has same name as one of its dependencies (resolves [#&#8203;283](https://github.com/helm-unittest/helm-unittest/issues/283))
-   Fix documentSelector matches resources outside of selected templates (credits [@&#8203;ivankatliarchuk](https://github.com/ivankatliarchuk), resolves [#&#8203;286](https://github.com/helm-unittest/helm-unittest/issues/286))
-   Fix IsNullOrEmptyValidator for single values (credits [@&#8203;arkbriar](https://github.com/arkbriar))
-   Fix validation on Windows target platform

**Updates**

-   Update packages to latest patch versions
-   Update documentation (credits [@&#8203;gionn](https://github.com/gionn), credits [@&#8203;mgnisia](https://github.com/mgnisia))

</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:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNDYuMSIsInVwZGF0ZWRJblZlciI6IjM3LjI0Ni4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/391
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-03-20 11:33:31 +00:00
Renovate Bot
99b41d0f04
ci(deps): update dependency helm-unittest to v0.4.3 2024-03-19 00:02:04 +00:00
Renovate Bot
abc60e56a5
chore(deps): update pnpm to v8.15.5 2024-03-17 21:30:33 +00:00
Renovate Bot
c5dbb0063b
ci(deps): update dependency kubectl to v1.29.3 2024-03-15 20:30:32 +00:00
Renovate Bot
8a994a021d
ci(deps): update dependency helm to v3.14.3 2024-03-13 20:00:47 +00:00
Renovate Bot
376fb894f8
fix(deps): update helm release postgresql to v14.3.3 2024-03-12 00:30:57 +00:00
Renovate Bot
30208fd17c
fix(deps): update helm release postgresql to v14.3.2 2024-03-11 21:30:43 +00:00
Renovate Bot
23489d3f00
fix(deps): update helm release redis-cluster to v9.8.1 2024-03-11 14:30:45 +00:00
Renovate Bot
be95447fae
fix(deps): update helm release postgresql-ha to v13.6.1 2024-03-07 07:30:45 +00:00
Renovate Bot
a09988747b
fix(deps): update helm release postgresql to v14.3.1 2024-03-07 07:00:47 +00:00
Renovate Bot
1de4eddab9
fix(deps): update helm release postgresql-ha to v13.6.0 2024-03-06 13:01:00 +00:00
Renovate Bot
c58daf5f66 fix(deps): update forgejo docker tag to v1.21.7-0 (#376)
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/376
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-03-06 12:32:41 +00:00
Renovate Bot
2e150a38fb fix(deps): update helm release redis-cluster to v9.8.0 (#377)
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/377
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-03-06 12:32:26 +00:00
Renovate Bot
854756b884 fix(deps): update helm release postgresql to v14.3.0 (#375)
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/375
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-03-06 12:26:43 +00:00
Renovate Bot
24c1b78abb
fix(deps): update helm release postgresql to v14.2.4 2024-03-04 12:01:17 +00:00
Renovate Bot
c891c28ed8
ci(deps): update azure/setup-helm action to v4.1.0 2024-03-01 17:01:05 +00:00
Renovate Bot
62c5fa665d
fix(deps): update helm release postgresql-ha to v13.4.5 2024-02-27 13:31:09 +00:00
Renovate Bot
5d89ab01e8
fix(deps): update helm release postgresql-ha to v13.4.4 2024-02-27 12:31:08 +00:00
Renovate Bot
05bde37ad8 chore(deps): update pnpm to v8.15.4 (#369)
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/369
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-02-27 08:43:30 +00:00
Michael Kriese
fc7a4325ee chore(renovate): automerge pnpm
Signed-off-by: Michael Kriese <michael.kriese@gmx.de>
2024-02-27 08:43:16 +00:00
Renovate Bot
c4ee672b29 chore(deps): update dependency helm-unittest/helm-unittest to v0.4.2 (#367)
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/367
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-02-27 08:41:38 +00:00
Renovate Bot
e177df2468 fix(deps): update helm release redis-cluster to v9.7.0 (#370)
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/370
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-02-27 08:41:24 +00:00
Renovate Bot
9f7b04e189
ci(deps): update dependency helm-unittest to v0.4.2 2024-02-24 01:01:14 +00:00
Renovate Bot
fdf9677ed5
fix(deps): update helm release postgresql to v14.2.3 2024-02-23 17:31:14 +00:00
Renovate Bot
79ebe77c7a
chore(deps): update dependency husky to v9.0.11 2024-02-23 00:32:24 +00:00
Renovate Bot
6715a823da
fix(deps): update forgejo docker tag to v1.21.6-0 2024-02-22 18:01:11 +00:00
Renovate Bot
ee17569d3b
fix(deps): update helm release postgresql-ha to v13.4.3 2024-02-22 16:31:15 +00:00
Renovate Bot
0fdde2b9de
fix(deps): update helm release redis-cluster to v9.6.2 2024-02-22 15:31:07 +00:00
Renovate Bot
37106e3d4a
fix(deps): update helm release postgresql to v14.2.2 2024-02-22 12:31:18 +00:00
Renovate Bot
9d40a74726
ci(deps): update dependency helm to v3.14.2 2024-02-21 22:00:56 +00:00
alexandra catalina
4cc8fb9f35 feat!: port updates from Gitea 10.1.1 chart (#356)
Co-authored-by: pat-s <patrick.schratz@gmail.com>
Co-authored-by: pat-s <pat-s@noreply.gitea.com>
Co-authored-by: justusbunsi <sk.bunsenbrenner@gmail.com>
Co-authored-by: remogeissbuehler <remogeissbuehler@noreply.gitea.com>
Co-authored-by: florianspk <florianspk@gmail.com>
Co-authored-by: Oliver Fueckert <oliver@cubinet.de>
Co-authored-by: Michael Kriese <michael.kriese@gmx.de>
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/356
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
Co-authored-by: alexandra catalina <git@garbage.world>
Co-committed-by: alexandra catalina <git@garbage.world>
2024-02-21 21:52:42 +00:00
Renovate Bot
02d4ec569d
fix(deps): update helm release redis-cluster to v9.6.1 2024-02-21 19:58:21 +00:00
Renovate Bot
bea67e14f7
fix(deps): update helm release postgresql to v14.2.1 2024-02-21 19:01:25 +00:00
Renovate Bot
92a414bea2
fix(deps): update helm release postgresql-ha to v13.4.2 2024-02-21 18:31:07 +00:00
Renovate Bot
52cfdfd3e3
fix(deps): update helm release postgresql-ha to v13.4.1 2024-02-20 18:31:05 +00:00
Renovate Bot
b9adc8dc43
chore(deps): update pnpm to v8.15.3 2024-02-15 11:01:37 +00:00
Renovate Bot
92868f4e5f
ci(deps): update dependency kind to v0.22.0 2024-02-15 02:02:17 +00:00
Renovate Bot
30e3802bd2
ci(deps): update kindest/node docker tag to v1.28.7 2024-02-15 00:32:14 +00:00
Renovate Bot
731b4abc18
ci(deps): update kindest/node docker tag to v1.27.11 2024-02-14 23:01:16 +00:00
Renovate Bot
c6b4ed04a9
ci(deps): update kindest/node docker tag to v1.29.2 2024-02-14 22:30:56 +00:00
Renovate Bot
48aef20536
ci(deps): update dependency helm to v3.14.1 2024-02-14 21:01:00 +00:00
Renovate Bot
afdc595ccf
ci(deps): update dependency kubectl to v1.29.2 2024-02-14 18:31:12 +00:00
Renovate Bot
f14202654a
chore(deps): update dependency node to v20.11.1 2024-02-14 18:01:07 +00:00
Renovate Bot
ff238faf84
fix(deps): update helm release postgresql-ha to v13.2.4 2024-02-14 14:31:04 +00:00
Renovate Bot
60e5d12518 chore(deps): update pnpm to v8.15.2 (#342)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [pnpm](https://pnpm.io) ([source](https://github.com/pnpm/pnpm)) | packageManager | patch | [`8.15.1` -> `8.15.2`](https://renovatebot.com/diffs/npm/pnpm/8.15.1/8.15.2) |

---

### Release Notes

<details>
<summary>pnpm/pnpm (pnpm)</summary>

### [`v8.15.2`](https://github.com/pnpm/pnpm/releases/tag/v8.15.2)

[Compare Source](https://github.com/pnpm/pnpm/compare/v8.15.1...v8.15.2)

#### Patch Changes

-   When purging multiple `node_modules` directories, pnpm will no longer print multiple prompts simultaneously.
-   Don't print an unnecessary warning when adding new dependencies to a project that uses hoisted `node_modules`.
-   Linking globally the command of a package that has no name in `package.json` [#&#8203;4761](https://github.com/pnpm/pnpm/issues/4761).
-   Installation should work with lockfile created by pnpm v9.0.0-alpha.4

#### Platinum Sponsors

<table>
  <tbody>
    <tr>
      <td align="center" valign="middle">
        <a href="https://bit.dev/?utm_source=pnpm&utm_medium=release_notes" target="_blank"><img src="https://pnpm.io/img/users/bit.svg" width="80"></a>
      </td>
      <td align="center" valign="middle">
        <a href="https://figma.com/?utm_source=pnpm&utm_medium=release_notes" target="_blank"><img src="https://pnpm.io/img/users/figma.svg" width="80"></a>
      </td>
    </tr>
  </tbody>
</table>

#### Gold Sponsors

<table>
  <tbody>
    <tr>
      <td align="center" valign="middle">
        <a href="https://discord.com/?utm_source=pnpm&utm_medium=release_notes" target="_blank">
          <picture>
            <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/discord.svg" />
            <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/discord_light.svg" />
            <img src="https://pnpm.io/img/users/discord.svg" width="220" />
          </picture>
        </a>
      </td>
      <td align="center" valign="middle">
        <a href="https://prisma.io/?utm_source=pnpm&utm_medium=release_notes" target="_blank">
          <picture>
            <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/prisma.svg" />
            <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/prisma_light.svg" />
            <img src="https://pnpm.io/img/users/prisma.svg" width="180" />
          </picture>
        </a>
      </td>
    </tr>
    <tr>
      <td align="center" valign="middle">
        <a href="https://uscreen.de/?utm_source=pnpm&utm_medium=release_notes" target="_blank">
          <picture>
            <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/uscreen.svg" />
            <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/uscreen_light.svg" />
            <img src="https://pnpm.io/img/users/uscreen.svg" width="180" />
          </picture>
        </a>
      </td>
      <td align="center" valign="middle">
        <a href="https://www.jetbrains.com/?utm_source=pnpm&utm_medium=release_notes" target="_blank">
          <picture>
            <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/jetbrains.svg" />
            <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/jetbrains.svg" />
            <img src="https://pnpm.io/img/users/jetbrains.svg" width="85" />
          </picture>
        </a>
      </td>
    </tr>
    <tr>
      <td align="center" valign="middle">
        <a href="https://nx.dev/?utm_source=pnpm&utm_medium=release_notes" target="_blank">
          <picture>
            <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/nx.svg" />
            <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/nx_light.svg" />
            <img src="https://pnpm.io/img/users/nx.svg" width="120" />
          </picture>
        </a>
      </td>
    </tr>
  </tbody>
</table>

#### Our Silver Sponsors

<table>
  <tbody>
    <tr>
      <td align="center" valign="middle">
        <a href="https://leniolabs.com/?utm_source=pnpm&utm_medium=release_notes" target="_blank">
          <img src="https://pnpm.io/img/users/leniolabs.jpg" width="80">
        </a>
      </td>
      <td align="center" valign="middle">
        <a href="https://vercel.com/?utm_source=pnpm&utm_medium=release_notes" target="_blank">
          <picture>
            <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/vercel.svg" />
            <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/vercel_light.svg" />
            <img src="https://pnpm.io/img/users/vercel.svg" width="180" />
          </picture>
        </a>
      </td>
    </tr>
    <tr>
      <td align="center" valign="middle">
        <a href="https://depot.dev/?utm_source=pnpm&utm_medium=release_notes" target="_blank">
          <picture>
            <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/depot.svg" />
            <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/depot_light.svg" />
            <img src="https://pnpm.io/img/users/depot.svg" width="200" />
          </picture>
        </a>
      </td>
      <td align="center" valign="middle">
        <a href="https://moonrepo.dev/?utm_source=pnpm&utm_medium=release_notes" target="_blank">
          <picture>
            <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/moonrepo.svg" />
            <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/moonrepo_light.svg" />
            <img src="https://pnpm.io/img/users/moonrepo.svg" width="200" />
          </picture>
        </a>
      </td>
    </tr>
    <tr>
      <td align="center" valign="middle">
        <a href="https://www.thinkmill.com.au/?utm_source=pnpm&utm_medium=release_notes" target="_blank">
          <picture>
            <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/thinkmill.svg" />
            <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/thinkmill_light.svg" />
            <img src="https://pnpm.io/img/users/thinkmill.svg" width="200" />
          </picture>
        </a>
      </td>
      <td align="center" valign="middle">
        <a href="https://devowl.io/?utm_source=pnpm&utm_medium=release_notes" target="_blank">
          <picture>
            <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/devowlio.svg" />
            <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/devowlio.svg" />
            <img src="https://pnpm.io/img/users/devowlio.svg" width="200" />
          </picture>
        </a>
      </td>
    </tr>
    <tr>
      <td align="center" valign="middle">
        <a href="https://macpaw.com/?utm_source=pnpm&utm_medium=release_notes" target="_blank">
          <picture>
            <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/macpaw.svg" />
            <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/macpaw_light.svg" />
            <img src="https://pnpm.io/img/users/macpaw.svg" width="200" />
          </picture>
        </a>
      </td>
    </tr>
  </tbody>
</table>

</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:eyJjcmVhdGVkSW5WZXIiOiIzNy4xODMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjE4My4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/342
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-02-13 19:12:49 +00:00
Renovate Bot
a0eb189bc3
ci(deps): update azure/setup-helm action to v4 2024-02-13 00:02:31 +00:00
Renovate Bot
4db5c59836
fix(deps): update helm release postgresql to v14.0.5 2024-02-12 11:31:10 +00:00
Renovate Bot
f087e7a422 fix(deps): update helm release postgresql-ha to v13.2.3 (#335)
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/335
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-02-12 08:30:12 +00:00
Renovate Bot
4acef75389
ci(deps): update helm/kind-action action to v1.9.0 2024-02-11 16:00:59 +00:00
Renovate Bot
27d2ff8bd7
ci(deps): update nick-fields/retry action to v3 2024-02-10 00:32:27 +00:00
Renovate Bot
4c17763462
fix(deps): update helm release postgresql to v14.0.4 2024-02-08 23:31:30 +00:00
Renovate Bot
466511818b
fix(deps): update helm release postgresql to v14.0.3 2024-02-08 22:31:28 +00:00
Renovate Bot
2dc61dc2c4
fix(deps): update helm release redis-cluster to v9.5.2 2024-02-08 15:31:53 +00:00
Michael Kriese
823985af8d build: reorder changelog sections
Signed-off-by: Michael Kriese <michael.kriese@gmx.de>
2024-02-07 14:46:49 +00:00
Michael Kriese
b160dccfd2 build: reorder changelog sections
Signed-off-by: Michael Kriese <michael.kriese@gmx.de>
2024-02-07 14:45:33 +00:00
Renovate Bot
e7949ff03d
feat(deps): update helm release postgresql to v14 2024-02-07 13:01:38 +00:00
Renovate Bot
f2f7424696
chore(deps): update dependency node to v20.11.0 2024-02-07 12:09:16 +00:00
Michael Kriese
0ff2f82a15
build!: use pnpm 2024-02-07 12:46:49 +01:00
Michael Kriese
98460356b9
ci: fix action reference 2024-02-07 12:31:39 +01:00
Michael Kriese
e4c55e677d
ci: retry chart install and reduce timeout 2024-02-07 12:22:17 +01:00
Michael Kriese
cc789743a5
chore: disable npm cache 2024-02-07 12:12:18 +01:00
Renovate Bot
813db26670 chore(deps): update dependency markdownlint-cli to ^0.39.0 (#311)
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/311
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-02-07 11:09:21 +00:00
Michael Kriese
c215285453 chore(renovate): enable nodenv manager
Signed-off-by: Michael Kriese <michael.kriese@gmx.de>
2024-02-07 11:03:33 +00:00
Michael Kriese
c0e8f283e8
chore: fix lint settings 2024-02-07 11:46:40 +01:00
Renovate Bot
4af709e5b4
ci(deps): update actions/setup-node action to v4.0.2 2024-02-07 05:01:28 +00:00
Renovate Bot
56a13ac04a
chore(deps): update dependency lint-staged to v15.2.2 2024-02-05 14:31:35 +00:00
Renovate Bot
5408e6c066
fix(deps): update helm release postgresql-ha to v13.1.1 2024-02-04 06:31:46 +00:00
Renovate Bot
a71d774756
chore(deps): update dependency prettier to v3.2.5 2024-02-04 06:01:25 +00:00
Renovate Bot
6c87612a48
fix(deps): update helm release redis-cluster to v9.5.1 2024-02-03 06:01:28 +00:00
Renovate Bot
14984b0b4a
ci(deps): update dependency kind to v0.21.0 2024-02-02 22:01:41 +00:00
Renovate Bot
3b919aecb8
ci(deps): update kindest/node docker tag to v1.28.6 2024-02-02 21:01:30 +00:00
Renovate Bot
858add5345
ci(deps): update kindest/node docker tag to v1.27.10 2024-02-02 20:01:20 +00:00
Renovate Bot
d81a8df825
ci(deps): update kindest/node docker tag to v1.29.1 2024-02-02 01:31:20 +00:00
Renovate Bot
176a4eeeae
chore(deps): update dependency husky to v9.0.10 2024-02-01 17:31:28 +00:00
Renovate Bot
29f2930f06
feat(deps): update helm release postgresql-ha to v13 2024-02-01 14:37:29 +00:00
Renovate Bot
720b092d78
fix(deps): update helm release redis-cluster to v9.5.0 2024-02-01 11:31:30 +00:00
Renovate Bot
d8967d9a25
fix(deps): update helm release postgresql to v13.4.4 2024-02-01 06:31:27 +00:00
Renovate Bot
506ddd47f2
fix(deps): update forgejo docker tag to v1.21.5-0 2024-01-31 20:07:10 +00:00
Renovate Bot
0bed3dbbd7
fix(deps): update helm release redis-cluster to v9.4.1 2024-01-31 19:31:53 +00:00
Renovate Bot
83948de77a
fix(deps): update helm release postgresql-ha to v12.8.2 2024-01-31 19:01:59 +00:00
Renovate Bot
f5b4f380d1
chore(deps): update dependency husky to v9.0.7 2024-01-31 18:01:36 +00:00
Renovate Bot
b5ab6b5fb4
chore(deps): update dependency lint-staged to v15.2.1 2024-01-31 17:05:44 +00:00
Renovate Bot
ad682347e4
fix(deps): update helm release postgresql to v13.4.3 2024-01-29 03:31:22 +00:00
Renovate Bot
807f673446
fix(deps): update helm release postgresql-ha to v12.8.1 2024-01-26 09:31:20 +00:00
Renovate Bot
d6b1974873 fix(deps): update helm release postgresql-ha to v12.8.0 (#305)
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/305
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-01-26 07:18:02 +00:00
Renovate Bot
f0b8fe722f
chore(deps): update dependency husky to v9.0.6 2024-01-26 00:02:16 +00:00
Renovate Bot
2aab3e9396
chore(deps): update dependency husky to v9.0.4 2024-01-25 14:31:18 +00:00
Renovate Bot
e9aecde015
chore(deps): update dependency husky to v9.0.2 2024-01-25 11:01:23 +00:00
Michael Kriese
e6ea5a820b
chore: migrate husky v9 2024-01-25 08:47:17 +01:00
Michael Kriese
e0b6874330 chore(renovate): disable major automerge
Signed-off-by: Michael Kriese <michael.kriese@gmx.de>
2024-01-25 07:45:19 +00:00
Renovate Bot
35bf5ea4ca
chore(deps): update dependency husky to v9 2024-01-25 02:31:17 +00:00
Renovate Bot
4cff04307b
fix(deps): update helm release postgresql to v13.4.1 2024-01-23 17:31:21 +00:00
Renovate Bot
1a766fd10f
fix(deps): update helm release redis-cluster to v9.3.0 2024-01-22 13:01:26 +00:00
Renovate Bot
5029b3133a
fix(deps): update helm release postgresql to v13.4.0 2024-01-22 12:01:25 +00:00
Renovate Bot
26d5ca827f
fix(deps): update helm release postgresql-ha to v12.7.0 2024-01-19 14:31:31 +00:00
Renovate Bot
44a5c7e311
fix(deps): update helm release postgresql to v13.3.1 2024-01-19 13:31:30 +00:00
Michael Kriese
74ad9ccbe6
ci: publish to code.forgejo.org 2024-01-19 14:08:56 +01:00
Michael Kriese
9d27b0bce7
ci: publish to forgejo registry 2024-01-19 12:16:15 +01:00
Renovate Bot
16e9508a8e
fix(deps): update helm release postgresql to v13.3.0 2024-01-18 00:02:52 +00:00
Renovate Bot
fbf4224bf7
fix(deps): update helm release redis-cluster to v9.2.1 2024-01-17 23:31:18 +00:00
Renovate Bot
46fac9fbc6
ci(deps): update dependency helm to v3.14.0 2024-01-17 20:31:28 +00:00
Renovate Bot
fe9569c6df
ci(deps): update dependency kubectl to v1.29.1 2024-01-17 20:01:15 +00:00
Renovate Bot
ef65210ede
fix(deps): update helm release redis-cluster to v9.2.0 2024-01-17 13:31:22 +00:00
Renovate Bot
5adf9bff70
chore(deps): update dependency prettier to v3.2.4 2024-01-17 10:31:23 +00:00
Michael Kriese
237bc71b90 ci: fix checkout for release
We need the full git history to compute changelog

Signed-off-by: Michael Kriese <michael.kriese@gmx.de>
2024-01-16 22:02:47 +00:00
Renovate Bot
8dcd2e475f
fix(deps): update forgejo docker tag to v1.21.4-0 2024-01-16 20:28:47 +00:00
Renovate Bot
25b8a96c07
fix(deps): update helm release postgresql-ha to v12.6.0 2024-01-16 16:31:16 +00:00
Michael Kriese
fed6453271 ci: extend timeout
Signed-off-by: Michael Kriese <michael.kriese@gmx.de>
2024-01-15 20:52:28 +00:00
Renovate Bot
0f65f5f370
fix(deps): update helm release redis-cluster to v9.1.6 2024-01-15 12:01:30 +00:00
Renovate Bot
fd2a41213b
fix(deps): update helm release postgresql-ha to v12.5.1 2024-01-15 11:31:25 +00:00
Renovate Bot
377916fdf7
fix(deps): update helm release postgresql to v13.2.30 2024-01-15 10:31:16 +00:00
Renovate Bot
087d7091eb
chore(deps): update dependency prettier to v3.2.2 2024-01-14 03:31:17 +00:00
Renovate Bot
2e981f3241
fix(deps): update helm release redis-cluster to v9.1.5 2024-01-13 07:01:20 +00:00
Renovate Bot
bea4d94daf chore(deps): update dependency helm-unittest/helm-unittest to v0.4.1 (#272)
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/272
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-01-13 06:35:08 +00:00
Renovate Bot
48fabf4d50 fix(deps): update helm release postgresql-ha to v12.5.0 (#275)
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/275
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2024-01-13 06:34:53 +00:00
Renovate Bot
2081b747d9
chore(deps): update dependency prettier to v3.2.1 2024-01-12 19:31:23 +00:00
Renovate Bot
3889b7cb5f
fix(deps): update helm release postgresql to v13.2.29 2024-01-12 17:33:55 +00:00
Renovate Bot
a2b40674dc
fix(deps): update helm release postgresql to v13.2.28 2024-01-10 01:01:26 +00:00
Renovate Bot
2449d3050e
ci(deps): update dependency helm-unittest to v0.4.1 2024-01-09 23:01:11 +00:00
Renovate Bot
d09b425513
ci(deps): update kindest/node docker tag to v1.27.3 2024-01-09 03:31:20 +00:00
Renovate Bot
ba85b45ae1
fix(deps): update helm release postgresql-ha to v12.4.2 2024-01-09 03:01:19 +00:00
Michael Kriese
87fa3860ce ci: test kubernetes v1.27 (#266)
- #267

Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/266
Co-authored-by: Michael Kriese <viceice@noreply.codeberg.org>
Co-committed-by: Michael Kriese <viceice@noreply.codeberg.org>
2024-01-08 13:37:43 +00:00
Michael Kriese
c16fa88fda ci: test kubernetes v1.29 (#265)
closes #250

Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/265
2024-01-08 12:20:07 +00:00
Renovate Bot
75691d45f7
fix(deps): update helm release postgresql-ha to v12.4.0 2024-01-08 11:01:20 +00:00
Renovate Bot
e6c06b026c chore(deps): update dependency helm-unittest/helm-unittest to v0.4.0 2024-01-03 05:48:34 +00:00
Renovate Bot
8433f79bb7
ci(deps): update dependency helm-unittest to v0.4.0 2024-01-02 23:31:07 +00:00
Renovate Bot
72a5f1a9b5
fix(deps): update helm release postgresql to v13.2.27 2023-12-31 13:01:22 +00:00
Renovate Bot
8c08ceb0b8
fix(deps): update helm release postgresql-ha to v12.3.7 2023-12-31 02:01:18 +00:00
Renovate Bot
9af2034ef4 fix(deps): update helm release postgresql-ha to v12.3.5 (#259)
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/259
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2023-12-27 19:19:27 +00:00
Renovate Bot
00cc629b02
fix(deps): update helm release postgresql to v13.2.26 2023-12-27 18:01:24 +00:00
Renovate Bot
d2464081fc
fix(deps): update forgejo docker tag to v1.21.3-0 2023-12-22 21:31:16 +00:00
Renovate Bot
93c3024cd9
fix(deps): update helm release postgresql-ha to v12.3.4 2023-12-20 23:31:03 +00:00
Renovate Bot
1e2b07b7f1
fix(deps): update helm release postgresql to v13.2.25 2023-12-20 23:01:22 +00:00
Renovate Bot
870cd8704c
fix(deps): update helm release redis-cluster to v9.1.4 2023-12-19 20:02:32 +00:00
Renovate Bot
391734e14a
ci(deps): update actions/setup-node action to v4.0.1 2023-12-18 11:31:03 +00:00
Renovate Bot
8101cd6319
fix(deps): update helm release postgresql-ha to v12.3.3 2023-12-15 19:31:07 +00:00
Renovate Bot
f53e5b4673
ci(deps): update dependency helm to v3.13.3 2023-12-13 22:01:01 +00:00
Renovate Bot
6f91915255
ci(deps): update dependency kubectl to v1.29.0 2023-12-13 17:01:10 +00:00
Renovate Bot
4b064640f5
ci(deps): update helm/chart-testing-action digest to df9dfa7 2023-12-13 13:55:12 +00:00
Renovate Bot
a3b89a41c7 fix(deps): update forgejo docker tag to v1.21.2-1 (#248)
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/248
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2023-12-12 21:08:43 +00:00
Renovate Bot
3223fdfcde
chore(deps): update dependency prettier to v3.1.1 2023-12-11 10:10:16 +00:00
Renovate Bot
da1773e2aa
chore(deps): update dependency markdownlint-cli to ^0.38.0 2023-12-09 06:05:45 +00:00
Renovate Bot
abd0adb576 fix(deps): update forgejo docker tag to v1.21.2-0 (#244)
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/244
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2023-12-08 17:52:43 +00:00
Renovate Bot
890356bae8
ci(deps): pin actions/setup-node action to 8f152de 2023-12-08 13:29:53 +00:00
Renovate Bot
a9ad89db66 ci(deps): update actions/checkout action to v4.1.1 (#243)
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/243
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2023-12-08 13:20:09 +00:00
Michael Kriese
59b7449de9
chore(renovate): fix enabled managers 2023-12-08 13:45:09 +01:00
root
25f9a22372 chore(deps): update dependency @bitnami/readme-generator-for-helm to v2.6.0 2023-12-08 10:12:02 +00:00
Michael Kriese
9dbeeadb68 ci(deps): update dependency helm to v3.13.2 (#240)
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/240
Co-authored-by: Michael Kriese <michael.kriese@gmx.de>
Co-committed-by: Michael Kriese <michael.kriese@gmx.de>
2023-12-08 09:31:39 +00:00
Michael Kriese
a99bc00d3e
build: use actions env for git release 2023-12-08 10:01:45 +01:00
Michael Kriese
34c05f6ad0
ci: fix input 2023-12-08 09:50:38 +01:00
Michael Kriese
649c1f6c41 ci(deps): update kindest/node docker tag to v1.25.11 (#238)
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/238
Co-authored-by: Michael Kriese <michael.kriese@gmx.de>
Co-committed-by: Michael Kriese <michael.kriese@gmx.de>
2023-12-08 08:31:32 +00:00
Michael Kriese
cd242aca12 ci(deps): update dependency kubectl to v1.28.4 (#237)
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/237
Co-authored-by: Michael Kriese <michael.kriese@gmx.de>
Co-committed-by: Michael Kriese <michael.kriese@gmx.de>
2023-12-08 07:43:41 +00:00
Michael Kriese
b0f7f95f7f
build: fix release 2023-12-08 08:06:41 +01:00
Michael Kriese
6f5ac63f4e ci: fix publish
Signed-off-by: Michael Kriese <viceice@noreply.codeberg.org>
2023-12-07 17:41:43 +00:00
Michael Kriese
3a1928c788 ci: switch to actions (#234)
- closes #89

Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/234
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-committed-by: Michael Kriese <michael.kriese@visualon.de>
2023-12-07 15:56:12 +00:00
Michael Kriese
a8c4af66f5
ci: run e2e on tag 2023-12-07 16:07:58 +01:00
Michael Kriese
e27183085b
fix: ignore more files from chart 2023-12-07 16:02:25 +01:00
Michael Kriese
4a37911835 fix(deps): update helm release postgresql-ha to v12.3.2 2023-12-07 00:08:05 +00:00
Earl Warren
3a69f00287 CI remove example workflow 2023-12-06 15:12:28 +00:00
Earl Warren
b900c2dc05 CI: sample workflow running in docker 2023-12-06 15:10:07 +00:00
Michael Kriese
9d9c9ca6e1
ci: install deps and add markdownlint 2023-12-06 14:50:35 +01:00
Michael Kriese
87251acc82
ci: add prettier check 2023-12-06 14:39:08 +01:00
Michael Kriese
41c51cdb74
chore: add prettier linting 2023-12-06 14:32:09 +01:00
Michael Kriese
9705ad745c
ci: add more tests 2023-12-06 14:15:20 +01:00
Michael Kriese
58d4630eb8 ci: add chart testing (#111)
- closes #18

Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/111
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-committed-by: Michael Kriese <michael.kriese@visualon.de>
2023-12-06 13:09:34 +00:00
Michael Kriese
ce4352b9bc
feat!: merge upstream changes
BREAKING CHANGE: See Gitea chart v9+ breaking changes at https://gitea.com/gitea/helm-chart#upgrading.
2023-12-06 12:18:05 +01:00
Michael Kriese
8c140d2f66
chore: linting 2023-12-06 12:08:19 +01:00
Michael Kriese
96678540cb
docs: fix readme 2023-12-06 12:05:14 +01:00
Michael Kriese
206aba2ba2
test: fix tests 2023-12-06 11:54:17 +01:00
Michael Kriese
4b35bcb402
feat!: merge upstream changes
BREAKING CHANGES: See Gitea chart breaking changes at https://gitea.com/gitea/helm-chart#upgrading.
2023-12-06 11:40:55 +01:00
Michael Kriese
baff39ecfa fix(deps): update helm release postgresql to v13.2.24 2023-12-06 00:08:09 +00:00
Renovate Bot
7e403d5ef6 chore(deps): update postgresql-ha docker tag to v12 (#528)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [postgresql-ha](https://github.com/bitnami/charts) ([source](https://github.com/bitnami/charts/tree/HEAD/bitnami/postgresql-ha)) | major | `11.9.4` -> `12.3.1` |

---

### Configuration

📅 **Schedule**: Branch creation - "every weekend" (UTC), Automerge - "before 4am" (UTC).

🚦 **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:eyJjcmVhdGVkSW5WZXIiOiIzNy44LjEiLCJ1cGRhdGVkSW5WZXIiOiIzNy43Ny4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: pat-s <patrick.schratz@gmail.com>
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/528
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
2023-12-04 19:49:43 +00:00
Michael Kriese
3bb15136dd ci(deps): update alpine docker tag to v3.18.5 2023-12-02 00:08:05 +00:00
Michael Kriese
c1b9488a3b fix(deps): update helm release postgresql to v13.2.23 2023-12-01 00:08:27 +00:00
Michael Kriese
88aaa94bf8 fix(deps): update helm release postgresql to v13.2.21 2023-11-28 00:08:41 +00:00
pat-s
0081cabe0b Bump to 1.21.1 (#576)
Changelog: https://github.com/go-gitea/gitea/releases/tag/v1.21.1
Co-authored-by: justusbunsi <justusbunsi@noreply.gitea.com>
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/576
Reviewed-by: justusbunsi <justusbunsi@noreply.gitea.com>
Co-authored-by: pat-s <patrick.schratz@gmail.com>
Co-committed-by: pat-s <patrick.schratz@gmail.com>
2023-11-27 21:00:37 +00:00
justusbunsi
b265d87f55 Improve experience on writing unittests (#570)
While working on #409, I noticed that some unittests contains either
invalid assertion methods (`isNotEmpty`) or invalid properties (`any`)
for a specific assertion method (`notContains`).

As our tests pass - and I have ensured that they can fail - this seems
related to the YAML schema validation in the IDE.

I've noticed that `isNotEmpty` was replaced by `isNotNullOrEmpty`[^1]
in version v0.3.2[^2]. At least from a schema validation point of view.
It is still working. Maybe deprecated? I don't know.

Regarding the `any` property, the documentation seems incorrect. I've
filed a PR for it[^3]. As soon as that PR is merged and released, we
could probably validate the test YAML files in our PR workflow.

Last, since we renovate the used helm-unittest version, we should also
renovate the used YAML schema file.

[^1]: https://github.com/helm-unittest/helm-unittest/pull/139
[^2]: https://github.com/helm-unittest/helm-unittest/releases/tag/v0.3.2
[^3]: https://github.com/helm-unittest/helm-unittest/pull/243

Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/570
Reviewed-by: pat-s <pat-s@noreply.gitea.com>
2023-11-27 18:38:14 +00:00
justusbunsi
8bcd2dc63b Detect major dependency version bumps (#571)
As seen in #507 and #569, there is no guarantee for us that minor
dependency updates are actually minor updates for the dependent
application itself. The Chart version might be minor - and therefore
automatically merged when build is green - but the used Docker image
inside the Chart could still be a major version change.

To effectively prevent such automerge when the application major version
changes, there is now a test file that has the currently used major
versions hard-coded. In case of an actual major bump, this file has to
be adjusted.

Looking at `redis-cluster`, there might be several major Chart versions
with the same major application version.

This PR is related to #409 but does not fully resolve it.

Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/571
Reviewed-by: pat-s <pat-s@noreply.gitea.com>
2023-11-27 18:36:47 +00:00
justusbunsi
34c1212939 Use helm dependency build in release build (#563)
Using `helm dependency update` may result in unwillingly updating the
dependencies while cutting a release. I wasn't able to do so. Most
likely due to the dependency pinning in Chart.yaml and Chart.lock.

Based on Helm documentation, `update` uses Chart.yaml[^1] while `build`
uses Chart.lock[^2].
All in all it is safer to use `helm dependency build`. :D

[^1]: https://helm.sh/docs/helm/helm_dependency_update/
[^2]: https://helm.sh/docs/helm/helm_dependency_build/

Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/563
Reviewed-by: pat-s <pat-s@noreply.gitea.com>
2023-11-27 18:35:42 +00:00
Michael Kriese
53457384ab feat(deps): update forgejo docker tag to v1.21.1-0 (#219)
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/219
Co-authored-by: Michael Kriese <michael.kriese@gmx.de>
Co-committed-by: Michael Kriese <michael.kriese@gmx.de>
2023-11-27 08:53:46 +00:00
Michael Kriese
594f7ccb54 fix(deps): update helm release postgresql to v13.2.18 2023-11-27 00:09:22 +00:00
Renovate Bot
5c4bcaa1e3 chore(config): migrate renovate config (#575)
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
2023-11-25 04:10:18 +00:00
Michael Kriese
d75d3f0acc fix(deps): update helm release postgresql to v13.2.16 2023-11-24 00:08:10 +00:00
Michael Kriese
5617db8d75 fix(deps): update helm release postgresql to v13.2.15 2023-11-23 00:08:23 +00:00
Michael Kriese
9701e915bf fix(deps): update helm release memcached to v6.7.1 2023-11-22 00:08:19 +00:00
Michael Kriese
b9f2d84359 fix(deps): update helm release postgresql to v13.2.14 (#212)
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/212
Co-authored-by: Michael Kriese <michael.kriese@gmx.de>
Co-committed-by: Michael Kriese <michael.kriese@gmx.de>
2023-11-21 08:29:03 +00:00
Michael Kriese
ba218804d5 fix(deps): update helm release memcached to v6.7.0 (#215)
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/215
Co-authored-by: Michael Kriese <michael.kriese@gmx.de>
Co-committed-by: Michael Kriese <michael.kriese@gmx.de>
2023-11-21 08:18:41 +00:00
pat-s
f7d661ee3a
fix release workflow 2023-11-16 22:07:25 +01:00
justusbunsi
6c0699e86e Switch imagePullPolicy to "IfNotPresent" (#568)
### Benefits

Less image pulls.

### Additional information

committed via GUI - so no signature on first commit.

Co-authored-by: pat-s <patrick.schratz@gmail.com>
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/568
Reviewed-by: pat-s <pat-s@noreply.gitea.com>
Co-authored-by: justusbunsi <sk.bunsenbrenner@gmail.com>
Co-committed-by: justusbunsi <sk.bunsenbrenner@gmail.com>
2023-11-16 21:00:39 +00:00
pat-s
d52ead0be7 Renovate: run tests on branches, group deps and adjust schedule to weekends (#556)
Co-authored-by: justusbunsi <sk.bunsenbrenner@gmail.com>
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/556
Co-authored-by: pat-s <patrick.schratz@gmail.com>
Co-committed-by: pat-s <patrick.schratz@gmail.com>
2023-11-16 20:45:10 +00:00
pat-s
ead62a0dbc Bump to 1.21.0 (#566)
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/566
Reviewed-by: justusbunsi <justusbunsi@noreply.gitea.com>
Co-authored-by: pat-s <patrick.schratz@gmail.com>
Co-committed-by: pat-s <patrick.schratz@gmail.com>
2023-11-16 20:42:17 +00:00
pat-s
7eea1acf05 chore: reduce redis-cluster pods and move HA out of "experimental" state (#565)
The pod reduction for `redis-cluster` should help users seeking for a Gitea deployment with less pods. Users seeking for a minimal deployment are further advised to follow https://gitea.com/gitea/helm-chart#user-content-single-pod-configurations.

HA is working fine in the provided configuration and should be moved out of the "experimental" state given that there were no reports of Gitea malfunctioning reported to HA usage in recent months/since v9 release.

Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/565
Reviewed-by: techknowlogick <techknowlogick@noreply.gitea.com>
Co-authored-by: pat-s <patrick.schratz@gmail.com>
Co-committed-by: pat-s <patrick.schratz@gmail.com>
2023-11-16 10:14:34 +00:00
pat-s
dcf1891edd Publish chart on Dockerhub (#525)
As title.

Co-authored-by: techknowlogick <techknowlogick@noreply.gitea.com>
Co-authored-by: justusbunsi <justusbunsi@noreply.gitea.com>
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/525
Reviewed-by: justusbunsi <justusbunsi@noreply.gitea.com>
2023-11-14 23:27:27 +00:00
justusbunsi
7499fecc1a Fix domain macro (#560)
### Description of the change

This supersedes #359 by fixing the fallback domain value when no ingress host is defined.

Memcached is not used anymore. PostgreSQL macro has already been fixed otherwise.

### Checklist

- [x] Templating unittests are added

Co-authored-by: pat-s <pat-s@noreply.gitea.com>
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/560
Reviewed-by: pat-s <pat-s@noreply.gitea.com>
Co-authored-by: justusbunsi <sk.bunsenbrenner@gmail.com>
Co-committed-by: justusbunsi <sk.bunsenbrenner@gmail.com>
2023-11-14 22:23:01 +00:00
TristanHoladay
3cf91bf6e7 Add image.fullOverride (#550)
### Description of the change

This PR is a continuation of the work done by @dgershman in [534](https://gitea.com/gitea/helm-chart/pulls/534), to allow users to override the image from the default rootless behavior of appending `-rootless` to the end of the image tag.

### Benefits

Allows more flexibility to use externally maintained images that are rootless but don't follow the `-rootless` tag convention.

### Applicable issues

- fixes #532

### Additional information

No breaking changes. This does not affect the `image.rootless` conditional checks or the current behavior if someone still wants to rely on the chart to append `-rootless`.

### Checklist

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

Co-authored-by: TristanHoladay <40547442+TristanHoladay@users.noreply.github.com>
Co-authored-by: pat-s <pat-s@noreply.gitea.com>
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/550
Reviewed-by: justusbunsi <justusbunsi@noreply.gitea.com>
Reviewed-by: pat-s <pat-s@noreply.gitea.com>
Co-authored-by: TristanHoladay <tristanholaday@noreply.gitea.com>
Co-committed-by: TristanHoladay <tristanholaday@noreply.gitea.com>
2023-11-14 21:42:26 +00:00
Renovate Bot
23847eba1c chore(deps): update redis-cluster docker tag to v9.1.3 (#561)
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
2023-11-14 00:15:26 +00:00
Renovate Bot
bc872acdd3 chore(deps): update alpine/helm docker tag to v3.13.2 (#562)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| alpine/helm |  | minor | `3.12.3` -> `3.13.2` |
| alpine/helm | container | minor | `3.12.3` -> `3.13.2` |

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).

Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/562
Reviewed-by: justusbunsi <justusbunsi@noreply.gitea.com>
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
2023-11-13 17:19:31 +00:00
Michael Kriese
e93552cdbd fix(deps): update helm release memcached to v6.6.8 2023-11-09 00:07:58 +00:00
Ceddaerrix
7de8e83433 Further improvement on DRY principle support (#529)
### Description of the change

- Adding TPL use into './templates/_helpers.tpl' in "gitea.inline_configuration.defaults.server" since '.Values.ingress.hosts' referred

### Benefits

- Avoid error in deployment using Gitea CHart 9.5.0 such as "Invalid ROOT_URL 'https://{{ .Values.global.giteaHostName }}': parse "https://{{ .Values.global.giteaHostName }}": invalid character "{" in host name"

### Possible drawbacks

N/A

### Applicable issues

 - fixes #530

### Checklist

- [x] Fixing './templates/_helpers.tpl' "gitea.inline_configuration.defaults.server
- [x] Templating unittests are added

Co-authored-by: pat-s <pat-s@noreply.gitea.com>
Co-authored-by: justusbunsi <justusbunsi@noreply.gitea.com>
Co-authored-by: 212597596 <cedric.henry@ge.com>
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/529
Reviewed-by: pat-s <pat-s@noreply.gitea.com>
Reviewed-by: justusbunsi <justusbunsi@noreply.gitea.com>
Co-authored-by: Ceddaerrix <ceddaerrix@noreply.gitea.com>
Co-committed-by: Ceddaerrix <ceddaerrix@noreply.gitea.com>
2023-11-06 19:03:46 +00:00
Renovate Bot
41e389c7cd chore(deps): update dependency helm-unittest/helm-unittest to v0.3.6 (#554)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [helm-unittest/helm-unittest](https://github.com/helm-unittest/helm-unittest) | patch | `0.3.4` -> `v0.3.6` |

---

### Release Notes

<details>
<summary>helm-unittest/helm-unittest (helm-unittest/helm-unittest)</summary>

### [`v0.3.6`](https://github.com/helm-unittest/helm-unittest/releases/tag/v0.3.6)

[Compare Source](https://github.com/helm-unittest/helm-unittest/compare/v0.3.5...v0.3.6)

**Added Features**

-   Added templated Test Suites, to make re-usable tests possible (credits [@&#8203;hanseltime](https://github.com/hanseltime), resolves [#&#8203;57](https://github.com/helm-unittest/helm-unittest/issues/57), resolves [#&#8203;186](https://github.com/helm-unittest/helm-unittest/issues/186))

**Improvements**

-   Optimize installation (resolves [#&#8203;176](https://github.com/helm-unittest/helm-unittest/issues/176), resolves [#&#8203;214](https://github.com/helm-unittest/helm-unittest/issues/214), resolves [#&#8203;225](https://github.com/helm-unittest/helm-unittest/issues/225))

**Fixes**

-   Fix incorrect filtering template files (resolves [#&#8203;219](https://github.com/helm-unittest/helm-unittest/issues/219))
-   Fix snapshot validator with Empty documents (credits [@&#8203;matthyx](https://github.com/matthyx))
-   Fix inconsistent results lengthEqual validator (credits [@&#8203;hanseltime](https://github.com/hanseltime))
-   Fix global values (credit [@&#8203;zidoshare](https://github.com/zidoshare), resolves [#&#8203;215](https://github.com/helm-unittest/helm-unittest/issues/215))

**Updates**

-   Update packages to latest patch versions
-   Update documenation

### [`v0.3.5`](https://github.com/helm-unittest/helm-unittest/releases/tag/v0.3.5)

[Compare Source](https://github.com/helm-unittest/helm-unittest/compare/v0.3.4...v0.3.5)

**Fixes**

-   Fix recursive subchart testing (credits [@&#8203;zidoshare](https://github.com/zidoshare), resolves [#&#8203;206](https://github.com/helm-unittest/helm-unittest/issues/206))
-   Fix old containsDocument behaviour to ignore other documents in multidocument validation (resolves [#&#8203;205](https://github.com/helm-unittest/helm-unittest/issues/205))
-   Fix failed_template to also work when empty documents are found (resolves [#&#8203;191](https://github.com/helm-unittest/helm-unittest/issues/191))
-   Fix failed_template multi colon handling (resolves [#&#8203;200](https://github.com/helm-unittest/helm-unittest/issues/200))
-   Fix glob all valid filenames (resolves [#&#8203;201](https://github.com/helm-unittest/helm-unittest/issues/201))

**Updates**

-   Update packages to latest patch versions
-   Update documenation (thanks to [@&#8203;yariksheptykin](https://github.com/yariksheptykin))

</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:eyJjcmVhdGVkSW5WZXIiOiIzNy40NC4wIiwidXBkYXRlZEluVmVyIjoiMzcuNDQuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/554
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
2023-11-06 08:05:05 +00:00
Renovate Bot
82dc077673 chore(deps): update redis-cluster docker tag to v9.1.1 (#555)
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
2023-11-06 00:17:45 +00:00
Michael Kriese
dee3389f1c ci(deps): update dependency helm-unittest to v0.3.6 2023-11-05 00:08:00 +00:00
Renovate Bot
ebc4600920 chore(deps): update dependency @bitnami/readme-generator-for-helm to v2.6.0 (#546)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [@bitnami/readme-generator-for-helm](https://github.com/bitnami-labs/readme-generator-for-helm) | devDependencies | minor | [`2.5.2` -> `2.6.0`](https://renovatebot.com/diffs/npm/@bitnami%2freadme-generator-for-helm/2.5.2/2.6.0) |

---

### Release Notes

<details>
<summary>bitnami-labs/readme-generator-for-helm (@&#8203;bitnami/readme-generator-for-helm)</summary>

### [`v2.6.0`](https://github.com/bitnami-labs/readme-generator-for-helm/releases/tag/2.6.0)

[Compare Source](https://github.com/bitnami-labs/readme-generator-for-helm/compare/2.5.2...2.6.0)

##### Description of the changes

This new version allows setting a default value for a parameter using the default modifier

##### Issues and PRs

-   [#&#8203;78](https://github.com/bitnami-labs/readme-generator-for-helm/issues/78)

</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:eyJjcmVhdGVkSW5WZXIiOiIzNy4yOC4wIiwidXBkYXRlZEluVmVyIjoiMzcuMzQuMyIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/546
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
2023-11-01 08:34:47 +00:00
Michael Kriese
b480b5ff27 ci(deps): update codeberg.org/woodpecker-plugins/gitea-release docker tag to v0.3.1 2023-10-24 00:07:56 +00:00
Renovate Bot
f3abf73ebc chore(deps): update redis-cluster docker tag to v9.0.13 (#547)
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
2023-10-24 00:07:01 +00:00
Michael Kriese
479bad3029 chore(deps): update dependency @bitnami/readme-generator-for-helm to v2.6.0 2023-10-20 00:08:15 +00:00
Michael Kriese
544e05a222 fix(deps): update helm release memcached to v6.6.7 2023-10-17 00:07:59 +00:00
Michael Kriese
e0647437e0 chore: remove workaround
Signed-off-by: Michael Kriese <viceice@noreply.codeberg.org>
2023-10-16 14:01:18 +00:00
Renovate Bot
3707755373 chore(deps): update redis-cluster docker tag to v9.0.12 (#511)
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
2023-10-16 00:05:56 +00:00
Renovate Bot
074def2acc chore(deps): update postgresql docker tag to v12.12.10 (#521)
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
2023-10-15 01:15:46 +00:00
Michael Kriese
ccb100015a fix(deps): update helm release postgresql to v13.1.5 2023-10-15 00:10:59 +00:00
pat-s
a249229ccf Downgrade postgresql-ha to 11.9.4 (#541)
As 11.9.8 included (by mistake) a major version bump from 15 -> 16

https://github.com/bitnami/charts/issues/19596

Co-authored-by: justusbunsi <justusbunsi@noreply.gitea.com>
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/541
Reviewed-by: justusbunsi <justusbunsi@noreply.gitea.com>
Co-authored-by: pat-s <patrick.schratz@gmail.com>
Co-committed-by: pat-s <patrick.schratz@gmail.com>
2023-10-14 16:30:51 +00:00
justusbunsi
b68b9d91cf [postgresql-ha] Use pgpool service as db connection proxy (#542)
### Description of the change

The `postgresql-ha` provides a dedicated deployment and service called `pgpool`. This application is a proxy that routes the db queries to the active database replica. There's a note about that in their README[^1].

Issue #502 is a side-effect of not using that proxy.

### Possible drawbacks

Using the Charts' default configuration, the `pgpool` deployment has 1 replica, making this a single-point of failure. But users can change the related `postgresql-ha.pgpool.replicaCount` to their needs.

### Applicable issues

- fixes #502

### Checklist

- [x] Templating unittests are added

[^1]: https://github.com/bitnami/charts/blob/main/bitnami/postgresql-ha/templates/postgresql/statefulset.yaml#introduction

Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/542
Reviewed-by: pat-s <pat-s@noreply.gitea.com>
Co-authored-by: justusbunsi <sk.bunsenbrenner@gmail.com>
Co-committed-by: justusbunsi <sk.bunsenbrenner@gmail.com>
2023-10-14 16:05:59 +00:00
Renovate Bot
0cc8c6d558 chore(deps): update postgresql-ha docker tag to v11.9.8 (#507)
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
2023-10-14 00:14:31 +00:00
Michael Kriese
e0c321323e fix(deps): update helm release memcached to v6.6.6 2023-10-14 00:08:02 +00:00
justusbunsi
64c6d80dcf Add .vscode profile for easier contributions (#536)
### Description of the change

This adds a `.vscode` folder with recommended extensions and some useful settings like unittest schema validation.
The `.vscode` folder is already helm ignored during packaging.

### Possible drawbacks

We would have to be careful about PR changes in that directory.

Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/536
Co-authored-by: justusbunsi <sk.bunsenbrenner@gmail.com>
Co-committed-by: justusbunsi <sk.bunsenbrenner@gmail.com>
2023-10-13 19:20:26 +00:00
justusbunsi
eb17917b53 Bump helm-unittest to 0.3.4 (#537)
There is a regression that prevents us from going directly to 0.3.5.
To prevent the upcoming Renovate PR for 0.3.5 being stuck until 0.3.6,
we can use 0.3.4 until a working version is released.
The Renovate PR for 0.3.5 can then be closed directly so that Renovate
ignores that version.

https://github.com/helm-unittest/helm-unittest/issues/219

Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/537
Co-authored-by: justusbunsi <sk.bunsenbrenner@gmail.com>
Co-committed-by: justusbunsi <sk.bunsenbrenner@gmail.com>
2023-10-13 19:20:01 +00:00
justusbunsi
7d96eb2940 Tell Renovate to use kind/dependency label (#538)
As title. I think using that label helps categorizing Pull Requests.

Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/538
Co-authored-by: justusbunsi <sk.bunsenbrenner@gmail.com>
Co-committed-by: justusbunsi <sk.bunsenbrenner@gmail.com>
2023-10-13 19:19:06 +00:00
justusbunsi
ca903c9cf3 Fix helm dependency build once and for all (#535)
### Description of the change

We are affected by a regression of a Helm bug from May 2023. I've tested
the Helm versions 3.13.1, 3.13.0 and 3.12.3. Both 3.13.x are affected.
3.12.3 works. So let's downgrade and drop the docker login in PR builds.

I've also switched the `apt install helm` with an official `alpine/helm`
image I am using at work. Pinning the helm version and receiving updates
helps us identifying such issues in the future.

For the release workflow I was a bit more reluctant with changes, since
I cannot easily test them. That's why I just pinned the Helm version.

Renovate will provide one PR changing both files because it's the same
dependency (alpine/helm) from the same datasource (docker).

https://github.com/helm/helm/issues/12062

### Applicable issues

- implicitly fixes #527

Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/535
Reviewed-by: pat-s <pat-s@noreply.gitea.com>
Co-authored-by: justusbunsi <sk.bunsenbrenner@gmail.com>
Co-committed-by: justusbunsi <sk.bunsenbrenner@gmail.com>
2023-10-13 16:04:27 +00:00
Michael Kriese
b87ae9244d fix(deps): update helm release postgresql to v13.1.4 2023-10-13 00:08:10 +00:00
Renovate Bot
40751af5c7 chore(deps): update dependency @bitnami/readme-generator-for-helm to v2.5.2 (#533)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [@bitnami/readme-generator-for-helm](https://github.com/bitnami-labs/readme-generator-for-helm) | devDependencies | patch | [`2.5.1` -> `2.5.2`](https://renovatebot.com/diffs/npm/@bitnami%2freadme-generator-for-helm/2.5.1/2.5.2) |

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).

Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/533
Reviewed-by: justusbunsi <justusbunsi@noreply.gitea.com>
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
2023-10-12 04:27:39 +00:00
Michael Kriese
251a898ee4 chore(deps): update dependency @bitnami/readme-generator-for-helm to v2.5.2 2023-10-12 00:08:11 +00:00
pat-s
226564b74d Add single-pod configuration examples to README (#531)
Relates to #524, #515.

Both examples have been tested on a k8s dev install locally by deploying in a fresh namespace.

Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/531
Reviewed-by: justusbunsi <justusbunsi@noreply.gitea.com>
Co-authored-by: pat-s <patrick.schratz@gmail.com>
Co-committed-by: pat-s <patrick.schratz@gmail.com>
2023-10-11 19:04:37 +00:00
Michael Kriese
e35f428d13 feat(deps): update helm release postgresql to v13 (#202)
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/202
Co-authored-by: Michael Kriese <michael.kriese@gmx.de>
Co-committed-by: Michael Kriese <michael.kriese@gmx.de>
2023-10-11 04:29:33 +00:00
pat-s
9802e9ae41 Login to docker to fix workflow (#526)
Same as for the release workflow.

Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/526
Co-authored-by: pat-s <patrick.schratz@gmail.com>
Co-committed-by: pat-s <patrick.schratz@gmail.com>
2023-10-10 19:48:00 +00:00
Michael Kriese
f943cddd94 fix(deps): update helm release memcached to v6.6.4 (#204)
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/204
Co-authored-by: Michael Kriese <michael.kriese@gmx.de>
Co-committed-by: Michael Kriese <michael.kriese@gmx.de>
2023-10-10 19:43:54 +00:00
Michael Kriese
282f91b442 fix(deps): update helm release postgresql to v12.12.10 2023-10-09 12:03:34 +00:00
Michael Kriese
c95c322aa4 chore(renovate): pin helm version
https://github.com/helm/helm/issues/12463

Signed-off-by: Michael Kriese <viceice@noreply.codeberg.org>
2023-10-09 12:00:35 +00:00
Michael Kriese
a3090e7707 fix(deps): update forgejo docker tag to v1.20.5-0 (#203)
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/203
Co-authored-by: Michael Kriese <michael.kriese@gmx.de>
Co-committed-by: Michael Kriese <michael.kriese@gmx.de>
2023-10-07 05:32:58 +00:00
pat-s
7d2a375685
fix workflow secrets 2023-10-05 21:40:40 +02:00
pat-s
ef4e0dc77d
refine 2023-10-05 21:38:19 +02:00
pat-s
cbaad0ed8f
add gpg key first 2023-10-05 21:35:51 +02:00
pat-s
d2598c6161
remove sudo 2023-10-05 21:33:39 +02:00
pat-s
183b54fc27
add docker apt repo 2023-10-05 21:32:54 +02:00
pat-s
cd4271a1ad
install docker-ce-cli 2023-10-05 21:29:09 +02:00
pat-s
dc8a2bd667
login as the first action 2023-10-05 21:27:16 +02:00
pat-s
c1c186b901
login to docker before packaging chart 2023-10-05 21:24:10 +02:00
techknowlogick
1551065946 bump to gitea 1.20.5 2023-10-03 17:40:34 +00:00
Michael Kriese
a80d3f6b2d ci(deps): update alpine docker tag to v3.18.4 2023-09-29 00:06:14 +00:00
pat-s
1f72352f14
renovate: set automergeStrategy 2023-09-27 09:42:41 +02:00
mmalyska
7a9df83d18 Update readme with renovate configuration for digest updates (#514)
### Description of the change

Update README with information how to configure renovate to update digest for gitea charts.

### Benefits

Automatic digest updates for people using renovate.

Co-authored-by: Michał Małyska <999598+mmalyska@users.noreply.github.com>
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/514
Reviewed-by: justusbunsi <justusbunsi@noreply.gitea.com>
Reviewed-by: pat-s <pat-s@noreply.gitea.com>
Co-authored-by: mmalyska <mmalyska@noreply.gitea.com>
Co-committed-by: mmalyska <mmalyska@noreply.gitea.com>
2023-09-27 07:31:52 +00:00
Michael Kriese
2e9e144568 fix(deps): update helm release postgresql to v12.12.9 2023-09-27 00:06:25 +00:00
Michael Kriese
8563c76b05 fix(deps): update helm release postgresql to v12.12.7 2023-09-26 00:06:20 +00:00
Renovate Bot
c2b0b677c1 chore(deps): update actions/checkout action to v4 (#509)
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
2023-09-25 03:41:55 +00:00
Renovate Bot
ffbec41c88 chore(deps): update dependency markdownlint-cli to ^0.37.0 (#517)
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
2023-09-24 17:58:16 +00:00
Renovate Bot
74cec11931 chore(deps): update postgresql docker tag to v12.12.5 (#506)
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
2023-09-24 17:55:21 +00:00
Michael Kriese
82e7d2e6b7 fix(deps): update helm release postgresql to v12.12.5 2023-09-24 00:06:33 +00:00
Michael Kriese
8ba67526d9 chore(deps): update dependency markdownlint-cli to ^0.37.0 2023-09-23 00:06:46 +00:00
Ceddaerrix
5e76871731 Improving DRY principle support on gitea Ingress host name (#498)
### Description of the change

Introducing `tpl` function on variables related to hostname in `./templates/gitea/ingress.yaml`

### Benefits

The change is intending to support the following syntax in a values.yaml such as:
```
global:
  giteaHostName: "gitea.my-org.com"

ingress:
  enabled: true
  hosts:
    - host: "{{ .Values.global.giteaHostName }}"
      paths:
        - path: /
          pathType: Prefix
  tls:
      - secretName: gitea-tls
        hosts:
          - "{{ .Values.global.giteaHostName }}"
```

### Possible drawbacks

N/A

### Applicable issues

N/A

### Additional information

N/A

Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/498
Reviewed-by: justusbunsi <justusbunsi@noreply.gitea.com>
Co-authored-by: Ceddaerrix <ceddaerrix@noreply.gitea.com>
Co-committed-by: Ceddaerrix <ceddaerrix@noreply.gitea.com>
2023-09-22 15:09:13 +00:00
Michael Kriese
9eea0f54ea fix(deps): update forgejo docker tag to v1.20.4-1 (#194)
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/194
Co-authored-by: Michael Kriese <michael.kriese@gmx.de>
Co-committed-by: Michael Kriese <michael.kriese@gmx.de>
2023-09-21 06:37:14 +00:00
Michael Kriese
51072f96fb fix(deps): update helm release postgresql to v12.12.4 2023-09-21 00:06:35 +00:00
pat-s
453ab0e211
json5 2023-09-15 09:12:22 +01:00
pat-s
c6887fde0a
fix renovate config 2023-09-15 09:11:53 +01:00
pat-s
08c50abba9 Update helm deps weekly (#510)
As title. This modification should only apply the minor+patch updates for the helm deps of this chart on a weekly basis. Major updates should still come in with the daily renovate runs.

Automerge is included but won't work as the bot cannot self-approve it's PRs and does not have merge permissions yet.
The only way this might work if we allow the bot to push to a branch only and merge without opening a PR.

Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/510
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: pat-s <patrick.schratz@gmail.com>
Co-committed-by: pat-s <patrick.schratz@gmail.com>
2023-09-14 16:48:36 +00:00
Michael Kriese
7710189dd4 fix(deps): update helm release postgresql to v12.11.1 (#186)
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/186
Co-authored-by: Michael Kriese <michael.kriese@gmx.de>
Co-committed-by: Michael Kriese <michael.kriese@gmx.de>
2023-09-14 13:52:49 +00:00
Michael Kriese
86d0aa7c7d fix(deps): update forgejo docker tag to v1.20.4-0 (#190)
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/190
Co-authored-by: Michael Kriese <michael.kriese@gmx.de>
Co-committed-by: Michael Kriese <michael.kriese@gmx.de>
2023-09-14 13:52:31 +00:00
Michael Kriese
eabfcef464 ci(deps): update dependency helm-unittest to v0.3.5 2023-09-14 00:07:33 +00:00
Renovate Bot
779563141d chore(deps): update redis-cluster docker tag to v9 (#504)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [redis-cluster](https://github.com/bitnami/charts) | major | `8.8.2` -> `9.0.4` |

---

### 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:eyJjcmVhdGVkSW5WZXIiOiIzNi43OS4xIiwidXBkYXRlZEluVmVyIjoiMzYuODkuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/504
Reviewed-by: pat-s <pat-s@noreply.gitea.com>
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
2023-09-13 07:48:55 +00:00
Michael Kriese
6e31dde198 fix(deps): update helm release memcached to v6.6.2 2023-09-13 00:07:30 +00:00
Michael Kriese
37566ef10f chore(deps): update dependency conventional-changelog-core to v7 2023-09-10 00:07:38 +00:00
pat-s
0e5bccd732 Add support for image.digest (#444)
fix #398

Co-authored-by: justusbunsi <sk.bunsenbrenner@gmail.com>
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/444
Reviewed-by: justusbunsi <justusbunsi@noreply.gitea.com>
Co-authored-by: pat-s <patrick.schratz@gmail.com>
Co-committed-by: pat-s <patrick.schratz@gmail.com>
2023-09-09 15:36:19 +00:00
justusbunsi
95d5fb209b Disable Docker digest pinning (#508)
As per conversation in Discord.

https://docs.renovatebot.com/configuration-options/#pindigests

Signed-off-by: justusbunsi <sk.bunsenbrenner@gmail.com>

Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/508
Reviewed-by: techknowlogick <techknowlogick@noreply.gitea.com>
Co-authored-by: justusbunsi <sk.bunsenbrenner@gmail.com>
Co-committed-by: justusbunsi <sk.bunsenbrenner@gmail.com>
2023-09-09 14:11:47 +00:00
Michael Kriese
fb5e89207d chore(deps): update dependency conventional-changelog-conventionalcommits to v7.0.2 2023-09-09 00:07:25 +00:00
techknowlogick
88d0f132d1 pin docker digests 2023-09-08 18:10:31 +00:00
pat-s
eb13916386
Gitea 1.20.4 2023-09-08 15:03:50 +02:00
Michael Kriese
b7aa7f0659 fix(deps): update helm release memcached to v6.6.1 2023-09-08 00:14:24 +00:00
Renovate Bot
38776e2b51 chore(deps): update postgresql docker tag to v12.10.1 (#505)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [postgresql](https://github.com/bitnami/charts) | patch | `12.10.0` -> `12.10.1` |

---

### 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:eyJjcmVhdGVkSW5WZXIiOiIzNi43OS4xIiwidXBkYXRlZEluVmVyIjoiMzYuNzkuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/505
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
2023-09-07 02:23:12 +00:00
Renovate Bot
74fef7e4c6 chore(deps): update redis-cluster docker tag to v8.8.2 (#503)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [redis-cluster](https://github.com/bitnami/charts) | minor | `8.6.9` -> `8.8.2` |

---

### 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:eyJjcmVhdGVkSW5WZXIiOiIzNi43OS4xIiwidXBkYXRlZEluVmVyIjoiMzYuNzkuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/503
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
2023-09-06 03:29:23 +00:00
Renovate Bot
054ee87a8c chore(deps): update dependency markdownlint-cli to ^0.36.0 (#500)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [markdownlint-cli](https://github.com/igorshubovych/markdownlint-cli) | devDependencies | minor | [`^0.35.0` -> `^0.36.0`](https://renovatebot.com/diffs/npm/markdownlint-cli/0.35.0/0.36.0) |

---

### Release Notes

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

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

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

-   Update `markdownlint` dependency to `0.30.0`
    -   Use `micromark` in MD022/MD026/MD032/MD037/MD045/MD051
    -   Incorporate `micromark-extension-math` for math syntax
    -   Allow custom rules to override information URL
-   Update all dependencies via `Dependabot`

</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:eyJjcmVhdGVkSW5WZXIiOiIzNi43OS4xIiwidXBkYXRlZEluVmVyIjoiMzYuNzkuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/500
Reviewed-by: pat-s <pat-s@noreply.gitea.com>
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
2023-09-05 07:16:15 +00:00
Renovate Bot
07fe17caf4 chore(deps): update postgresql-ha docker tag to v11.9.2 (#499)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [postgresql-ha](https://github.com/bitnami/charts) | patch | `11.9.0` -> `11.9.2` |

---

### 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:eyJjcmVhdGVkSW5WZXIiOiIzNi43OS4xIiwidXBkYXRlZEluVmVyIjoiMzYuNzkuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/499
Reviewed-by: pat-s <pat-s@noreply.gitea.com>
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
2023-09-05 07:15:49 +00:00
justusbunsi
0d9d6bcbb2
Extends centralized renovate configuration
Signed-off-by: justusbunsi <sk.bunsenbrenner@gmail.com>
2023-09-05 08:43:24 +02:00
justusbunsi
28bd87b5a9
Use modern renovate.json5 file
Signed-off-by: justusbunsi <sk.bunsenbrenner@gmail.com>
2023-09-05 08:35:29 +02:00
Michael Kriese
9c63708eb0 chore(deps): update dependency markdownlint-cli to ^0.36.0 2023-09-04 00:07:44 +00:00
pat-s
30000677d7
update chart.lock 2023-08-31 19:12:49 +02:00
tobiasbp
1550f9b4e0 Quote values for ingress annotations as discussed in #483 (#497)
Quote all values for Ingress annotations as discussed in https://gitea.com/gitea/helm-chart/issues/483
Annotations are currently not quoted, and can not be set to non-string values using the _--set_ with _helm_ (see examples in issue).

Annotations for ingress-nginx MUST be quoted: https://github.com/kubernetes/ingress-nginx/blob/main/docs/user-guide/nginx-configuration/annotations.md#annotations

```
!!! tip Annotation keys and values can only be strings. Other types, such as boolean or numeric values must be quoted, i.e. "true", "false", "100".
```

Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/497
Reviewed-by: pat-s <pat-s@noreply.gitea.com>
Co-authored-by: tobiasbp <tobiasbp@noreply.gitea.com>
Co-committed-by: tobiasbp <tobiasbp@noreply.gitea.com>
2023-08-31 17:07:45 +00:00
Renovate Bot
3276f1e76d Update postgresql Docker tag to v12.10.0 (#495)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| postgresql | minor | `12.6.6` -> `12.10.0` |

---

### 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:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMTguMCIsInVwZGF0ZWRJblZlciI6IjM1LjExOC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: techknowlogick <techknowlogick@noreply.gitea.com>
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/495
Reviewed-by: pat-s <pat-s@noreply.gitea.com>
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
2023-08-31 11:35:49 +00:00
Renovate Bot
22872112cd Update postgresql-ha Docker tag to v11.9.0 (#496)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| postgresql-ha | minor | `11.7.9` -> `11.9.0` |

---

### 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:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMTguMCIsInVwZGF0ZWRJblZlciI6IjM1LjExOC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: techknowlogick <techknowlogick@noreply.gitea.com>
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/496
Reviewed-by: pat-s <pat-s@noreply.gitea.com>
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
2023-08-31 11:35:23 +00:00
Renovate Bot
3dd6632c5f Update dependency markdownlint-cli to ^0.35.0 (#494)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [markdownlint-cli](https://github.com/igorshubovych/markdownlint-cli) | devDependencies | minor | [`^0.34.0` -> `^0.35.0`](https://renovatebot.com/diffs/npm/markdownlint-cli/0.34.0/0.35.0) |

⚠️ Release Notes retrieval for this PR were skipped because no github.com credentials were available.
If you are self-hosted, please see [this instruction](https://github.com/renovatebot/renovate/blob/master/docs/usage/examples/self-hosting.md#githubcom-token-for-release-notes).

---

### 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.

---

 - [x] <!-- 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:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMTguMCIsInVwZGF0ZWRJblZlciI6IjM1LjExOC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: pat-s <patrick.schratz@gmail.com>
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/494
Reviewed-by: pat-s <pat-s@noreply.gitea.com>
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
2023-08-30 07:14:45 +00:00
Renovate Bot
ff83bab0e2 Update dependency @bitnami/readme-generator-for-helm to v2.5.1 (#493)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [@bitnami/readme-generator-for-helm](https://github.com/bitnami-labs/readme-generator-for-helm) | devDependencies | patch | [`2.5.0` -> `2.5.1`](https://renovatebot.com/diffs/npm/@bitnami%2freadme-generator-for-helm/2.5.0/2.5.1) |

⚠️ Release Notes retrieval for this PR were skipped because no github.com credentials were available.
If you are self-hosted, please see [this instruction](https://github.com/renovatebot/renovate/blob/master/docs/usage/examples/self-hosting.md#githubcom-token-for-release-notes).

---

### 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:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMTguMCIsInVwZGF0ZWRJblZlciI6IjM1LjExOC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/493
Reviewed-by: pat-s <pat-s@noreply.gitea.com>
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
2023-08-30 07:04:59 +00:00
Renovate Bot
7604d5606f Configure Renovate (#492)
Welcome to [Renovate](https://github.com/renovatebot/renovate)! This is an onboarding PR to help you understand and configure settings before regular Pull Requests begin.

🚦 To activate Renovate, merge this Pull Request. To disable Renovate, simply close this Pull Request unmerged.

---
### Detected Package Files

 * `values.yaml` (helm-values)
 * `Chart.yaml` (helmv3)
 * `package.json` (npm)

### What to Expect

With your current configuration, Renovate will create 6 Pull Requests:

<details>
<summary>Update dependency @&#8203;bitnami/readme-generator-for-helm to v2.5.1</summary>

  - Schedule: ["at any time"]
  - Branch name: `renovate/bitnami-readme-generator-for-helm-2.x-lockfile`
  - Merge into: `main`
  - Upgrade [@bitnami/readme-generator-for-helm](https://github.com/bitnami-labs/readme-generator-for-helm) to `2.5.1`

</details>

<details>
<summary>Update dependency markdownlint-cli to ^0.35.0</summary>

  - Schedule: ["at any time"]
  - Branch name: `renovate/markdownlint-cli-0.x`
  - Merge into: `main`
  - Upgrade [markdownlint-cli](https://github.com/igorshubovych/markdownlint-cli) to `^0.35.0`

</details>

<details>
<summary>Update postgresql Docker tag to v12.10.0</summary>

  - Schedule: ["at any time"]
  - Branch name: `renovate/postgresql-12.x`
  - Merge into: `main`
  - Upgrade postgresql to `12.10.0`

</details>

<details>
<summary>Update postgresql-ha Docker tag to v11.9.0</summary>

  - Schedule: ["at any time"]
  - Branch name: `renovate/postgresql-ha-11.x`
  - Merge into: `main`
  - Upgrade postgresql-ha to `11.9.0`

</details>

<details>
<summary>Update redis-cluster Docker tag to v8.8.2</summary>

  - Schedule: ["at any time"]
  - Branch name: `renovate/redis-cluster-8.x`
  - Merge into: `main`
  - Upgrade redis-cluster to `8.8.2`

</details>

<details>
<summary>Update redis-cluster Docker tag to v9</summary>

  - Schedule: ["at any time"]
  - Branch name: `renovate/redis-cluster-9.x`
  - Merge into: `main`
  - Upgrade redis-cluster to `9.0.1`

</details>

<br />

🚸 Branch creation will be limited to maximum 2 per hour, so it doesn't swamp any CI resources or overwhelm the project. See docs for `prhourlylimit` for details.

---

 Got questions? Check out Renovate's [Docs](https://docs.renovatebot.com/), particularly the Getting Started section.
If you need any further assistance then you can also [request help here](https://github.com/renovatebot/renovate/discussions).

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).

Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/492
Reviewed-by: Jason Song <i@wolfogre.com>
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
2023-08-30 06:42:34 +00:00
Michael Kriese
bf09a1af36 fix(deps): update helm release postgresql to v12.10.0 (#181)
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/181
Co-authored-by: Michael Kriese <michael.kriese@gmx.de>
Co-committed-by: Michael Kriese <michael.kriese@gmx.de>
2023-08-29 04:51:25 +00:00
Michael Kriese
8f00c2ae25 chore(deps): update dependency conventional-changelog-core to v6 2023-08-29 00:07:20 +00:00
Michael Kriese
77a946055d chore(deps): update dependency conventional-changelog-conventionalcommits to v7 2023-08-28 00:07:39 +00:00
pat-s
1331ae5e96 Fix GIT_GC_CHECK for multiple replicas (#490)
### Benefits

Asserting the value existence failed previously.

### Applicable issues

fixes #488

### Additional information

No unit tests possible as value is parsed as a secret and then into `app.ini`.

Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/490
Reviewed-by: justusbunsi <justusbunsi@noreply.gitea.com>
Co-authored-by: pat-s <patrick.schratz@gmail.com>
Co-committed-by: pat-s <patrick.schratz@gmail.com>
2023-08-27 12:05:56 +00:00
Michael Kriese
7eb7edcfd0 fix(deps): update helm release postgresql to v12.9.0 (#174)
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/174
Co-authored-by: Michael Kriese <michael.kriese@gmx.de>
Co-committed-by: Michael Kriese <michael.kriese@gmx.de>
2023-08-25 08:26:28 +00:00
Michael Kriese
f19d22c664 fix(deps): update helm release memcached to v6.6.0 (#180)
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/180
Co-authored-by: Michael Kriese <michael.kriese@gmx.de>
Co-committed-by: Michael Kriese <michael.kriese@gmx.de>
2023-08-25 08:23:00 +00:00
Michael Kriese
523395a086 fix(deps): update forgejo docker tag to v1.20.3-0 (#178)
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/178
Co-authored-by: Michael Kriese <michael.kriese@gmx.de>
Co-committed-by: Michael Kriese <michael.kriese@gmx.de>
2023-08-25 08:22:43 +00:00
Michael Kriese
0fbb2329f8 fix(deps): update helm release memcached to v6.5.9 2023-08-22 00:07:18 +00:00
techknowlogick
35fcb41ce2 1.20.3 2023-08-21 16:07:51 +00:00
pat-s
9e00bff9bd
add upgrade note WRT to rootless image switch 2023-08-21 16:27:02 +02:00
Michael Kriese
c2e51defc0 fix(deps): update helm release memcached to v6.5.8 2023-08-18 00:07:22 +00:00
Michael Kriese
f1ce20e593 fix(deps): update helm release memcached to v6.5.7 2023-08-17 00:08:54 +00:00
Michael Kriese
4a3717e12b ci(deps): update alpine docker tag to v3.18.3 2023-08-08 00:07:18 +00:00
Lunny Xiao
5e148748ce Update documentations link to new addresses and some other links update (#482)
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/482
Reviewed-by: pat-s <pat-s@noreply.gitea.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-committed-by: Lunny Xiao <xiaolunwen@gmail.com>
2023-08-03 07:25:52 +00:00
Michael Kriese
ecd9b535a1 fix(deps): update forgejo docker tag to v1.20.2-0 (#171)
Co-authored-by: Michael Kriese <michael.kriese@gmx.de>
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/171
2023-08-02 20:30:48 +00:00
Michael Kriese
dedab02cab ci(deps): update dependency helm-unittest to v0.3.4 (#173)
Co-authored-by: Michael Kriese <michael.kriese@gmx.de>
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/173
2023-08-02 20:28:27 +00:00
Michael Kriese
b6a58fd997 chore(deps): update dependency @bitnami/readme-generator-for-helm to v2.5.1 2023-08-02 00:07:28 +00:00
pat-s
1ea6cb4633
1.20.2 2023-07-31 09:04:23 +02:00
Michael Kriese
5677cf39d4 feat(deps)!: update forgejo docker tag to v1.20.1-0 (#167)
BREAKING CHANGE: Forgejo minor update

Co-authored-by: Michael Kriese <michael.kriese@gmx.de>
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/167
2023-07-27 06:18:23 +00:00
Michael Kriese
19d4916943 fix(deps): update helm release postgresql to v12.7.1 (#169)
Co-authored-by: Michael Kriese <michael.kriese@gmx.de>
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/169
2023-07-27 06:16:19 +00:00
Michael Kriese
fd2810afab fix(deps): update helm release memcached to v6.5.6 2023-07-27 00:12:36 +00:00
Michael Kriese
e172610698 fix(deps): update helm release postgresql to v12.6.9 2023-07-25 00:07:46 +00:00
pat-s
478fd6044e
add minimal config example 2023-07-22 14:06:08 +02:00
pat-s
860c2ce542 Auto-configure non-postgresql DNS and assert single PG instance (#478)
### Description of the change

Before only `postgresql-ha` was auto-configured WRT to DNS.

### Benefits

Add DNS auto-config for `postgresql` dependency and assert that either `postgresql` or `postgresql-ha` is enabled.

Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/478
Co-authored-by: pat-s <patrick.schratz@gmail.com>
Co-committed-by: pat-s <patrick.schratz@gmail.com>
2023-07-22 11:46:44 +00:00
pat-s
269ca48586
1.20.1 2023-07-22 10:50:27 +02:00
Michael Kriese
5b7cf738f4 fix(deps): update helm release postgresql to v12.6.8 (#164)
Co-authored-by: Michael Kriese <michael.kriese@gmx.de>
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/164
2023-07-21 06:37:27 +00:00
pat-s
9dda709997
update terraform custom theme instructions 2023-07-20 09:51:13 +02:00
Michael Kriese
57d4de9535 fix(deps): update helm release postgresql to v12.6.7 2023-07-20 00:07:28 +00:00
pat-s
aa8f543c08
bump to 1.20 nightly for env-to-ini fix 2023-07-19 23:08:55 +02:00
pat-s
a5884ec67f
readd missing postgresql password for db 2023-07-19 23:05:52 +02:00
pat-s
81612bd788 Update default params of chart dependencies (#473)
### Description of the change

Update default params of chart dependencies. Tested with multiple upgrades and fresh installations.
Using no password auth for redis simplifies things for basic installations. Production installations should properly configure auth as they need it.

### Benefits

To avoid/solve upgrading issues as in #407 and #472

Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/473
Co-authored-by: pat-s <patrick.schratz@gmail.com>
Co-committed-by: pat-s <patrick.schratz@gmail.com>
2023-07-19 15:16:45 +00:00
pat-s
565cbaf292 Expose persistence.volumeName (#471)
### Benefits

possibly fix #470

Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/471
Co-authored-by: pat-s <patrick.schratz@gmail.com>
Co-committed-by: pat-s <patrick.schratz@gmail.com>
2023-07-19 12:37:53 +00:00
pat-s
19841604f7
use redis-cluster instead of redis 2023-07-19 09:57:44 +02:00
pat-s
29c9bbb4bf
postgresql-ha: provide defaults for postgresPassword and repmgrPassword due to upstream bug 2023-07-18 20:06:16 +02:00
pat-s
75893ad9c6
add explicit config example for session, cache and queue to migration instructions 2023-07-18 19:28:40 +02:00
pat-s
a247071b07
don't condition session config on multiple replicas 2023-07-18 19:22:51 +02:00
pat-s
5f8de23c15
remove "auth" mapping in helpers.tpl 2023-07-18 19:16:33 +02:00
pat-s
c6fbb6d72e
adjust postgresql-ha service port mappings 2023-07-18 19:07:33 +02:00
pat-s
f108be0cd6
fix postgresql.dns 2023-07-18 18:50:18 +02:00
pat-s
dc6bab1958
another index 2023-07-18 18:34:56 +02:00
pat-s
de1d5af8c8
more postgresql-ha adjustments 2023-07-18 18:31:58 +02:00
pat-s
46fb4d8026
use index function for helm 2023-07-18 18:23:29 +02:00
pat-s
3a9e60ce40
fix postgresql.dns definition in helpers.tpl 2023-07-18 18:10:38 +02:00
pat-s
de5a6edbc8
lint 2023-07-18 08:27:11 +02:00
yinheli
2ded843924 fix: Deployment has no field serviceName #466 (#467)
<!--
 Before you open the request please review the following guidelines and tips to help it be more easily integrated:

 - Describe the scope of your change - i.e. what the change does.
 - Describe any known limitations with your change.
 - Please run any tests or examples that can exercise your modified code.

 Thank you for contributing! We will try to review, test and integrate the change as soon as we can.
 -->

### Description of the change

<!-- Describe the scope of your change - i.e. what the change does. -->

remove deployment, `serviceName`

### Benefits

<!-- What benefits will be realized by the code change? -->

### Possible drawbacks

<!-- Describe any known limitations with your change -->

### Applicable issues

<!-- Enter any applicable Issues here (You can reference an issue using #). Please remove this section if there is no referenced issue. -->
  - fixes #466

### Additional information

<!-- If there's anything else that's important and relevant to your pull request, mention that information here. Please remove this section if it remains empty. -->

### ⚠ BREAKING

<!-- If there's a breaking change, please shortly describe in which way users are affected and how they can mitigate it. If there are no breakings, please remove this section. -->

### Checklist

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

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

Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/467
Co-authored-by: yinheli <me@yinheli.com>
Co-committed-by: yinheli <me@yinheli.com>
2023-07-18 06:25:38 +00:00
pat-s
ede76d4b68
update helm deps and add makefile rule 2023-07-17 21:26:45 +02:00
pat-s
00433b97c4
add release process to contributing 2023-07-17 21:19:48 +02:00
pat-s
a20c014e49
add env-to-ini prefix to upgrading notes 2023-07-17 21:17:26 +02:00
pat-s
950e46ce44
add experimental note 2023-07-17 21:13:01 +02:00
pat-s
8e27bb9bae [Breaking] Add HA-support; switch to Deployment (#437)
# Changes

A big shoutout to @luhahn for all his work in #205 which served as the base for this PR.

## Documentation

- [x] After thinking for some time about it, I still prefer the distinct option (as started in #350), i.e. having a standalone "HA" doc under `docs/ha-setup.md` to not have a very long README (which is already quite long).
      Most of the information below should go into it with more details and explanations behind all of the individual components.

## Chart deps

~~- Adds `meilisearch` as a chart dependency for a HA-ready issue indexer. Only works with >= Gitea 1.20~~
~~- Adds `redis` as a chart dependency for a HA-ready session and queue store.~~
- Adds `redis-cluster` as a chart dependency for a HA-ready session and queue store (alternative to `redis`). Only works with >= Gitea 1.19.2.
- Removes `memcached` instead of `redis-cluster`
- Add `postgresql-ha` as default DB dep in favor of `postgres`

## Adds smart HA chart logic

The goal is to set smart config values that result in a HA-ready Gitea deployment if `replicaCount` > 1.

- If `replicaCount` > 1,
  - `gitea.config.session.PROVIDER` is automatically set to `redis-cluster`
  - `gitea.config.indexer.REPO_INDEXER_ENABLED` is automatically set to `false` unless the value is `elasticsearch` or `meilisearch`
  - `redis-cluster` is used for `[queue]` and `[cache]` and `[session]`mode or not

Configuration of external instances of `meilisearch` and `minio` are documented in a new markdown doc.

## Deployment vs Statefulset

Given all the discussions about this lately (#428), I think we could use both.
In the end, we do not have the requirement for a sequential pod scale up/scale down as it would happen in statefulsets.
On the other side, we do not have actual stateless pods as we are attaching a RWX to the deployment.
Yet I think because we do not have a leader-election requirement, spawning the pods as a deployment makes "Rolling Updates" easier and also signals users that there is no "leader election" logic and each pod can just be "destroyed" at anytime without causing interruption.

Hence I think we should be able to switch from a statefulset to a deployment, even in the single-replica case.

This change also brought up a templating/linting issue: the definition of `.Values.gitea.config.server.SSH_LISTEN_PORT` in `ssh-svc.yaml` just "luckily" worked so far due to naming-related lint processing. Due to the change from "statefulset" to "deployment", the processing queue changed and caused a failure complaining about `config.server.SSH_LISTEN_PORT` not being defined yet.
The only way I could see to fix this was to "properly" define the value in `values.yaml` instead of conditionally definining it in `helpers.tpl`. Maybe there's a better way?

## Chart PVC Creation

I've adapted the automated PVC creation from another chart to be able to provide the `storageClassName` as I couldn't get dynamic provisioning for EFS going with the current implementation.
In addition the naming and approach within the Gitea chart for PV creation is a bit unusual and aligning it might be beneficial.

A semi-unrelated change which will result in a breaking change for existing users but this PR includes a lot of breaking changes already, so including another one might not make it much worse...

- New `persistence.mount`: whether to mount an existing PVC (via `persistence.existingClaim`
- New `persistence.create`: whether to create a new PVC

## Testing

As this PR does a lot of things, we need proper testing.
The helm chart can be installed from the Git branch via `helm-git` as follows:

```
helm repo add gitea-charts git+https://gitea.com/gitea/helm-chart@/?ref=deployment
helm install gitea --version 0.0.0
```
It is **highly recommended** to test the chart in a dedicated namespace.

I've tested this myself with both `redis` and `redis-cluster` and it seemed to work fine.
I just did some basic operations though and we should do more niche testing before merging.

Examplary `values.yml` for testing (only needs a valid RWX storage class):

<details>

<summary>values.yaml</summary>

```yml
image:
  tag: "dev"
  PullPolicy: "Always"
  rootless: true

replicaCount: 2

persistence:
  enabled: true
  accessModes:
    - ReadWriteMany
  storageClass: FIXME

redis-cluster:
  enabled: false
  global:
    redis:
      password: gitea

gitea:
  config:
    indexer:
      ISSUE_INDEXER_ENABLED: true
      REPO_INDEXER_ENABLED: false
```
</details>

## Preferred setup

The preferred HA setup with respect to performance and stability might currently be as follows:

- Repos: RWX (e.g. EFS or Azurefiles NFS)
- Issue indexer: Meilisearch (HA)
- Session and cache: Redis Cluster (HA)
- Attachments/Avatars: Minio (HA)

This will result in a ~ 10-pod HA setup overall.
All pods have very low resource requests.

fix #98

Co-authored-by: pat-s <pat-s@noreply.gitea.io>
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/437
Co-authored-by: pat-s <patrick.schratz@gmail.com>
Co-committed-by: pat-s <patrick.schratz@gmail.com>
2023-07-17 19:09:42 +00:00
pat-s
f66a192d45
document env-to-ini env saving 2023-07-17 07:42:51 +02:00
techknowlogick
6814f7f6d9 bump 1.20.0 2023-07-17 01:26:32 +00:00
Michael Kriese
f9bfe6b22d fix(deps): update helm release postgresql to v12.6.6 2023-07-17 00:07:35 +00:00
pat-s
cab7f3d0b5 Change env-to-ini prefix and remove custom prefix (#464)
### Description of the change

Change env-to-ini prefix and remove custom prefix.
`GITEA` is the default prefix.

### Benefits

Compatibility wit v1.20 (`-p` got removed)

### Possible drawbacks

None

### Additional information

See https://github.com/go-gitea/gitea/pull/25799

Tested with Gitea < 1.20 and >= 1.20

Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/464
Co-authored-by: pat-s <patrick.schratz@gmail.com>
Co-committed-by: pat-s <patrick.schratz@gmail.com>
2023-07-16 22:00:46 +00:00
Michael Kriese
f105e0b8a6 fix(deps): update helm release memcached to v6.5.5 2023-07-16 00:07:17 +00:00
rome-user
7b1b9b09c5 feat: update env prefix (#160)
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/160
Reviewed-by: Michael Kriese <viceice@noreply.codeberg.org>
Co-authored-by: rome-user <rome-user@noreply.codeberg.org>
Co-committed-by: rome-user <rome-user@noreply.codeberg.org>
2023-07-12 11:04:39 +00:00
techknowlogick
ca76cc571c bump 1.19.4 2023-07-12 05:20:01 +00:00
Michael Kriese
9cedfa2c5a fix(deps): update forgejo docker tag to v1.19.4-0 (#159)
Co-authored-by: Michael Kriese <michael.kriese@gmx.de>
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/159
2023-07-07 04:18:55 +00:00
Michael Kriese
9a461da71a ci(deps): update alpine docker tag to v3.18.2 (#150)
Co-authored-by: Michael Kriese <michael.kriese@gmx.de>
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/150
2023-07-03 13:03:54 +00:00
Michael Kriese
b1d57ba58c
chore: automerge dev deps 2023-07-03 15:02:25 +02:00
Michael Kriese
9febe33951 fix(deps): update helm release postgresql to v12.6.0 (#157)
Co-authored-by: Michael Kriese <michael.kriese@gmx.de>
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/157
2023-07-03 13:01:28 +00:00
Michael Kriese
7daba9564a chore(deps): update dependency conventional-changelog-core to v5.0.2 (#156)
Co-authored-by: Michael Kriese <michael.kriese@gmx.de>
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/156
2023-07-03 13:01:08 +00:00
Michael Kriese
75548093b1 chore(deps): update dependency conventional-changelog-conventionalcommits to v6.1.0 (#152)
Co-authored-by: Michael Kriese <michael.kriese@gmx.de>
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/152
2023-07-03 13:00:49 +00:00
Michael Kriese
4f6ab209fb chore(deps): update dependency markdownlint-cli to ^0.35.0 (#153)
Co-authored-by: Michael Kriese <michael.kriese@gmx.de>
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/153
2023-07-03 12:57:22 +00:00
pat-s
868c029e4d Document how to add custom themes (#460)
<!--
 Before you open the request please review the following guidelines and tips to help it be more easily integrated:

 - Describe the scope of your change - i.e. what the change does.
 - Describe any known limitations with your change.
 - Please run any tests or examples that can exercise your modified code.

 Thank you for contributing! We will try to review, test and integrate the change as soon as we can.
 -->

### Description of the change

Add documentation how to add custom themes

### Benefits

<!-- What benefits will be realized by the code change? -->

### Possible drawbacks

<!-- Describe any known limitations with your change -->

### Applicable issues

<!-- Enter any applicable Issues here (You can reference an issue using #). Please remove this section if there is no referenced issue. -->
  - fixes #301

### Additional information

<!-- If there's anything else that's important and relevant to your pull request, mention that information here. Please remove this section if it remains empty. -->

### Checklist

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

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

Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/460
Co-authored-by: pat-s <patrick.schratz@gmail.com>
Co-committed-by: pat-s <patrick.schratz@gmail.com>
2023-06-28 06:57:19 +00:00
pat-s
81252dcb18 Add toc to README and lint contributing.md (#461)
### Description of the change

- Add ToC to README for easier navigation (and add note to `contributing.md`)
- Fix some heading levels in README
- Put upgrading notes into collapsible blocks
- Format `contributing.md` according to MD rules
- Allow `details` and `summary` elements in README
- Allow for longer headings

### Benefits

Better documentation

### Possible drawbacks

None

Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/461
Co-authored-by: pat-s <patrick.schratz@gmail.com>
Co-committed-by: pat-s <patrick.schratz@gmail.com>
2023-06-28 06:54:22 +00:00
Michael Kriese
459375b870 fix(deps): update helm release memcached to v6.5.4 2023-06-28 00:07:06 +00:00
pat-s
5ed140088e Set image.rootless to true by default (#449)
fix #432

Assuming that "everybody" is meanwhile on > 1.14.

Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/449
2023-06-27 20:32:01 +00:00
Michael Kriese
b9079ceda6 fix(deps): update helm release postgresql to v12.5.8 2023-06-20 00:07:05 +00:00
pat-s
aa33330abe Add upgrading note WRT to postgres major version update (#458)
Should help users with their move from PG 11 to 15. Thanks again @pi3ch!

Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/458
Reviewed-by: justusbunsi <justusbunsi@noreply.gitea.com>
Co-authored-by: pat-s <patrick.schratz@gmail.com>
Co-committed-by: pat-s <patrick.schratz@gmail.com>
2023-06-17 22:15:49 +00:00
Michael Kriese
843a790239 fix(deps): update helm release memcached to v6.5.3 2023-06-17 00:07:06 +00:00
Michael Kriese
cf27151e1a fix(deps): update helm release postgresql to v12.5.7 2023-06-13 00:06:04 +00:00
justusbunsi
b11c9c7568 Add unittests to PR checklist (#455)
### Description of the change

This should clarify that we more and more rely on unittests for the templating behavior.

### Applicable issues

 - fixes #199

Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/455
Reviewed-by: pat-s <pat-s@noreply.gitea.com>
Co-authored-by: justusbunsi <justusbunsi@noreply.gitea.com>
Co-committed-by: justusbunsi <justusbunsi@noreply.gitea.com>
2023-06-11 08:15:59 +00:00
Michael Kriese
2fec821221 chore(deps): update dependency conventional-changelog-conventionalcommits to v6 (#147)
Co-authored-by: Michael Kriese <michael.kriese@gmx.de>
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/147
2023-06-07 09:09:58 +00:00
Michael Kriese
b1d1169b1e chore(deps): update dependency conventional-changelog-core to v5 (#148)
Co-authored-by: Michael Kriese <michael.kriese@gmx.de>
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/148
2023-06-07 09:06:06 +00:00
justusbunsi
5e5496f15d Add support for ServiceAccount configuration (#451)
### Description of the change

This adds a new values object `serviceAccount`, that allows creating a dedicated ServiceAccount with the Helm Release into the cluster. It supports all common options like labels, annotations, name override (or referring to an externally created ServiceAccount), auto-mount token, image pull secrets.

It supersedes the stale PR #357.

### Benefits

Users can deploy Gitea with more fine-tuned security settings.

### Applicable issues

- related to #448

### Additional information

I've bumped the helm-unittest plugin in the CI build, to be able to use the `exists` and `notExists` feature in the new tests.

### Checklist

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

Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/451
Reviewed-by: pat-s <pat-s@noreply.gitea.com>
Co-authored-by: justusbunsi <sk.bunsenbrenner@gmail.com>
Co-committed-by: justusbunsi <sk.bunsenbrenner@gmail.com>
2023-05-31 08:47:58 +00:00
Michael Kriese
683aae50a5 fix(deps): update helm release postgresql to v12.5.6 2023-05-31 00:07:12 +00:00
Michael Kriese
ceb78bbf3d fix(deps): update helm release postgresql to v12.5.5 2023-05-24 00:07:06 +00:00
pat-s
0ca013647d Set $HOME to /data/gitea/git for rootless image (#447)
fix #396

Set the default of `$HOME` to `/data/gitea/git` for rootless images to make chart openshift compliant.

Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/447
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: pat-s <patrick.schratz@gmail.com>
Co-committed-by: pat-s <patrick.schratz@gmail.com>
2023-05-24 05:01:22 +08:00
Michael Kriese
9212c6da03 ci(deps): update dependency helm-unittest to v0.3.3 (#142)
Co-authored-by: Michael Kriese <michael.kriese@gmx.de>
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/142
2023-05-23 12:28:45 +00:00
Michael Kriese
e2b926153e fix(deps): update helm release postgresql to v12.5.4 2023-05-23 00:07:11 +00:00
Michael Kriese
fc8edfc4eb fix(deps): update helm release memcached to v6.5.2 2023-05-22 00:07:21 +00:00
Michael Kriese
549cba59a6 fix(deps): update helm release postgresql to v12.5.2 2023-05-17 00:14:43 +00:00
Michael Kriese
57a5171970 fix(deps): update helm release postgresql to v12.5.1 (#139)
Co-authored-by: Michael Kriese <michael.kriese@gmx.de>
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/139
2023-05-16 04:30:21 +00:00
Michael Kriese
ac6f84079e fix(deps): update helm release memcached to v6.5.1 (#140)
Co-authored-by: Michael Kriese <michael.kriese@gmx.de>
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/140
2023-05-16 04:26:23 +00:00
pat-s
9c7e85a2bb Sign helm releases (#427)
fix #31

First stab, need to iterate most likely.

@techknowlogick @lunny Could one of you add the GPG secrets here so the signing can be tested?

Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/427
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: pat-s <patrick.schratz@gmail.com>
Co-committed-by: pat-s <patrick.schratz@gmail.com>
2023-05-13 18:11:14 +08:00
Michael Kriese
293b7ee537
docs: fix readme 2023-05-10 10:31:40 +02:00
Michael Kriese
cf532c33ae
build: update deps 2023-05-10 10:26:36 +02:00
Michael Kriese
9cf475794a
docs: fix description 2023-05-10 10:22:58 +02:00
Michael Kriese
81bdf8fe5c
feat: add gitea chart v8.3.0 changes 2023-05-10 10:19:12 +02:00
Michael Kriese
b82ad1fc8b ci(deps): update alpine docker tag to v3.18.0 (#138)
Co-authored-by: Michael Kriese <michael.kriese@gmx.de>
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/138
2023-05-10 08:00:02 +00:00
Michael Kriese
742a21b55e fix(deps): update helm release postgresql to v12.4.3 2023-05-10 06:03:36 +00:00
Michael Kriese
6cdddc6414 fix(deps): update helm release memcached to v6.4.2 2023-05-10 00:07:04 +00:00
Michael Kriese
8afb8d1750 ci: add target (#133)
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/133
2023-05-05 10:34:52 +00:00
Michael Kriese
60c3a59e7f ci(deps): update codeberg.org/woodpecker-plugins/gitea-release docker tag to v0.3.0 (#135)
Co-authored-by: Michael Kriese <michael.kriese@gmx.de>
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/135
2023-05-05 10:34:40 +00:00
pat-s
c25015ab14
lint 2023-05-05 10:34:33 +02:00
pat-s
d0e62b9979
document 2023-05-05 10:32:51 +02:00
pat-s
11a9400d76
sign 2023-05-05 10:31:17 +02:00
pat-s
618ae173b6
fingerprint 2023-05-05 08:34:23 +02:00
pat-s
eefa169b8d Update node packages (#445)
Followed https://stackoverflow.com/a/71186834/4185785.

Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/445
Reviewed-by: justusbunsi <justusbunsi@noreply.gitea.io>
Co-authored-by: pat-s <patrick.schratz@gmail.com>
Co-committed-by: pat-s <patrick.schratz@gmail.com>
2023-05-05 13:27:17 +08:00
pat-s
5efd5f2c9f
on push 2023-05-04 22:34:55 +02:00
Michael Kriese
d070e8b39f ci: pull plugin from codeberg.org (#134)
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/134
2023-05-04 04:44:18 +00:00
Michael Kriese
2194043872 fix(deps): update forgejo docker tag to v1.19.3-0 (#132)
Co-authored-by: Michael Kriese <michael.kriese@gmx.de>
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/132
2023-05-04 04:37:01 +00:00
pat-s
e28c1520c0 bump to 1.19.3 (#443)
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/443
Reviewed-by: techknowlogick <techknowlogick@noreply.gitea.io>
Co-authored-by: pat-s <patrick.schratz@gmail.com>
Co-committed-by: pat-s <patrick.schratz@gmail.com>
2023-05-04 09:45:36 +08:00
pat-s
fcfa9159ea
import gpg key 2023-05-02 16:41:07 +02:00
pat-s
2198bbe43e
Merge branch 'main' into helm-sign 2023-05-02 16:17:04 +02:00
Cyril Jouve
55b22d2225 add extraDeploy to add arbitrary objects to the release (#441)
Signed-off-by: Cyril Jouve <jv.cyril@gmail.com>

<!--
 Before you open the request please review the following guidelines and tips to help it be more easily integrated:

 - Describe the scope of your change - i.e. what the change does.
 - Describe any known limitations with your change.
 - Please run any tests or examples that can exercise your modified code.

 Thank you for contributing! We will try to review, test and integrate the change as soon as we can.
 -->

### Description of the change

<!-- Describe the scope of your change - i.e. what the change does. -->
add a new value `extraDeploy`  to add arbitrary resources

inspired by bitnami charts ([example](https://github.com/bitnami/charts/blob/main/bitnami/postgresql/values.yaml#L58)

### Benefits

<!-- What benefits will be realized by the code change? -->
with the change, I can deploy additional resources and keep them consistent with the chart (reuse macro, same labels, etc)., same workflow (helm upgrade), etc

### Possible drawbacks

<!-- Describe any known limitations with your change -->

### Additional information

<!-- If there's anything else that's important and relevant to your pull request, mention that information here. Please remove this section if it remains empty. -->

### Checklist

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

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

Co-authored-by: pat-s <pat-s@noreply.gitea.io>
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/441
Reviewed-by: pat-s <pat-s@noreply.gitea.io>
Reviewed-by: luhahn <luhahn@noreply.gitea.io>
Reviewed-by: justusbunsi <justusbunsi@noreply.gitea.io>
Co-authored-by: Cyril Jouve <jv.cyril@gmail.com>
Co-committed-by: Cyril Jouve <jv.cyril@gmail.com>
2023-05-02 21:32:54 +08:00
Michael Kriese
6c7004bf6d chore(deps): update dependency markdownlint-cli to ^0.34.0 (#130)
Co-authored-by: Michael Kriese <michael.kriese@gmx.de>
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/130
2023-05-02 09:33:26 +00:00
Michael Kriese
39778770d3 fix(deps): update helm release memcached to v6.4.1 (#131)
Co-authored-by: Michael Kriese <michael.kriese@gmx.de>
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/131
2023-05-02 09:32:58 +00:00
Michael Kriese
88d31cbc58 fix(deps): update forgejo docker tag to v1.19.2-0 (#128)
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/128
2023-05-02 09:32:32 +00:00
pat-s
5876a9e7fc Update Gitea to 1.19.2 and bump chart deps (#442)
No substantial changes in chart deps.

Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/442
Reviewed-by: techknowlogick <techknowlogick@noreply.gitea.io>
Co-authored-by: pat-s <patrick.schratz@gmail.com>
Co-committed-by: pat-s <patrick.schratz@gmail.com>
2023-04-30 11:05:33 +08:00
Michael Kriese
4416cc666b fix(deps): update helm release postgresql to v12.4.2 2023-04-30 00:07:12 +00:00
Michael Kriese
f6465619c0 fix(deps): update helm release postgresql to v12.4.1 (#127)
Co-authored-by: Michael Kriese <michael.kriese@gmx.de>
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/127
2023-04-28 10:44:11 +00:00
pat-s
c274911aab README: one sentence per line (#440)
Fix #376

Editors should do the job of soft-wrapping in case a line get's too long.
One sentence per line simplifies reviews and diffs a lot as it let's one comment on a piece of text that is contextually sound and not split over multiple lines.

Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/440
Reviewed-by: justusbunsi <justusbunsi@noreply.gitea.io>
Co-authored-by: pat-s <patrick.schratz@gmail.com>
Co-committed-by: pat-s <patrick.schratz@gmail.com>
2023-04-19 23:01:03 +08:00
Michael Kriese
b362ddc76a ci(deps): update dependency helm-unittest to v0.3.2 (#126)
Co-authored-by: Michael Kriese <michael.kriese@gmx.de>
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/126
2023-04-18 07:45:49 +00:00
Michael Kriese
07bbc8debf ci: use alpine for yamllint (#125)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/125
2023-04-17 10:21:27 +00:00
Michael Kriese
43a9b4a677 fix(deps): update helm release postgresql to v12.2.8 2023-04-17 09:42:30 +00:00
Michael Kriese
96a0993e91 fix(deps): update forgejo docker tag to v1.19.1-0 (#122)
Co-authored-by: Michael Kriese <michael.kriese@gmx.de>
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/122
2023-04-17 09:42:23 +00:00
Michael Kriese
985e878e5b
feat: merge upstream changes (#124) 2023-04-17 11:40:06 +02:00
techknowlogick
0861260c5d update to use actions for testing PRs (#439)
Run PR tests using Gitea Actions

Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/439
Reviewed-by: yardenshoham <yardenshoham@noreply.gitea.io>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Co-committed-by: techknowlogick <techknowlogick@gitea.io>
2023-04-15 04:21:00 +08:00
pat-s
d8bb352765 Fix aws secrets (#438)
@lunny

It still looks like that the IAM user does not have enough permissions for the S3 sync operation.

Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/438
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: pat-s <patrick.schratz@gmail.com>
Co-committed-by: pat-s <patrick.schratz@gmail.com>
2023-04-14 21:06:43 +08:00
Lunny Xiao
76e47ef6f0
Add -y to fix apt install on ci 2023-04-14 18:19:41 +08:00
Lunny Xiao
95076eb11f
Fix yaml lint 2023-04-14 16:08:04 +08:00
Lunny Xiao
e768a6acdc
Fix release tag ci 2023-04-14 15:49:18 +08:00
techknowlogick
7434556b37 Use Gitea Actions for release publishing (#436)
Co-authored-by: pat-s <pat-s@noreply.gitea.io>
Co-authored-by: pat-s <patrick.schratz@gmail.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/436
Reviewed-by: pat-s <pat-s@noreply.gitea.io>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Co-committed-by: techknowlogick <techknowlogick@gitea.io>
2023-04-14 14:54:34 +08:00
pat-s
9f0b65f386 Fix unittests (#434)
Unclear why it only appeared now and not earlier.

Co-authored-by: justusbunsi <sk.bunsenbrenner@gmail.com>
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/434
Reviewed-by: justusbunsi <justusbunsi@noreply.gitea.io>
Co-authored-by: pat-s <patrick.schratz@gmail.com>
Co-committed-by: pat-s <patrick.schratz@gmail.com>
2023-04-14 14:45:37 +08:00
pat-s
d3372d940e
test 2023-04-13 21:17:48 +02:00
pat-s
6e5ac7eab2
Merge branch 'main' into helm-sign 2023-04-13 20:57:33 +02:00
pat-s
a9779c9724 Bump to 1.19.1 (#433)
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/433
Co-authored-by: pat-s <patrick.schratz@gmail.com>
Co-committed-by: pat-s <patrick.schratz@gmail.com>
2023-04-14 02:25:37 +08:00
pat-s
c0b2fdf8fa Remove discord webhook (#435)
Broken since a long time and probably not used by anyone

Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/435
Reviewed-by: techknowlogick <techknowlogick@noreply.gitea.io>
Co-authored-by: pat-s <patrick.schratz@gmail.com>
Co-committed-by: pat-s <patrick.schratz@gmail.com>
2023-04-14 02:21:21 +08:00
Casey Buto
bfaf822a36 feat: Add support for setting priorityClassName (#430)
### Description of the change

Adds support for setting priorityClassName on the Gitea pod.

### Benefits

Users can take advantage of https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/ with Gitea.

### Applicable issues

  - fixes #429

### Checklist

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

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

Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/430
Reviewed-by: pat-s <pat-s@noreply.gitea.io>
Co-authored-by: Casey Buto <cbuto@d2iq.com>
Co-committed-by: Casey Buto <cbuto@d2iq.com>
2023-04-07 18:58:34 +08:00
Michael Kriese
78f475de24 fix(deps): update forgejo docker tag to v1.19.0-3 (#121)
Co-authored-by: Michael Kriese <michael.kriese@gmx.de>
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/121
2023-04-06 09:04:55 +00:00
Michael Kriese
00c8377d5b
feat!: add gitea chart v8 changes
BREAKING CHANGE: MySQL and MariaDB subcharts are removed.
2023-04-04 17:00:16 +02:00
Michael Kriese
57bbebe3b6 fix(deps): update helm release postgresql to v12.2.7 2023-04-04 00:07:06 +00:00
Michael Kriese
727f0592f9 fix(deps): update helm release mysql to v9.7.1 2023-04-03 06:51:44 +00:00
Michael Kriese
6bc826c0e0 chore(renovate): remove duplicate platform commit config 2023-04-03 06:50:29 +00:00
Michael Kriese
1c4c18ac27 chore(renovate): fix platform automerge 2023-04-03 06:47:10 +00:00
Michael Kriese
730c4b179a fix(deps): update helm release memcached to v6.3.14 2023-04-03 00:07:06 +00:00
Michael Kriese
92e10d10c0 fix(deps): update helm release mariadb to v11.5.6 2023-04-02 00:07:06 +00:00
pat-s
00395e79b0 Add resource specs to init container (#423)
Supersedes stalled #362

I opted for defining `requests` while leaving `limits` open. This might help for scheduling without restricting performance during init.

Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/423
Reviewed-by: justusbunsi <justusbunsi@noreply.gitea.io>
Co-authored-by: pat-s <patrick.schratz@gmail.com>
Co-committed-by: pat-s <patrick.schratz@gmail.com>
2023-04-01 19:35:11 +08:00
pat-s
25500d7ca2 Ignore Chart.lock for formatters/linters (#424)
This might hopefully help with the formatting issues around `Chart.lock`.

Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/424
Reviewed-by: justusbunsi <justusbunsi@noreply.gitea.io>
Co-authored-by: pat-s <patrick.schratz@gmail.com>
Co-committed-by: pat-s <patrick.schratz@gmail.com>
2023-04-01 19:18:17 +08:00
pat-s
2f965d2fc4
fix 2023-04-01 10:11:09 +02:00
pat-s
8645c98786
sign helm release 2023-04-01 10:08:15 +02:00
Michael Kriese
ee1a9fc2ee fix(deps): update helm release mysql to v9.7.0 (#114)
Co-authored-by: Michael Kriese <michael.kriese@gmx.de>
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/114
2023-03-30 04:45:31 +00:00
Michael Kriese
63abfffca0 ci(deps): update alpine docker tag to v3.17.3 (#115)
Co-authored-by: Michael Kriese <michael.kriese@gmx.de>
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/115
2023-03-30 04:20:40 +00:00
pat-s
87c59b2fca Format all files with prettier VSCode plugin and add yamllint in CI (#413)
@justusbunsi to end my formatting mess... ;)

I am not fully sure myself about the linebreaks in `values.yaml` but I don't think there's an easy way to change that behavior.

Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/413
Reviewed-by: justusbunsi <justusbunsi@noreply.gitea.io>
Co-authored-by: pat-s <patrick.schratz@gmail.com>
Co-committed-by: pat-s <patrick.schratz@gmail.com>
2023-03-29 05:18:23 +08:00
pat-s
6915a4b401 Add chart author (#411)
and format YAML

(maybe we should also update the maintainers list if some are not active anymore?)

Co-authored-by: justusbunsi <justusbunsi@noreply.gitea.io>
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/411
Reviewed-by: justusbunsi <justusbunsi@noreply.gitea.io>
Co-authored-by: pat-s <patrick.schratz@gmail.com>
Co-committed-by: pat-s <patrick.schratz@gmail.com>
2023-03-29 05:12:10 +08:00
pat-s
a0ba3c9bef Bump memcached to add arm64 support (#422)
And allow overriding the `image` section so users could possible also use other image tags.

fix #285

Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/422
Reviewed-by: justusbunsi <justusbunsi@noreply.gitea.io>
Co-authored-by: pat-s <patrick.schratz@gmail.com>
Co-committed-by: pat-s <patrick.schratz@gmail.com>
2023-03-29 05:11:33 +08:00
Maximilian Marschall
0f4e1e488a remove mariadb and mysql from _helpers.tpl (#421)
### Description of the change

Removes checks for mariadb and mysql from _helpers.tpl

### Benefits

Fixes the helm-chart version 8.0.0 if using a external database

### Applicable issues

- fixes #420
- fixes #419

Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/421
Reviewed-by: justusbunsi <justusbunsi@noreply.gitea.io>
Reviewed-by: John Olheiser <john+gitea@jolheiser.com>
Reviewed-by: delvh <dev.lh@web.de>
Reviewed-by: yardenshoham <yardenshoham@noreply.gitea.io>
Co-authored-by: Maximilian Marschall <maximilian.marschall@3xm.at>
Co-committed-by: Maximilian Marschall <maximilian.marschall@3xm.at>
2023-03-29 03:02:29 +08:00
justusbunsi
fb5c615f61 Bump Gitea to 1.19.0 (#418)
As title.

Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/418
Reviewed-by: John Olheiser <john+gitea@jolheiser.com>
Reviewed-by: yardenshoham <yardenshoham@noreply.gitea.io>
2023-03-29 01:10:15 +08:00
pat-s
ae9a71ea11 Remove mysql and mariadb chart deps (#417)
As discussed in Discord.

Supersedes #412 and #407.

**⚠️ BREAKING**

Users depending on the built-in MySQL or MariaDB chart have to switch to an self-managed database, or Postgres

Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/417
Reviewed-by: justusbunsi <justusbunsi@noreply.gitea.io>
Reviewed-by: John Olheiser <john+gitea@jolheiser.com>
Reviewed-by: yardenshoham <yardenshoham@noreply.gitea.io>
Co-authored-by: pat-s <patrick.schratz@gmail.com>
Co-committed-by: pat-s <patrick.schratz@gmail.com>
2023-03-29 01:02:04 +08:00
pat-s
5cb0802b7b [Breaking] Bump postgres chart to latest release (#391)
See discussion in #387

Upgrade notes to Chart v11.x and Postgres 14.x: https://docs.bitnami.com/kubernetes/infrastructure/postgresql/administration/upgrade/

The current version in Gitea is using `11.11.0-debian-10-r62` from 2021-04.

Bumping the chart to the latest (v12.x) would use the image `15.2.0-debian-11-r14` which would be a jump from postgres 11 to postgres 15. There are no specific notes for the v12.x chart release, hence we might be able to just go to 12.x directly.

There have been some param renamings which I've reflected in the README.

**⚠️ BREAKING**

Users have to migrate their Postgres DB by e.g. restoring a previously created database dump into a clean installation.

Co-authored-by: justusbunsi <sk.bunsenbrenner@gmail.com>
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/391
Reviewed-by: techknowlogick <techknowlogick@noreply.gitea.io>
Reviewed-by: justusbunsi <justusbunsi@noreply.gitea.io>
Co-authored-by: pat-s <patrick.schratz@gmail.com>
Co-committed-by: pat-s <patrick.schratz@gmail.com>
2023-03-28 01:12:29 +08:00
Michael Kriese
c2cf0a2b47 fix(deps): update mariadb docker tag to v11.5.5 2023-03-24 00:07:11 +00:00
Michael Kriese
3a706fa107 fix(deps): update postgresql docker tag to v12.2.6 2023-03-23 00:07:29 +00:00
Michael Kriese
74e4efe2a3 docs: add build status badbe
Signed-off-by: Michael Kriese <viceice@noreply.codeberg.org>
2023-03-22 09:14:18 +00:00
pi3ch
fdac9e9048 Support for SSH log level (#358)
Re https://gitea.com/gitea/helm-chart/issues/224#issuecomment-717087

Co-authored-by: justusbunsi <justusbunsi@noreply.gitea.io>
Co-authored-by: justusbunsi <sk.bunsenbrenner@gmail.com>
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/358
Reviewed-by: pat-s <pat-s@noreply.gitea.io>
Reviewed-by: strk <strk@noreply.gitea.io>
Reviewed-by: justusbunsi <justusbunsi@noreply.gitea.io>
Co-authored-by: pi3ch <pi3ch@noreply.gitea.io>
Co-committed-by: pi3ch <pi3ch@noreply.gitea.io>
2023-03-22 16:13:31 +08:00
Michael Kriese
1be9fae08b test: use official unittest plugin (#410)
### Description of the change

Switch to official `helm-unittest` which is now alive again at https://github.com/helm-unittest/helm-unittest

### Applicable issues

- ref #199

### Checklist

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

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

Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/410
Reviewed-by: justusbunsi <justusbunsi@noreply.gitea.io>
Reviewed-by: pat-s <pat-s@noreply.gitea.io>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-committed-by: Michael Kriese <michael.kriese@visualon.de>
2023-03-21 23:53:13 +08:00
Michael Kriese
e136187d47 ci: switch gitea plugin (#110)
There is now an official woodpecker plugin

- https://codeberg.org/woodpecker-plugins/gitea-release

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/110
2023-03-21 12:56:01 +00:00
Michael Kriese
37667ea10f feat(deps): update forgejo docker tag to v1.19.0-2 (#108)
Co-authored-by: Michael Kriese <michael.kriese@gmx.de>
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/108
2023-03-21 11:25:14 +00:00
Michael Kriese
a2a9ee6430 fix(deps): update mysql docker tag to v9.6.0 (#101)
Co-authored-by: Michael Kriese <michael.kriese@gmx.de>
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/101
2023-03-21 11:23:23 +00:00
Michael Kriese
9cf6ad872d chore(deps): update dependency @bitnami/readme-generator-for-helm to v2.5.0 (#107)
Co-authored-by: Michael Kriese <michael.kriese@gmx.de>
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/107
2023-03-21 10:33:12 +00:00
Michael Kriese
e8fece23dc feat: use binamiy oci charts (#109)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/109
2023-03-21 10:19:39 +00:00
towo
4869aed6ad Fix wrong reference to existingKey (#415)
### Description of the change

Fix a wrong reference to `signing.existingKey`, `signing.existingSecret` was what was meant and what is used in the chart.

### Benefits

Less confusion when trying to use the Helm chart.

### Possible drawbacks

Evangelists of `existingKey` storming the barricades even though `existingKey` is long dead.

### Applicable issues

None, nobody noticed enough to care, apparently.

Co-authored-by: Tobias Wolter <towo@towo.eu>
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/415
Reviewed-by: pat-s <pat-s@noreply.gitea.io>
Reviewed-by: justusbunsi <justusbunsi@noreply.gitea.io>
Co-authored-by: towo <towo@noreply.gitea.io>
Co-committed-by: towo <towo@noreply.gitea.io>
2023-03-21 14:16:41 +08:00
Michael Kriese
6e6f64f7bf fix(deps): update helm release postgresql to v12.2.5 2023-03-21 00:08:20 +00:00
Michael Kriese
02a17be0db fix(deps): update helm release memcached to v6.3.13 2023-03-20 00:08:29 +00:00
Michael Kriese
6a24d2bea6 fix(deps): update helm release mariadb to v11.5.4 2023-03-19 00:08:20 +00:00
Michael Kriese
261eb46582 fix(deps): update helm release postgresql to v12.2.3 2023-03-16 00:08:13 +00:00
Michael Kriese
5c5b801290 fix(deps): update helm release memcached to v6.3.12 2023-03-15 00:08:34 +00:00
Michael Kriese
47c8f5205e fix(deps): update helm release memcached to v6.3.11 2023-03-10 00:10:33 +00:00
ooms97
9a6cb4d357 Make test pods optional and allow image override (#360)
### Description of the change

Make the test-connection Pod optional and override the wget container's image.

### Benefits

Allows users to enable/disabled the test-connection Pod and override the wget container's image.

### Checklist

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

Co-authored-by: Umer Anwar <umer.anwar@nuance.com>
Co-authored-by: ooms97 <anwarumer97@gmail.com>
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/360
Reviewed-by: pat-s <pat-s@noreply.gitea.io>
Reviewed-by: justusbunsi <justusbunsi@noreply.gitea.io>
Co-authored-by: ooms97 <ooms97@noreply.gitea.io>
Co-committed-by: ooms97 <ooms97@noreply.gitea.io>
2023-03-09 23:25:45 +08:00
pat-s
452aeadddf Add section describing versioning and update policy (#347)
After recent discussions in Discord.

Feel free to modify as needed!

Co-authored-by: pat-s <patrick.schratz@gmail.com>
Co-authored-by: justusbunsi <justusbunsi@noreply.gitea.io>
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/347
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: justusbunsi <justusbunsi@noreply.gitea.io>
Reviewed-by: techknowlogick <techknowlogick@noreply.gitea.io>
Co-authored-by: pat-s <pat-s@noreply.gitea.io>
Co-committed-by: pat-s <pat-s@noreply.gitea.io>
2023-03-09 01:14:33 +08:00
Michael Kriese
e6f23348e7 fix(deps): update helm release mariadb to v11.5.3 2023-03-08 00:08:42 +00:00
pat-s
c46bf7c60f Format README (#408)
Some small formatting changes which are auto-applied by the markdown code styler in vscode (which I am using a lot).

These are also present in #407.
Merging this before/in general would help be a bit when tinkering with the README.
Mainly indentation related, plus some single quotes -> double quotes changes.

Co-authored-by: pat-s <patrick.schratz@gmail.com>
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/408
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: techknowlogick <techknowlogick@noreply.gitea.io>
Co-authored-by: pat-s <pat-s@noreply.gitea.io>
Co-committed-by: pat-s <pat-s@noreply.gitea.io>
2023-03-08 03:50:40 +08:00
Michael Kriese
7b77eb0266
chore(renovate): fix config 2023-03-07 14:16:50 +01:00
Michael Kriese
f22f7b560d
chore(renovate): use preset 2023-03-07 14:13:52 +01:00
Michael Kriese
0c899c8ae7
chore: drop unused files 2023-03-07 13:52:02 +01:00
Michael Kriese
bb11ba640f
test: fix tests 2023-03-07 13:38:43 +01:00
Michael Kriese
fa4024ed86 test: fix unittests args 2023-03-07 12:27:42 +00:00
Michael Kriese
bae9cb6e9e
ci: use official helm plugin repo
- closes #92
2023-03-07 13:17:56 +01:00
Michael Kriese
dbdcec1a63 fix(deps): update helm release mysql to v9.5.2 2023-03-07 11:38:24 +00:00
Michael Kriese
4421848d99
chore: remove renovate runner 2023-03-07 12:19:30 +01:00
Michael Kriese
7f59f2b36e feat: Add support for hostAliases (#401) (#97)
picked from upstream

- https://gitea.com/gitea/helm-chart/pulls/401

Co-authored-by: podain77 <podain77@noreply.gitea.io>
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/97
2023-03-07 11:18:25 +00:00
Michael Kriese
888cdc75af fix(deps): update helm release mariadb to v11.5.2 2023-03-07 00:09:54 +00:00
Michael Kriese
4a6c3fa07e chore(deps): update ghcr.io/visualon/renovate docker tag to v34.157.1 2023-03-07 00:06:10 +00:00
Michael Kriese
68bff80310 chore(deps): update ghcr.io/visualon/renovate docker tag to v34.157.0 2023-03-05 00:06:08 +00:00
Michael Kriese
944455378a chore(deps): update ghcr.io/visualon/renovate docker tag to v34.154.6 2023-03-04 00:06:11 +00:00
Michael Kriese
c52d0947e2 fix(deps): update helm release postgresql to v12.2.2 (#73)
Co-authored-by: Michael Kriese <michael.kriese@gmx.de>
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/73
2023-03-03 12:15:14 +00:00
Michael Kriese
e76fa022dd fix(deps): update helm release mysql to v9.5.1 (#78)
Co-authored-by: Michael Kriese <michael.kriese@gmx.de>
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/78
2023-03-03 12:07:16 +00:00
Michael Kriese
8d9c4c0ecd fix(deps): update helm release mariadb to v11.5.1 (#77)
Co-authored-by: Michael Kriese <michael.kriese@gmx.de>
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/77
2023-03-03 08:21:35 +00:00
Michael Kriese
56d04135f4 chore(deps): update ghcr.io/visualon/renovate docker tag to v34.154.4 2023-03-03 08:16:16 +00:00
Michael Kriese
80fe5aa457 chore(deps): update alpine docker tag to v3.17.2 (#71)
Co-authored-by: Michael Kriese <michael.kriese@gmx.de>
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/71
2023-03-03 07:59:56 +00:00
johanneskastl
52f7fcb01f docs: extend helm installation (#79)
Co-authored-by: Johannes Kastl <kastl@b1-systems.de>
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/79
Reviewed-by: Michael Kriese <viceice@noreply.codeberg.org>
Co-authored-by: johanneskastl <johanneskastl@noreply.codeberg.org>
Co-committed-by: johanneskastl <johanneskastl@noreply.codeberg.org>
2023-03-03 07:59:26 +00:00
Michael Kriese
08aa7d8f18 fix(deps): update forgejo docker tag to v1.18.5-0 (#62)
Co-authored-by: Michael Kriese <michael.kriese@gmx.de>
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/62
2023-03-03 06:01:39 +00:00
Michael Kriese
98b9a6ae84 fix(deps): update helm release memcached to v6.3.9 2023-03-03 00:11:15 +00:00
Michael Kriese
a47d92113a chore(deps): update ghcr.io/visualon/renovate docker tag to v34.154.3 2023-03-03 00:06:14 +00:00
Michael Kriese
789127a4c6 fix(deps): update helm release memcached to v6.3.8 2023-03-02 00:13:08 +00:00
Michael Kriese
5e4c8045ca chore(deps): update ghcr.io/visualon/renovate docker tag to v34.154.2 2023-03-02 00:06:43 +00:00
Michael Kriese
13a6b49e18 chore(deps): update ghcr.io/visualon/renovate docker tag to v34.154.1 2023-03-01 00:06:15 +00:00
Michael Kriese
013d1d5149 chore(deps): update ghcr.io/visualon/renovate docker tag to v34.153.1 2023-02-28 00:06:42 +00:00
Michael Kriese
e61f4671f0 chore(deps): update ghcr.io/visualon/renovate docker tag to v34.152.5 2023-02-27 00:06:15 +00:00
justusbunsi
18100cca11 Fixup Chart.lock inconsistency (#406)
Introduced with b6d275c4f5

Signed-off-by: justusbunsi <sk.bunsenbrenner@gmail.com>

Co-authored-by: justusbunsi <sk.bunsenbrenner@gmail.com>
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/406
Reviewed-by: pat-s <pat-s@noreply.gitea.io>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: justusbunsi <justusbunsi@noreply.gitea.io>
Co-committed-by: justusbunsi <justusbunsi@noreply.gitea.io>
2023-02-26 22:42:43 +08:00
pat-s
b6d275c4f5 Update memcached and use new OCI registry (#405)
OCI registry: https://blog.bitnami.com/2023/01/bitnami-helm-charts-available-as-oci.html

fixes #404

I think we should switch all other binami charts to also use the new OCI registry as according to their blog post, this will be the future method they're heading to.

Co-authored-by: pat-s <patrick.schratz@gmail.com>
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/405
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
2023-02-26 20:52:32 +08:00
Michael Kriese
65f24f6f16 chore(deps): update ghcr.io/visualon/renovate docker tag to v34.152.4 2023-02-25 00:44:49 +00:00
justusbunsi
578a6cb867 Bump Gitea to 1.18.5 (#403)
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/403
Reviewed-by: John Olheiser <john+gitea@jolheiser.com>
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
2023-02-22 04:38:08 +08:00
podain77
01bb9b4a77 Add support for hostAliases (#401)
### Description of the change

It is required to add custom mapping between hostnames and IP addresses for the gitea pods to be able to access external services like oauth providers or webhook servers.
It is common to take global variables for the entires and set them using hostAliases in the pod template.

### Benefits

Give us more flexibility when using gitea in various network environments.

### Applicable issues

- fixes #400

### Checklist

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

Co-authored-by: Taekyun Kim <tkq.kim@samsung.com>
Co-authored-by: pat-s <pat-s@noreply.gitea.io>
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/401
Reviewed-by: pat-s <pat-s@noreply.gitea.io>
Reviewed-by: justusbunsi <justusbunsi@noreply.gitea.io>
Co-authored-by: podain77 <podain77@noreply.gitea.io>
Co-committed-by: podain77 <podain77@noreply.gitea.io>
2023-02-22 01:53:25 +08:00
siretart
513ad81228 Bump Gitea to 1.18.4 (#402)
Signed-off-by: siretart <siretart@tauware.de>
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/402
Reviewed-by: justusbunsi <justusbunsi@noreply.gitea.io>
Reviewed-by: John Olheiser <john+gitea@jolheiser.com>
Co-authored-by: siretart <siretart@noreply.gitea.io>
Co-committed-by: siretart <siretart@noreply.gitea.io>
2023-02-21 05:09:04 +08:00
Michael Kriese
4179b94eb3 fix(deps): update helm release mysql to v9.4.9 2023-02-20 00:07:00 +00:00
Michael Kriese
349a1313d9 fix(deps): update helm release memcached to v6.3.7 2023-02-19 00:06:54 +00:00
Michael Kriese
e29850b387 fix(deps): update helm release mariadb to v11.4.7 2023-02-18 00:07:17 +00:00
Michael Kriese
e7b5130c3e fix(deps): update helm release memcached to v6.3.6 2023-02-11 00:07:29 +00:00
Michael Kriese
b7a5f2df54 fix(deps): update helm release postgresql to v12.1.15 2023-02-10 00:07:13 +00:00
Michael Kriese
786e81a307 fix(deps): update helm release mariadb to v11.4.6 2023-02-08 00:07:05 +00:00
techknowlogick
e47edbddf9 use drone secrets for s3 info (#399)
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/399
2023-02-08 05:57:32 +08:00
Michael Kriese
1dc772daee chore(deps): update ghcr.io/visualon/renovate docker tag to v34.125.1 2023-02-07 00:06:25 +00:00
Michael Kriese
3bebf0cb37 chore(deps): update ghcr.io/visualon/renovate docker tag to v34.124.3 2023-02-06 00:06:19 +00:00
Michael Kriese
1ab0512636 chore(deps): update ghcr.io/visualon/renovate docker tag to v34.124.1 2023-02-05 00:06:12 +00:00
Michael Kriese
3b4b319b4d chore(deps): update ghcr.io/visualon/renovate docker tag to v34.122.0 2023-02-04 00:06:08 +00:00
Michael Kriese
48b4054143 fix(deps): update helm release postgresql to v12.1.14 2023-02-03 00:08:40 +00:00
Michael Kriese
26861a13be chore(deps): update ghcr.io/visualon/renovate docker tag to v34.119.2 2023-02-02 00:11:19 +00:00
Michael Kriese
859259b57c fix(deps): update helm release postgresql to v12.1.13 2023-02-02 00:07:59 +00:00
Michael Kriese
84d37a2523 fix(deps): update helm release mariadb to v11.4.5 2023-02-01 00:08:16 +00:00
Michael Kriese
bc11a95185 chore(deps): update ghcr.io/visualon/renovate docker tag to v34.117.1 2023-01-31 00:09:59 +00:00
Michael Kriese
e0afad2808 fix(deps): update helm release postgresql to v12.1.12 2023-01-31 00:07:02 +00:00
Michael Kriese
076193b909 fix(deps): update forgejo docker tag to v1.18.2-1 (#48)
Co-authored-by: Michael Kriese <michael.kriese@gmx.de>
Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/48
2023-01-30 07:52:04 +00:00
Michael Kriese
bc74abd3da chore(deps): update ghcr.io/visualon/renovate docker tag to v34.116.1 2023-01-29 00:06:16 +00:00
Michael Kriese
3ded645255 chore(deps): update ghcr.io/visualon/renovate docker tag to v34.115.1 2023-01-28 00:21:12 +00:00
Michael Kriese
d1326fc8fb fix(deps): update helm release postgresql to v12.1.11 2023-01-28 00:15:02 +00:00
Michael Kriese
95c3bb914a fix(deps): update helm release mysql to v9.4.8 2023-01-27 00:07:01 +00:00
justusbunsi
da4120809f Bump Gitea to 1.18.3 (#397)
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/397
Reviewed-by: John Olheiser <john+gitea@jolheiser.com>
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
2023-01-24 00:53:20 +08:00
Michael Kriese
bb037ad64c fix(deps): update helm release mysql to v9.4.7 2023-01-23 00:12:22 +00:00
Michael Kriese
51558827df chore(deps): update ghcr.io/visualon/renovate docker tag to v34.108.5 2023-01-23 00:06:05 +00:00
Michael Kriese
b653b8238f chore(deps): update ghcr.io/visualon/renovate docker tag to v34.108.3 2023-01-22 00:06:18 +00:00
Michael Kriese
f16a24bbf0 chore(deps): update ghcr.io/visualon/renovate docker tag to v34.108.1 2023-01-21 00:06:13 +00:00
techknowlogick
83c184826b bump to 1.18.2 2023-01-20 14:26:45 +08:00
justusbunsi
ccec32c144 Bump Gitea image to 1.18.1 (#395)
As title: Bump Gitea image to 1.18.1.

Co-authored-by: justusbunsi <sk.bunsenbrenner@gmail.com>
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/395
Reviewed-by: John Olheiser <john+gitea@jolheiser.com>
Reviewed-by: pat-s <pat-s@noreply.gitea.io>
Co-authored-by: justusbunsi <justusbunsi@noreply.gitea.io>
Co-committed-by: justusbunsi <justusbunsi@noreply.gitea.io>
2023-01-18 19:40:04 +08:00
justusbunsi
19e9b07e6e Re-add GPG configuration feature (#374)
This reverts d5ce1a47ea and therefore adds the GPG feature back into main.
As it is a breaking change, this PR now also contains the required upgrade notes.

Closes #107 again.

Co-authored-by: justusbunsi <sk.bunsenbrenner@gmail.com>
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/374
Reviewed-by: pat-s <pat-s@noreply.gitea.io>
Reviewed-by: John Olheiser <john+gitea@jolheiser.com>
2023-01-18 00:58:10 +08:00
robv89r
8b6a00603a Update 'values.yaml' (#394)
### Description of the change

Corrects the spelling of the word deprecated.

### Benefits

Documentation free of misspelled words is more likely to be viewed as "professional".

### Possible drawbacks

None that I can think of

### Applicable issues

- fixes #393

### Additional information

There may be other misspelled words or incorrectly phrased passages that aren't addressed in this PR.

For reference, see the online dictionary for the correct spelling of deprecated.

https://www.merriam-webster.com/dictionary/deprecated

### Checklist

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

Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/394
Reviewed-by: pat-s <pat-s@noreply.gitea.io>
Reviewed-by: justusbunsi <justusbunsi@noreply.gitea.io>
Co-authored-by: robv89r <robv8r@noreply.gitea.io>
Co-committed-by: robv89r <robv8r@noreply.gitea.io>
2023-01-10 14:54:55 +08:00
97 changed files with 5924 additions and 4728 deletions

View file

@ -1,96 +0,0 @@
---
kind: pipeline
type: docker
name: lint
platform:
os: linux
arch: arm64
steps:
- name: helm lint
pull: always
image: alpine:3.17
commands:
- apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/testing helm
- helm lint
- name: helm template
pull: always
image: alpine:3.17
commands:
- apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/testing helm
- helm dependency update
- helm template --debug gitea-helm .
- name: helm unittests
pull: always
image: alpine:3.17
commands:
- apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/testing make helm git bash
- helm plugin install https://github.com/heyhabito/helm-unittest
- helm dependency update
- make unittests
- name: verify readme
pull: always
image: alpine:3.17
commands:
- apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/testing make npm git
- make readme
- git diff --exit-code --name-only README.md
- name: discord
pull: always
image: appleboy/drone-discord:1.2.4
environment:
DISCORD_WEBHOOK_ID:
from_secret: discord_webhook_id
DISCORD_WEBHOOK_TOKEN:
from_secret: discord_webhook_token
when:
status:
- changed
- failure
---
kind: pipeline
type: docker
name: release-version
platform:
os: linux
arch: arm64
trigger:
event:
- tag
steps:
- name: generate-chart
pull: always
image: alpine:3.17
commands:
- apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/testing helm
- apk add --no-cache curl
- helm dependency update
- helm package --version "${DRONE_TAG##v}" ./
- mkdir gitea
- mv gitea*.tgz gitea/
- curl -L -o gitea/index.yaml https://dl.gitea.io/charts/index.yaml
- helm repo index gitea/ --url https://dl.gitea.io/charts --merge gitea/index.yaml
- name: upload-chart
pull: always
image: plugins/s3:latest
settings:
bucket: gitea-artifacts
endpoint: https://ams3.digitaloceanspaces.com
access_key:
from_secret: aws_access_key_id
secret_key:
from_secret: aws_secret_access_key
source: gitea/*
target: /charts
strip_prefix: gitea/

12
.editorconfig Normal file
View file

@ -0,0 +1,12 @@
# EditorConfig is awesome: https://EditorConfig.org
# top-most EditorConfig file
root = true
[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = false
insert_final_newline = true

View file

@ -0,0 +1,26 @@
# action.yml
name: setup-docker
description: 'setup docker'
runs:
using: 'composite'
steps:
- shell: bash
name: create cache
run: |
install -m 0755 -d /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/debian/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg
chmod a+r /etc/apt/keyrings/docker.gpg
echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/debian \
$(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \
tee /etc/apt/sources.list.d/docker.list > /dev/null
apt-get update -qq
apt-get -q install -qq \
containerd.io \
docker-ce \
docker-ce-cli \
;
- shell: bash
run: docker info

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

@ -0,0 +1,19 @@
# action.yml
name: setup-node
description: 'setup node'
runs:
using: 'composite'
steps:
- name: Setup pnpm
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
with:
standalone: true
- uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
with:
node-version-file: .node-version
cache: 'pnpm'
- shell: bash
run: pnpm install --frozen-lockfile

View file

@ -0,0 +1,27 @@
# action.yml
name: setup
description: 'setup system'
runs:
using: 'composite'
steps:
- shell: bash
name: create cache
run: |
mkdir -p /opt/hostedtoolcache
mkdir -p /srv/forgejo-renovate/.cache/act/tool_cache
- shell: bash
name: install deps
run: |
apt-get update -qq
apt-get -q install -qq \
ca-certificates \
curl \
gnupg \
make \
python3 \
python3-wheel \
python3-venv \
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

@ -0,0 +1,205 @@
name: build
on:
pull_request:
push:
branches:
- main
- maint/**
tags:
- v*
workflow_dispatch:
permissions:
contents: read
env:
HELM_VERSION: v3.17.2 # renovate: datasource=github-releases depName=helm packageName=helm/helm
HELM_UNITTEST_VERSION: v0.7.2 # renovate: datasource=github-releases depName=helm-unittest packageName=helm-unittest/helm-unittest
HELM_CHART_TESTING_VERSION: v3.12.0 # renovate: datasource=github-releases depName=chart-testing packageName=helm/chart-testing
KUBECTL_VERSION: v1.32.3 # renovate: datasource=github-releases depName=kubectl packageName=kubernetes/kubernetes
CT_GITHUB_GROUPS: true
jobs:
lint-node:
runs-on: docker
steps:
- run: cat /etc/os-release
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
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-node
- run: pnpm prettier
- run: pnpm markdownlint .
- run: make readme
- run: git diff --exit-code --name-only README.md
- name: changelog
run: |
pnpm changelog ${{ github.ref_type == 'tag' && 'true' || '' }}
lint-helm:
runs-on: docker
steps:
- run: cat /etc/os-release
- run: ps axf
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
show-progress: false
fetch-depth: 0
filter: blob:none # We don't need all blobs
- uses: ./.forgejo/actions/setup
- name: install chart-testing
uses: helm/chart-testing-action@0d28d3144d3a25ea2cc349d6e59901c4ff469b3b # v2.7.0
with:
version: ${{ env.HELM_CHART_TESTING_VERSION }}
- name: install helm
uses: azure/setup-helm@b9e51907a09c216f16ebe8536097933489208112 # v4.3.0
with:
version: ${{ env.HELM_VERSION }}
- name: install helm-unittest
run: helm plugin install --version ${{ env.HELM_UNITTEST_VERSION }} https://github.com/helm-unittest/helm-unittest
- run: helm dependency build
- run: yamllint -f colored .
- run: helm lint
- run: helm template --debug gitea-helm .
- run: make unittests
- run: ct lint --config tools/ct.yml --charts .
e2e:
needs:
- lint-node
- lint-helm
runs-on: k8s
strategy:
matrix:
k3s:
# https://github.com/k3s-io/k3s/branches
# oldest supported version
- v1.28.15+k3s1 # renovate: k3s
# 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:
- run: cat /etc/os-release
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
show-progress: false
fetch-depth: 0
filter: blob:none # We don't need all blobs
- uses: ./.forgejo/actions/setup
- name: install helm
uses: azure/setup-helm@b9e51907a09c216f16ebe8536097933489208112 # v4.3.0
with:
version: ${{ env.HELM_VERSION }}
- name: Install chart-testing
uses: helm/chart-testing-action@0d28d3144d3a25ea2cc349d6e59901c4ff469b3b # v2.7.0
with:
version: ${{ env.HELM_CHART_TESTING_VERSION }}
- uses: ./.forgejo/actions/setup-k3s
with:
version: ${{ matrix.k3s }}
- run: kubectl get no -o wide
- name: install chart
uses: https://github.com/nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08 # v3.0.2
with:
timeout_minutes: 15
max_attempts: 3
retry_on: error
retry_wait_seconds: 120
polling_interval_seconds: 5
command: ct install --config tools/ct.yml --charts .
# # Catch-all required check for test matrix
test-success:
needs:
- lint-node
- lint-helm
- e2e
runs-on: docker
timeout-minutes: 1
if: always()
steps:
- name: Fail for failed or cancelled lint-node
if: |
needs.lint-node.result == 'failure' ||
needs.lint-node.result == 'cancelled'
run: exit 1
- name: Fail for failed or cancelled lint-helm
if: |
needs.lint-helm.result == 'failure' ||
needs.lint-helm.result == 'cancelled'
run: exit 1
- name: Fail for failed or cancelled e2e
if: |
needs.e2e.result == 'failure' ||
needs.e2e.result == 'cancelled'
run: exit 1
publish:
runs-on: docker
needs:
- test-success
if: ${{ github.ref_type == 'tag' }}
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
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-node
- name: install helm
uses: https://github.com/azure/setup-helm@b9e51907a09c216f16ebe8536097933489208112 # v4.3.0
with:
version: ${{ env.HELM_VERSION }}
- run: helm dependency build
- run: helm package --version "${GITHUB_REF_NAME#v}" -d tmp/ ./
- name: login to registries
run: |
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-helm
env:
CODEBERG_TOKEN: ${{secrets.API_TOKEN}}
FORGEJO_TOKEN: ${{secrets.FORGEJO_API_TOKEN}}
- name: publish forgejo helm chart
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://code.forgejo.org/forgejo-contrib
helm push tmp/forgejo-${GITHUB_REF_NAME#v}.tgz oci://code.forgejo.org/forgejo-helm
- name: publish 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,41 +0,0 @@
<!--
Before you open the request please review the following guidelines and tips to help it be more easily integrated:
- Describe the scope of your change - i.e. what the change does.
- Describe any known limitations with your change.
- Please run any tests or examples that can exercise your modified code.
Thank you for contributing! We will try to review, test and integrate the change as soon as we can.
-->
### Description of the change
<!-- Describe the scope of your change - i.e. what the change does. -->
### Benefits
<!-- What benefits will be realized by the code change? -->
### Possible drawbacks
<!-- Describe any known limitations with your change -->
### Applicable issues
<!-- Enter any applicable Issues here (You can reference an issue using #). Please remove this section if there is no referenced issue. -->
- fixes #
### Additional information
<!-- If there's anything else that's important and relevant to your pull request, mention that information here. Please remove this section if it remains empty. -->
### ⚠ BREAKING
<!-- If there's a breaking change, please shortly describe in which way users are affected and how they can mitigate it. If there are no breakings, please remove this section. -->
### Checklist
<!-- [Place an '[X]' (no spaces) in all applicable fields. Please remove unrelated fields.] -->
- [ ] Parameters are documented in the `values.yaml` and added to the `README.md` using [readme-generator-for-helm](https://github.com/bitnami-labs/readme-generator-for-helm)
- [ ] Breaking changes are documented in the `README.md`

2
.gitignore vendored
View file

@ -4,3 +4,5 @@ node_modules/
unittests/*/__snapshot__/
tmp/
tmpcharts/
.pnpm-store/

View file

@ -43,3 +43,23 @@ unittests/
.woodpecker/
tmp/
artifacthub-repo.yml
ci/
.forgejo/
e2e/
.husky/
tools/
.git/
.editorconfig
.lintstagedrc.json
.editorconfig
.gitignore
.helmignore
.node-version
.prettier*
.yamllint
artifacthub*
renovate.json
pnpm-lock.yaml
.pnpm-store/

3
.husky/pre-commit Executable file
View file

@ -0,0 +1,3 @@
#!/bin/sh
pnpm lint-staged

6
.lintstagedrc.json Normal file
View file

@ -0,0 +1,6 @@
{
"*.sh": "shellcheck",
".husky/*": "shellcheck",
"!*.{sh,md}": "prettier --cache --ignore-unknown --write",
"*.md": ["markdownlint --fix", "prettier --cache --write"]
}

View file

@ -10,11 +10,11 @@ extends: null
# MD003/heading-style/header-style - Heading style
MD003:
# Heading style
style: "atx"
style: 'atx'
# MD004/ul-style - Unordered list style
MD004:
style: "dash"
style: 'dash'
# MD007/ul-indent - Unordered list indentation
MD007:
@ -47,7 +47,7 @@ MD013:
# Number of characters
line_length: 200
# Number of characters for headings
heading_line_length: 80
heading_line_length: 100
# Number of characters for code blocks
code_block_line_length: 80
# Include code blocks
@ -56,8 +56,6 @@ MD013:
tables: false
# Include headings
headings: true
# Include headings
headers: true
# Strict length checking
strict: false
# Stern length checking
@ -73,7 +71,7 @@ MD022:
# MD024/no-duplicate-heading/no-duplicate-header - Multiple headings with the same content
MD024:
# Only check sibling headings
allow_different_nesting: true
siblings_only: true
# MD025/single-title/single-h1 - Multiple top-level headings in the same document
MD025:
@ -85,12 +83,12 @@ MD025:
# MD026/no-trailing-punctuation - Trailing punctuation in heading
MD026:
# Punctuation characters
punctuation: ".,;:!。,;:!"
punctuation: '.,;:!。,;:!'
# MD029/ol-prefix - Ordered list item prefix
MD029:
# List style
style: "one_or_ordered"
style: 'one_or_ordered'
# MD030/list-marker-space - Spaces after list markers
MD030:
@ -106,17 +104,17 @@ MD030:
# MD033/no-inline-html - Inline HTML
MD033:
# Allowed elements
allowed_elements: []
allowed_elements: [details, summary]
# MD035/hr-style - Horizontal rule style
MD035:
# Horizontal rule style
style: "---"
style: '---'
# MD036/no-emphasis-as-heading/no-emphasis-as-header - Emphasis used instead of a heading
MD036:
# Punctuation characters
punctuation: ".,;:!?。,;:!?"
punctuation: '.,;:!?。,;:!?'
# MD041/first-line-heading/first-line-h1 - First line in a file should be a top-level heading
MD041:
@ -129,23 +127,22 @@ MD041:
MD044:
# List of proper names
names:
- Gitea
- PostgreSQL
- MariaDB
- MySQL
- Memcached
- Prometheus
- Git
- GitOps
- Gitea
- PostgreSQL
- Memcached
- Prometheus
- Git
- GitOps
- Forgejo
# Include code blocks
code_blocks: false
# MD046/code-block-style - Code block style
MD046:
# Block style
style: "fenced"
style: 'fenced'
# MD048/code-fence-style - Code fence style
MD048:
# Code fence syle
style: "backtick"
style: 'backtick'

View file

@ -1,4 +1,7 @@
.gitea/
node_modules/
charts/
.helmignore
.helmignore
Chart.lock
.pnpm-store/

1
.node-version Normal file
View file

@ -0,0 +1 @@
22.14.0

4
.npmrc
View file

@ -1 +1,5 @@
engine-strict=true
# pnpm run settings
# https://pnpm.io/cli/run
shell-emulator = true

7
.prettierignore Normal file
View file

@ -0,0 +1,7 @@
Chart.lock
node_modules/
pnpm-lock.yaml
.pnpm-store/
# won't work
templates/**/*.yaml

4
.prettierrc.json Normal file
View file

@ -0,0 +1,4 @@
{
"singleQuote": true,
"trailingComma": "all"
}

8
.vscode/extensions.json vendored Normal file
View file

@ -0,0 +1,8 @@
{
"recommendations": [
"yzhang.markdown-all-in-one",
"DavidAnson.vscode-markdownlint",
"Tim-Koehler.helm-intellisense",
"esbenp.prettier-vscode"
]
}

12
.vscode/settings.json vendored Normal file
View file

@ -0,0 +1,12 @@
{
"yaml.schemas": {
"https://json.schemastore.org/github-workflow.json": [
".github/workflows/*",
".forgejo/workflows/*"
],
"https://raw.githubusercontent.com/helm-unittest/helm-unittest/v0.7.2/schema/helm-testsuite.json": [
"/unittests/**/*.yaml"
]
},
"yaml.schemaStore.enable": true
}

View file

@ -1,50 +0,0 @@
platform: linux/amd64
when:
event:
- pull_request
- tag
- push
branch:
- main
- release/**
pipeline:
deps:
image: alpine:3.17.1
pull: true
commands:
- apk add --no-cache helm
- helm repo add bitnami https://raw.githubusercontent.com/bitnami/charts/archive-full-index/bitnami
- helm dependency build
helm-lint:
image: alpine:3.17.1
pull: true
commands:
- apk add --no-cache helm
- helm lint
helm-template:
image: alpine:3.17.1
pull: true
commands:
- apk add --no-cache helm
- helm template --debug gitea-helm .
helm-unittests:
image: alpine:3.17.1
pull: true
commands:
- apk add --no-cache make helm git bash
- helm plugin install https://github.com/quintush/helm-unittest
- helm dependency update
- make unittests
verify-readme:
image: alpine:3.17.1
pull: true
commands:
- apk add --no-cache make nodejs npm git
- make readme
- git diff --exit-code --name-only README.md

View file

@ -1,46 +0,0 @@
platform: linux/amd64
depends_on:
- lint
when:
event:
- tag
tag: v*
pipeline:
generate-chart:
image: alpine:3.17.1
pull: true
commands:
- apk add --no-cache git nodejs npm helm
- helm repo add bitnami https://raw.githubusercontent.com/bitnami/charts/archive-full-index/bitnami
- helm dependency build
- rm -rf tmp/
- helm package --version "${CI_COMMIT_TAG##v}" -d tmp/ ./
- npm ci
- npm run changelog "${CI_COMMIT_TAG##v}" tmp/changelog.md
secrets:
- token
publish-release:
image: plugins/gitea-release
pull: true
settings:
base_url: https://codeberg.org
api_key:
from_secret: token
files: tmp/*.tgz
title: ${CI_COMMIT_TAG##v}
file_exists: fail
note: tmp/changelog.md
publish-chart:
image: alpine:3.17.1
pull: true
commands:
- apk add --no-cache helm
- echo $${TOKEN} | helm registry login -u viceice --password-stdin codeberg.org/forgejo-contrib
- helm push tmp/forgejo-${CI_COMMIT_TAG##v}.tgz oci://codeberg.org/forgejo-contrib
secrets:
- token

View file

@ -1,25 +0,0 @@
platform: linux/amd64
when:
event:
- cron
pipeline:
renovate:
image: ghcr.io/visualon/renovate:34.105.6
pull: true
commands:
- renovate $${CI_REPO}
environment:
RENOVATE_PLATFORM: gitea
RENOVATE_ENDPOINT: https://codeberg.org
LOG_LEVEL: debug
secrets:
- source: token
target: renovate_token
- source: gh_token
target: github_com_token
when:
- event:
- cron
cron: renovate

20
.yamllint Normal file
View file

@ -0,0 +1,20 @@
---
extends: default
ignore: |
.yamllint
node_modules
templates
rules:
truthy:
allowed-values: ['true', 'false']
check-keys: False
level: error
line-length: disable
document-start: disable
comments:
min-spaces-from-content: 1
braces:
max-spaces-inside: 2

View file

@ -9,20 +9,16 @@ refactorings for easier maintainability or documentation improvements.
- [`helm`](https://helm.sh/docs/intro/install/)
- `make` is optional; you may call the commands directly
When using Visual Studio Code as IDE, following plugins might be useful:
- [Markdown All in One](https://marketplace.visualstudio.com/items?itemName=yzhang.markdown-all-in-one)
- [markdownlint](https://marketplace.visualstudio.com/items?itemName=DavidAnson.vscode-markdownlint)
- [Helm Intellisense](https://marketplace.visualstudio.com/items?itemName=Tim-Koehler.helm-intellisense)
When using Visual Studio Code as IDE, a [ready-to-use profile](.vscode/) is available.
## Documentation Requirements
The `README.md` must include all configuration options. The parameters section
is generated by extracting the parameter annotations from the `values.yaml` file,
by using [this tool](https://github.com/bitnami-labs/readme-generator-for-helm).
The `README.md` must include all configuration options.
The parameters section is generated by extracting the parameter annotations from the `values.yaml` file, by using [this tool](https://github.com/bitnami-labs/readme-generator-for-helm).
If changes were made on configuration options, run `make readme` to update the
README file.
If changes were made on configuration options, run `make readme` to update the README file.
The ToC is created via the VSCode [Markdown All in One](https://marketplace.visualstudio.com/items?itemName=yzhang.markdown-all-in-one) extension which can/must also be used used to update it.
## Pull Request Requirements
@ -40,23 +36,30 @@ For local development and testing of pull requests, the following workflow can
be used:
1. Install `minikube` and `helm`.
2. Start a `minikube` cluster via `minikube start`.
3. From the `gitea/helm-chart` directory execute the following command. This
will install the dependencies listed in `Chart.yml` and deploy the current
state of the helm chart found locally. If you want to test a branch, make
sure to switch to the respective branch first.
`helm install --dependency-update gitea . -f values.yaml`.
4. Gitea is now deployed in `minikube`. To access it, it's port needs to be
forwarded first from `minikube` to localhost first via `kubectl --namespace
default port-forward svc/gitea-http 3000:3000`. Now Gitea is accessible at
[http://localhost:3000](http://localhost:3000).
1. Start a `minikube` cluster via `minikube start`.
1. From the `forgejo-contrib/forgejo-helm` directory execute the following command.
This will install the dependencies listed in `Chart.yml` and deploy the current state of the helm chart found locally.
If you want to test a branch, make sure to switch to the respective branch first.
`helm install --dependency-update forgejo . -f values.yaml`.
1. Forgejo is now deployed in `minikube`.
To access it, it's port needs to be forwarded first from `minikube` to localhost first via `kubectl --namespace
default port-forward svc/gitea-http 3000:3000`.
Now Forgejo is accessible at [http://localhost:3000](http://localhost:3000).
### Unit tests
```bash
# install the unittest plugin
$ helm plugin install https://github.com/heyhabito/helm-unittest
$ helm plugin install https://github.com/helm-unittest/helm-unittest
# run the unittests
make unittests
```
See [plugin documentation](https://github.com/helm-unittest/helm-unittest/blob/main/DOCUMENT.md) for usage instructions.
## Release process
1. Create a tag following the tagging schema
1. Push the tag
1. Let CI do it's work

View file

@ -1,15 +1,18 @@
dependencies:
- name: memcached
repository: https://raw.githubusercontent.com/bitnami/charts/archive-full-index/bitnami
version: 6.3.5
- name: mysql
repository: https://raw.githubusercontent.com/bitnami/charts/archive-full-index/bitnami
version: 9.4.6
- name: common
repository: oci://ghcr.io/visualon/bitnamicharts
version: 2.30.0
- name: postgresql
repository: https://raw.githubusercontent.com/bitnami/charts/archive-full-index/bitnami
version: 12.1.9
- name: mariadb
repository: https://raw.githubusercontent.com/bitnami/charts/archive-full-index/bitnami
version: 11.4.4
digest: sha256:9d5f8b986b2cc244d32ceb6165399deaae5a4a6a6df955e2a7b0e8f36c0146a9
generated: "2023-01-19T11:57:21.482881836Z"
repository: oci://ghcr.io/visualon/bitnamicharts
version: 16.5.6
- name: postgresql-ha
repository: oci://ghcr.io/visualon/bitnamicharts
version: 15.3.8
- name: redis-cluster
repository: oci://ghcr.io/visualon/bitnamicharts
version: 11.4.6
- name: redis
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
type: application
version: 0.0.0
appVersion: 1.18.1-0
icon: https://design.codeberg.org/logo-kit/icon.svg
appVersion: 10.0.3
icon: https://code.forgejo.org/forgejo/forgejo/raw/branch/forgejo/assets/logo.svg
home: https://forgejo.org/
keywords:
@ -16,27 +16,41 @@ keywords:
- gitea
- gogs
sources:
- https://codeberg.org/forgejo-contrib/forgejo-helm
- https://code.forgejo.org/forgejo-helm/forgejo-helm
- https://codeberg.org/forgejo/forgejo
maintainers:
- name: Michael Kriese
email: michael.kriese@visualon.de
# Bitnami charts are served from GitHub CDN - See https://github.com/bitnami/charts/issues/10833 for details
# Bitnami charts are served from ghcr mirror because of rate limiting on Docker Hub
# https://hub.docker.com/u/bitnamicharts
# 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:
- name: memcached
repository: https://raw.githubusercontent.com/bitnami/charts/archive-full-index/bitnami
version: 6.3.5
condition: memcached.enabled
- name: mysql
repository: https://raw.githubusercontent.com/bitnami/charts/archive-full-index/bitnami
version: 9.4.6
condition: mysql.enabled
- name: postgresql
repository: https://raw.githubusercontent.com/bitnami/charts/archive-full-index/bitnami
version: 12.1.9
condition: postgresql.enabled
- name: mariadb
repository: https://raw.githubusercontent.com/bitnami/charts/archive-full-index/bitnami
version: 11.4.4
condition: mariadb.enabled
# 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
- name: postgresql
repository: oci://ghcr.io/visualon/bitnamicharts
version: 16.5.6
condition: postgresql.enabled
# https://github.com/bitnami/charts/blob/main/bitnami/postgresql-ha/Chart.yaml
- name: postgresql-ha
repository: oci://ghcr.io/visualon/bitnamicharts
version: 15.3.8
condition: postgresql-ha.enabled
# https://github.com/bitnami/charts/blob/main/bitnami/redis-cluster/Chart.yaml
- name: redis-cluster
repository: oci://ghcr.io/visualon/bitnamicharts
version: 11.4.6
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
Copyright (c) 2023 The Forgejo Authors
Copyright (c) 2020 The Gitea Authors
Copyright (c) 2020 NOVUM-RGI
Copyright (c) 2019 - 2020 Charlie Drage

View file

@ -1,12 +1,17 @@
.PHONY: prepare-environment
prepare-environment:
npm install
pnpm install
.PHONY: readme
readme: prepare-environment
npm run readme:parameters
npm run readme:lint
pnpm readme:parameters
pnpm readme:lint
.PHONY: unittests
unittests:
helm unittest --helm3 --strict -f 'unittests/**/*.yaml' ./
helm unittest --strict -f 'unittests/**/*.yaml' ./
.PHONY: helm
update-helm-dependencies:
helm dependency update

1062
README.md

File diff suppressed because it is too large Load diff

View file

@ -2,8 +2,8 @@
# Artifact Hub repository metadata file
# https://artifacthub.io/docs/topics/repositories/helm-charts/#oci-support
# 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'
owners: # (optional, used to claim repository ownership)
- name: viceice
email: michael.kriese@visualon.de
email: michael.kriese@visualon.de

View file

@ -1 +1 @@
{}
{}

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

27
ci/dev-values.yaml Normal file
View file

@ -0,0 +1,27 @@
# 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:
enabled: false
postgresql-ha:
enabled: false
persistence:
enabled: false
gitea:
config:
database:
DB_TYPE: sqlite3
session:
PROVIDER: memory
cache:
ADAPTER: memory
queue:
TYPE: level

37
ci/single-values.yaml Normal file
View file

@ -0,0 +1,37 @@
redis-cluster:
enabled: false
postgresql-ha:
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:
enabled: true
gitea:
config:
database:
DB_TYPE: postgres
session:
PROVIDER: db
cache:
ADAPTER: memory
queue:
TYPE: level
indexer:
ISSUE_INDEXER_TYPE: bleve
REPO_INDEXER_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

178
docs/ha-setup.md Normal file
View file

@ -0,0 +1,178 @@
# High Availability
All components (in-memory DB, volume/asset storage, code indexer) used by Forgejo must be deployed in a HA-ready fashion to achieve a full HA-ready Forgejo deployment.
The following document explains how to achieve this for all individual components.
The resulting Forgejo deployment will consist of ~ 10 pods (depending on the chosen components and their replicas).
One should evaluate upfront whether a HA-deployment is required as switching between HA/non-HA comes with some effort.
For production instances, HA is always recommended to increase uptime and have a frictionless update process.
A general comment about chart dependencies and external services:
Instead of relying on chart dependencies, it is often better to rely on an external, (managed) instances (in-memory database, asset storage provider, database, etc.).
Many cloud providers offer such services, at least for databases or in-memory databases.
They might cost a bit more than using a self-hosted k8s variant but are usually easier to maintain and scale, if needed.
Also they can be centrally managed and are not linked to the Forgejo helm chart or namespace.
Please consider using external services before you start with your Forgejo HA setup, it will make your life (and the life of the Forgejo maintainers) easier.
This helm chart tries to help as much as possible to simplify and assert the provisioning of a HA-ready Forgejo instance by implementing smart conditionals if `replicaCount` is set to a value > 1.
Nevertheless, we cannot guarantee for every possible combination of Forgejo settings to work together perfectly in a HA setup.
As a general advice, we recommend to have a test environment aside on which to test possible changes/upgrades before applying these to a production installation.
## Requirements for HA
Storage-wise, the HA-Forgejo setup requires a RWX file-system which can be shared among the deployment-based replica pods.
In addition, the following components are required for full HA-readiness:
- A HA-ready issue (and optionally code) indexer: `elasticsearch` or `meilisearch`
- A HA-ready external object/asset storage (`minio`) (optional, assets can also be stored on the RWX file-system)
- A HA-ready cache (`redis-cluster`)
- A HA-ready DB
`postgres.enabled`, which default to `true`, must be set to `false` for a HA setup.
The default `postgres` chart dependency is not HA-ready (there's a dedicated `postgres-ha` chart).
The following sections discuss each of the components in more detail.
Note that for each component discussed, the shown configurations only provides a (working) starting point, not necessarily the most optimal setup.
We try to optimize this document over time as we have gained more experience with HA setups from users.
## Indexers (Issues and code/repo)
The default code indexer `bleve` is not able to allow multiple connections and hence cannot be used in a HA setup.
Alternatives are `elasticsearch` and `meilisearch` (as of >= 1.19.2).
Unless you have an existing `elasticsearch` cluster, we recommend using `meilisearch` as it is faster and requires way less resources.
Unfortunately, `meilisearch` does only support the `ISSUE_INDEXER` and not the `REPO_INDEXER` yet ([tracking issue](https://github.com/go-gitea/gitea/pull/24149)).
This means that the `REPO_INDEXER` must still be disabled for a HA setup right now.
An alternative to the two options above for the `ISSUE_INDEXER` is `"db"`, however we recommend to just go with `meilisearch` in this case and to not bother the DB with indexing.
To configure `meilisearch` within Forgejo, do the following:
```yml
gitea:
config:
indexer:
ISSUE_INDEXER_CONN_STR: <http://meilisearch.<namespace>.svc.cluster.local:7700>
ISSUE_INDEXER_ENABLED: true
ISSUE_INDEXER_TYPE: meilisearch
REPO_INDEXER_ENABLED: false
# REPO_INDEXER_TYPE: meilisearch # not yet working
```
Unfortunately `meilisearch` cannot be deployed in HA as of now.
Nevertheless it allows for multiple Forgejo requests at the same time and is therefore required in a HA setup.
Exemplary configuration for the [meilisearch-kubernetes](https://github.com/meilisearch/meilisearch-kubernetes/tree/main/charts/meilisearch) chart:
```yaml
persistence:
enabled: true
accessMode: ReadWriteOnce
size: 5Gi
```
## Cache, session and queue
A `redis` instance is required for the in-memory cache.
Two options exist:
- `redis`
- `redis-cluster`
The chart provides `redis-cluster` as a dependency as this one can be used for both HA and non-HA setups.
You're also welcome to go with `redis` if you prefer or already have a running instance.
It should be noted that `redis-cluster` support is only available starting with Forgejo 1.19.2.
You can also configure an external (managed) `redis` instance to be used.
To do so, you need to set the following configuration values yourself:
- `gitea.config.queue.TYPE`: redis`
- `gitea.config.queue.CONN_STR`: `<your redis connection string>`
- `gitea.config.session.PROVIDER`: `redis`
- `gitea.config.session.PROVIDER_CONFIG`: `<your redis connection string>`
- `gitea.config.cache.ENABLED`: `true`
- `gitea.config.cache.ADAPTER`: `redis`
- `gitea.config.cache.HOST`: `<your redis connection string>`
By default, the `redis-cluster` chart provisions three standalone master nodes of which each has a single replica.
To reduce the number of pods for a default Forgejo deployment, we opted to omit the replicas (`replicas: 0`) by default.
Only the minimum required number of master pods for a functional `redis-cluster` deployment are provisioned.
For a "proper" `redis-cluster` setup however, we recommend to set `replicas: 1` and `nodes: 6`.
## Object and asset storage
Object/asset storage refers to the storage of attachments, avatars, LFS files, etc.
While most of these can be stored on the RWX file-system, it is recommended to use an external S3-compatible object storage for such, mainly for performance reasons.
By default the chart provisions a single RWO volume to store everything (repos, avatars, packages, etc.).
This volume cannot be mounted by multiple pods.
Hence, a RWX volume is required and (optionally) an external HA-ready object storage.
> **Note:** Double-check that the file permissions are set correctly on the RWX volume! That is everything should be owned by the `git` user which usually has `uid=1000` and `gid=1000`.
To use `minio` you need to deploy and configure an external `minio` instance yourself and explicitly define the `STORAGE_TYPE` values as shown below.
Note that `MINIO_BUCKET` here is just a name and does not refer to a S3 bucket.
It's the root access point for all objects belonging to the respective application, i.e., to Forgejo in this case.
```yaml
gitea:
config:
attachment:
STORAGE_TYPE: minio
lfs:
STORAGE_TYPE: minio
picture:
AVATAR_STORAGE_TYPE: minio
'storage.packages':
STORAGE_TYPE: minio
storage:
MINIO_ENDPOINT: <minio-headless.<namespace>.svc.cluster.local:9000>
MINIO_LOCATION: <location>
MINIO_ACCESS_KEY_ID: <access key>
MINIO_SECRET_ACCESS_KEY: <secret key>
MINIO_BUCKET: <bucket name>
MINIO_USE_SSL: false
```
Exemplary configuration for the [bitnami minio](https://github.com/bitnami/charts/blob/main/bitnami/minio) chart:
```yaml
auth:
rootUser: minio
mode: distributed
replicaCount: 4
persistence:
enabled: true
size: 20Gi
accessModes:
- ReadWriteOnce
```
## Database
If you do not have an HA-ready DB, using a managed database service in the cloud might be the easiest and most robust solution.
Remember: disable the built-in `postgres` dependency and configure the database connection manually via `gitea.config.database`:
```yml
gitea:
database:
builtIn:
postgresql:
enabled: false
config:
database:
DB_TYPE: postgres
HOST: <host>
NAME: <name>
USER: <user>
```
## Known issues
- Currently Cron jobs are run on all replicas as no leader election is implemented.
See [https://github.com/go-gitea/gitea/issues/13791](https://github.com/go-gitea/gitea/issues/13791) for a discussion and possible solution.
- Running with multiple replicas slows down Forgejo a bit, i.e. page loading time increases.

17
e2e/kind.cluster.yml Normal file
View file

@ -0,0 +1,17 @@
# based on https://github.com/kind-ci/examples
apiVersion: kind.x-k8s.io/v1alpha4
kind: Cluster
name: chart-testing
networking:
apiServerAddress: '0.0.0.0'
nodes:
# add to the apiServer certSANs the name of the drone service in order to be able to reach the cluster through it
- role: control-plane
kubeadmConfigPatches:
- |
kind: ClusterConfiguration
apiServer:
certSANs:
- docker
- role: worker

3645
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -1,22 +1,31 @@
{
"name": "forgejo-helm-chart",
"homepage": "https://codeberg.org/forgejo-contrib/forgejo-helm.git",
"homepage": "https://code.forgejo.org/forgejo-helm/forgejo-helm",
"license": "MIT",
"private": true,
"engineStrict": true,
"engines": {
"node": ">=16.0.0",
"npm": ">=8.0.0"
},
"scripts": {
"changelog": "node tools/changelog.mjs",
"forgejo:release": "node tools/forgejo-release.js",
"prepare": "husky",
"prettier": "prettier --check --ignore-unknown --cache '**/*.*'",
"prettier-fix": "prettier --write --ignore-unknown --cache '**/*.*'",
"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": {
"@bitnami/readme-generator-for-helm": "^2.4.2",
"conventional-changelog-conventionalcommits": "^5.0.0",
"conventional-changelog-core": "^4.2.4",
"markdownlint-cli": "^0.33.0"
"@bitnami/readme-generator-for-helm": "2.7.0",
"clipanion": "3.2.1",
"conventional-changelog-conventionalcommits": "8.0.0",
"conventional-changelog-core": "9.0.0",
"husky": "9.1.7",
"lint-staged": "15.5.0",
"markdownlint-cli": "0.44.0",
"prettier": "3.5.3"
},
"packageManager": "pnpm@10.7.0",
"engines": {
"node": "^22.0.0",
"pnpm": "^10.0.0"
}
}

1578
pnpm-lock.yaml Normal file

File diff suppressed because it is too large Load diff

View file

@ -1,11 +1,24 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": "config:base",
"extends": [
"forgejo-contrib/forgejo-renovate//base.json",
"forgejo-helm/forgejo-helm//.forgejo/renovate/k3s.json"
],
"assignees": ["viceice"],
"semanticCommits": "enabled",
"automergeStrategy": "fast-forward",
"enabledManagers": ["helmv3", "npm", "regex", "woodpecker"],
"baseBranches": ["main", "/^maint\\/.+/"],
"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"],
"matchUpdateTypes": ["minor", "patch"],
@ -17,45 +30,108 @@
"semanticCommitType": "feat"
},
{
"description": "Fix forgejo docker image versioning",
"matchDepNames": ["forgejo"],
"matchDatasources": ["docker"],
"versioning": "regex:^(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)-(?<build>\\d+)(?:-(?<compatibility>.+))?$"
},
{
"matchManagers": ["regex"],
"matchManagers": ["custom.regex"],
"matchDepNames": ["forgejo"],
"matchUpdateTypes": ["patch"],
"semanticCommitType": "fix"
},
{
"matchManagers": ["regex"],
"matchManagers": ["custom.regex"],
"matchDepNames": ["forgejo"],
"matchUpdateTypes": ["major", "minor"],
"semanticCommitType": "feat"
},
{
"description": "Automerge renovate updates",
"matchPackageNames": ["ghcr.io/visualon/renovate"],
"description": "Automerge and group helm subchart updates weekly (minor & patch)",
"matchManagers": ["helmv3"],
"matchFileNames": ["Chart.yaml"],
"matchUpdateTypes": ["minor", "patch"],
"automerge": true,
"platformAutomerge": true
"groupName": "subcharts",
"extends": ["schedule:weekly"]
},
{
"description": "Automerge patch deps updates",
"matchManagers": ["helmv3"],
"matchFiles": ["Chart.yaml"],
"matchUpdateTypes": ["patch"],
"automerge": true,
"platformAutomerge": true
"description": "Automerge dev deps updates",
"matchManagers": ["npm"],
"matchDepTypes": ["devDependencies"],
"matchUpdateTypes": ["minor", "patch"],
"automerge": true
},
{
"description": "Automerge node updates",
"matchManagers": ["nodenv"],
"matchUpdateTypes": ["minor", "patch"],
"automerge": true
},
{
"description": "Automerge some updates",
"matchDepNames": ["pnpm", "helm-unittest"],
"matchUpdateTypes": ["minor", "patch"],
"automerge": true
},
{
"description": "Automerge digest updates",
"matchUpdateTypes": ["digest"],
"automerge": true
},
{
"description": "Use test scope for forgejo ci tests",
"matchFileNames": ["ci/*.yaml"],
"additionalBranchPrefix": "ci-forgejo-",
"semanticCommitType": "ci",
"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": ["/.+/"]
}
],
"regexManagers": [
"customManagers": [
{
"description": "Update forgeo version in chart",
"customType": "regex",
"fileMatch": ["^Chart\\.yaml$"],
"matchStrings": ["appVersion: (?<currentValue>.+?)\\s"],
"depNameTemplate": "forgejo",
"packageNameTemplate": "codeberg.org/forgejo/forgejo",
"packageNameTemplate": "code.forgejo.org/forgejo/forgejo",
"datasourceTemplate": "docker"
},
{
"description": "Detect helm-unittest yaml schema file",
"customType": "regex",
"fileMatch": [".vscode/settings\\.json$"],
"matchStrings": [
"https://raw\\.githubusercontent\\.com/helm-unittest/helm-unittest/(?<currentValue>v[0-9.]+?)/schema/helm-testsuite\\.json"
],
"depNameTemplate": "helm-unittest",
"packageNameTemplate": "helm-unittest/helm-unittest",
"datasourceTemplate": "github-releases"
},
{
"customType": "regex",
"description": "Update k3s kubernetes references",
"fileMatch": ["^\\.forgejo/workflows/[^/]+\\.ya?ml$"],
"matchStrings": [" +- (?<currentValue>.+?) # renovate: k3s\\n"],
"depNameTemplate": "k3s",
"packageNameTemplate": "k3s-io/k3s",
"datasourceTemplate": "github-releases"
}
]
],
"helm-values": {
"fileMatch": ["^ci/.+\\.yaml$"]
}
}

View file

@ -18,3 +18,19 @@
echo "Visit http://127.0.0.1:{{ .Values.service.http.port }} to use your application"
kubectl --namespace {{ .Release.Namespace }} port-forward svc/{{ .Release.Name }}-http {{ .Values.service.http.port }}:{{ .Values.service.http.port }}
{{- end }}
{{- $warnings := list -}}
{{- if eq (get .Values.gitea.config.cache "ADAPTER") "memory" -}}
{{- $warnings = append $warnings "Forgejo uses 'memory' for caching which is not recommended for production use. See https://forgejo.org/docs/latest/admin/config-cheat-sheet/#cache-cache for available options." -}}
{{- end }}
{{- if eq (get .Values.gitea.config.queue "TYPE") "level" -}}
{{- $warnings = append $warnings "Forgejo uses 'leveldb' for queue actions which is not recommended for production use. See https://forgejo.org/docs/latest/admin/config-cheat-sheet/#queue-queue-and-queue for available options." -}}
{{- end }}
{{- if eq (get .Values.gitea.config.session "PROVIDER") "memory" -}}
{{- $warnings = append $warnings "Forgejo uses 'memory' for sessions which is not recommended for production use. See https://forgejo.org/docs/latest/admin/config-cheat-sheet/#session-session for available options." -}}
{{- end }}
{{- if gt (len $warnings) 0 }}
2. Review these warnings:
{{- range $warnings }}
- {{ . }}
{{- end }}
{{- end }}

View file

@ -2,6 +2,7 @@
{{/*
Expand the name of the chart.
*/}}
{{- define "gitea.name" -}}
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}}
{{- end -}}
@ -31,18 +32,34 @@ Create chart name and version as used by the chart label.
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}}
{{- 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.
*/}}
{{- define "gitea.image" -}}
{{- $fullOverride := .Values.image.fullOverride | default "" -}}
{{- $registry := .Values.global.imageRegistry | default .Values.image.registry -}}
{{- $name := .Values.image.repository -}}
{{- $tag := .Values.image.tag | default .Chart.AppVersion -}}
{{- $repository := .Values.image.repository -}}
{{- $separator := ":" -}}
{{- $tag := .Values.image.tag | default .Chart.AppVersion | toString -}}
{{- $rootless := ternary "-rootless" "" (.Values.image.rootless) -}}
{{- if $registry -}}
{{- printf "%s/%s:%s%s" $registry $name $tag $rootless -}}
{{- $digest := "" -}}
{{- if .Values.image.digest }}
{{- $digest = (printf "@%s" (.Values.image.digest | toString)) -}}
{{- end -}}
{{- if $fullOverride }}
{{- printf "%s" $fullOverride -}}
{{- else if $registry }}
{{- printf "%s/%s%s%s%s%s" $registry $repository $separator $tag $rootless $digest -}}
{{- else -}}
{{- printf "%s:%s%s" $name $tag $rootless -}}
{{- printf "%s%s%s%s%s" $repository $separator $tag $rootless $digest -}}
{{- end -}}
{{- end -}}
@ -65,7 +82,7 @@ imagePullSecrets:
Storage Class
*/}}
{{- define "gitea.persistence.storageClass" -}}
{{- $storageClass := .Values.global.storageClass | default .Values.persistence.storageClass }}
{{- $storageClass := (tpl ( default "" .Values.persistence.storageClass) .) | default (tpl ( default "" .Values.global.storageClass) .) }}
{{- if $storageClass }}
storageClassName: {{ $storageClass | quote }}
{{- end }}
@ -78,8 +95,8 @@ Common labels
helm.sh/chart: {{ include "gitea.chart" . }}
app: {{ include "gitea.name" . }}
{{ include "gitea.selectorLabels" . }}
app.kubernetes.io/version: {{ .Values.image.tag | default .Chart.AppVersion | quote }}
version: {{ .Values.image.tag | default .Chart.AppVersion | quote }}
app.kubernetes.io/version: {{ include "gitea.version" . | quote }}
version: {{ include "gitea.version" . | quote }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
{{- end -}}
@ -91,24 +108,46 @@ app.kubernetes.io/name: {{ include "gitea.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
{{- end -}}
{{- define "postgresql-ha.dns" -}}
{{- if (index .Values "postgresql-ha").enabled -}}
{{- printf "%s-postgresql-ha-pgpool.%s.svc.%s:%g" .Release.Name .Release.Namespace .Values.clusterDomain (index .Values "postgresql-ha" "service" "ports" "postgresql") -}}
{{- end -}}
{{- end -}}
{{- define "postgresql.dns" -}}
{{- printf "%s-postgresql.%s.svc.%s:%g" .Release.Name .Release.Namespace .Values.clusterDomain .Values.postgresql.primary.service.ports.postgresql -}}
{{- if (index .Values "postgresql").enabled -}}
{{- printf "%s-postgresql.%s.svc.%s:%g" .Release.Name .Release.Namespace .Values.clusterDomain .Values.postgresql.global.postgresql.service.ports.postgresql -}}
{{- end -}}
{{- end -}}
{{- define "mysql.dns" -}}
{{- printf "%s-mysql.%s.svc.%s:%g" .Release.Name .Release.Namespace .Values.clusterDomain .Values.mysql.primary.service.ports.mysql | trunc 63 | trimSuffix "-" -}}
{{- define "redis.dns" -}}
{{- 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 -}}
{{- 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 -}}
{{- define "mariadb.dns" -}}
{{- printf "%s-mariadb.%s.svc.%s:%g" .Release.Name .Release.Namespace .Values.clusterDomain .Values.mariadb.primary.service.ports.mysql | trunc 63 | trimSuffix "-" -}}
{{- define "redis.port" -}}
{{- if (index .Values "redis-cluster").enabled -}}
{{ (index .Values "redis-cluster").service.ports.redis }}
{{- else if (index .Values "redis").enabled -}}
{{ (index .Values "redis").master.service.ports.redis }}
{{- end -}}
{{- end -}}
{{- define "memcached.dns" -}}
{{- printf "%s-memcached.%s.svc.%s:%g" .Release.Name .Release.Namespace .Values.clusterDomain .Values.memcached.service.ports.memcached | trunc 63 | trimSuffix "-" -}}
{{- define "redis.servicename" -}}
{{- if (index .Values "redis-cluster").enabled -}}
{{- 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 -}}
{{- define "gitea.default_domain" -}}
{{- printf "%s-gitea.%s.svc.%s" (include "gitea.fullname" .) .Release.Namespace .Values.clusterDomain | trunc 63 | trimSuffix "-" -}}
{{- printf "%s-http.%s.svc.%s" (include "gitea.fullname" .) .Release.Namespace .Values.clusterDomain -}}
{{- end -}}
{{- define "gitea.ldap_settings" -}}
@ -185,11 +224,12 @@ https
{{- $_ := set $inlines $key (join "\n" $section) -}}
{{- end -}}
{{- 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) -}}
{{- else -}}
{{- (printf "Key %s cannot be on top level of configuration" $key) | fail -}}
{{- end -}}
{{- end }}
{{- end }}
@ -219,6 +259,18 @@ https
{{- if not (hasKey .Values.gitea.config "oauth2") -}}
{{- $_ := set .Values.gitea.config "oauth2" dict -}}
{{- end -}}
{{- if not (hasKey .Values.gitea.config "session") -}}
{{- $_ := set .Values.gitea.config "session" dict -}}
{{- end -}}
{{- if not (hasKey .Values.gitea.config "queue") -}}
{{- $_ := set .Values.gitea.config "queue" dict -}}
{{- end -}}
{{- if not (hasKey .Values.gitea.config "queue.issue_indexer") -}}
{{- $_ := set .Values.gitea.config "queue.issue_indexer" dict -}}
{{- end -}}
{{- if not (hasKey .Values.gitea.config "indexer") -}}
{{- $_ := set .Values.gitea.config "indexer" dict -}}
{{- end -}}
{{- end -}}
{{- define "gitea.inline_configuration.defaults" -}}
@ -234,12 +286,36 @@ https
{{- if not (hasKey .Values.gitea.config.metrics "ENABLED") -}}
{{- $_ := set .Values.gitea.config.metrics "ENABLED" .Values.gitea.metrics.enabled -}}
{{- end -}}
{{- if .Values.memcached.enabled -}}
{{- $_ := set .Values.gitea.config.cache "ENABLED" "true" -}}
{{- $_ := set .Values.gitea.config.cache "ADAPTER" "memcache" -}}
{{- if not (.Values.gitea.config.cache.HOST) -}}
{{- $_ := set .Values.gitea.config.cache "HOST" (include "memcached.dns" .) -}}
{{- /* redis queue */ -}}
{{- if or ((index .Values "redis-cluster").enabled) ((index .Values "redis").enabled) -}}
{{- $_ := set .Values.gitea.config.queue "TYPE" "redis" -}}
{{- $_ := set .Values.gitea.config.queue "CONN_STR" (include "redis.dns" .) -}}
{{- $_ := set .Values.gitea.config.session "PROVIDER" "redis" -}}
{{- $_ := set .Values.gitea.config.session "PROVIDER_CONFIG" (include "redis.dns" .) -}}
{{- $_ := set .Values.gitea.config.cache "ADAPTER" "redis" -}}
{{- $_ := set .Values.gitea.config.cache "HOST" (include "redis.dns" .) -}}
{{- else -}}
{{- if not (get .Values.gitea.config.session "PROVIDER") -}}
{{- $_ := set .Values.gitea.config.session "PROVIDER" "memory" -}}
{{- end -}}
{{- if not (get .Values.gitea.config.session "PROVIDER_CONFIG") -}}
{{- $_ := set .Values.gitea.config.session "PROVIDER_CONFIG" "" -}}
{{- end -}}
{{- if not (get .Values.gitea.config.queue "TYPE") -}}
{{- $_ := set .Values.gitea.config.queue "TYPE" "level" -}}
{{- end -}}
{{- if not (get .Values.gitea.config.queue "CONN_STR") -}}
{{- $_ := set .Values.gitea.config.queue "CONN_STR" "" -}}
{{- end -}}
{{- if not (get .Values.gitea.config.cache "ADAPTER") -}}
{{- $_ := set .Values.gitea.config.cache "ADAPTER" "memory" -}}
{{- end -}}
{{- if not (get .Values.gitea.config.cache "HOST") -}}
{{- $_ := set .Values.gitea.config.cache "HOST" "" -}}
{{- end -}}
{{- end -}}
{{- if not .Values.gitea.config.indexer.ISSUE_INDEXER_TYPE -}}
{{- $_ := set .Values.gitea.config.indexer "ISSUE_INDEXER_TYPE" "db" -}}
{{- end -}}
{{- end -}}
@ -252,7 +328,7 @@ https
{{- end -}}
{{- if not (.Values.gitea.config.server.DOMAIN) -}}
{{- if gt (len .Values.ingress.hosts) 0 -}}
{{- $_ := set .Values.gitea.config.server "DOMAIN" (index .Values.ingress.hosts 0).host -}}
{{- $_ := set .Values.gitea.config.server "DOMAIN" ( tpl (index .Values.ingress.hosts 0).host $) -}}
{{- else -}}
{{- $_ := set .Values.gitea.config.server "DOMAIN" (include "gitea.default_domain" .) -}}
{{- end -}}
@ -287,30 +363,23 @@ https
{{- end -}}
{{- define "gitea.inline_configuration.defaults.database" -}}
{{- if .Values.postgresql.enabled -}}
{{- if (index .Values "postgresql-ha" "enabled") -}}
{{- $_ := set .Values.gitea.config.database "DB_TYPE" "postgres" -}}
{{- if not (.Values.gitea.config.database.HOST) -}}
{{- $_ := set .Values.gitea.config.database "HOST" (include "postgresql-ha.dns" .) -}}
{{- end -}}
{{- $_ := set .Values.gitea.config.database "NAME" (index .Values "postgresql-ha" "global" "postgresql" "database") -}}
{{- $_ := set .Values.gitea.config.database "USER" (index .Values "postgresql-ha" "global" "postgresql" "username") -}}
{{- $_ := set .Values.gitea.config.database "PASSWD" (index .Values "postgresql-ha" "global" "postgresql" "password") -}}
{{- end -}}
{{- if (index .Values "postgresql" "enabled") -}}
{{- $_ := set .Values.gitea.config.database "DB_TYPE" "postgres" -}}
{{- if not (.Values.gitea.config.database.HOST) -}}
{{- $_ := set .Values.gitea.config.database "HOST" (include "postgresql.dns" .) -}}
{{- end -}}
{{- $_ := set .Values.gitea.config.database "NAME" .Values.postgresql.auth.database -}}
{{- $_ := set .Values.gitea.config.database "USER" .Values.postgresql.auth.username -}}
{{- $_ := set .Values.gitea.config.database "PASSWD" .Values.postgresql.auth.password -}}
{{- else if .Values.mysql.enabled -}}
{{- $_ := set .Values.gitea.config.database "DB_TYPE" "mysql" -}}
{{- if not (.Values.gitea.config.database.HOST) -}}
{{- $_ := set .Values.gitea.config.database "HOST" (include "mysql.dns" .) -}}
{{- end -}}
{{- $_ := set .Values.gitea.config.database "NAME" .Values.mysql.auth.database -}}
{{- $_ := set .Values.gitea.config.database "USER" .Values.mysql.auth.username -}}
{{- $_ := set .Values.gitea.config.database "PASSWD" .Values.mysql.auth.password -}}
{{- else if .Values.mariadb.enabled -}}
{{- $_ := set .Values.gitea.config.database "DB_TYPE" "mysql" -}}
{{- if not (.Values.gitea.config.database.HOST) -}}
{{- $_ := set .Values.gitea.config.database "HOST" (include "mariadb.dns" .) -}}
{{- end -}}
{{- $_ := set .Values.gitea.config.database "NAME" .Values.mariadb.auth.database -}}
{{- $_ := set .Values.gitea.config.database "USER" .Values.mariadb.auth.username -}}
{{- $_ := set .Values.gitea.config.database "PASSWD" .Values.mariadb.auth.password -}}
{{- $_ := set .Values.gitea.config.database "NAME" .Values.postgresql.global.postgresql.auth.database -}}
{{- $_ := set .Values.gitea.config.database "USER" .Values.postgresql.global.postgresql.auth.username -}}
{{- $_ := set .Values.gitea.config.database "PASSWD" .Values.postgresql.global.postgresql.auth.password -}}
{{- end -}}
{{- end -}}
@ -335,3 +404,15 @@ https
{{- define "gitea.gpg-key-secret-name" -}}
{{ default (printf "%s-gpg-key" (include "gitea.fullname" .)) .Values.signing.existingSecret }}
{{- end -}}
{{- define "gitea.serviceAccountName" -}}
{{ .Values.serviceAccount.name | default (include "gitea.fullname" .) }}
{{- 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
metadata:
name: {{ include "gitea.fullname" . }}-inline-config
namespace: {{ include "common.names.namespace" . | quote }}
labels:
{{- include "gitea.labels" . | nindent 4 }}
type: Opaque
@ -16,6 +17,42 @@ metadata:
{{- include "gitea.labels" . | nindent 4 }}
type: Opaque
stringData:
assertions: |
{{- /*assert that only one PG dep is 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." -}}
{{- end }}
{{- /* multiple replicas assertions */ -}}
{{- if gt .Values.replicaCount 1.0 -}}
{{- if .Values.gitea.config.cron -}}
{{- 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 }}
{{- 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." -}}
{{- end }}
{{- if .Values.gitea.config.indexer -}}
{{- 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)." -}}
{{- end }}
{{- if .Values.gitea.config.indexer.REPO_INDEXER_TYPE -}}
{{- if eq .Values.gitea.config.indexer.REPO_INDEXER_TYPE "bleve" -}}
{{- if .Values.gitea.config.indexer.REPO_INDEXER_ENABLED -}}
{{- 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." -}}
{{- end }}
{{- end }}
{{- end }}
{{- end }}
{{- end }}
{{- end }}
config_environment.sh: |-
#!/usr/bin/env bash
set -euo pipefail
@ -32,7 +69,7 @@ stringData:
# skip empty line
return
fi
# 'xargs echo -n' trims all leading/trailing whitespaces and a trailing new line
local setting="$(awk -F '=' '{print $1}' <<< "${line}" | xargs echo -n)"
@ -52,15 +89,18 @@ stringData:
env2ini::log " + '${setting}'"
local masked_setting="${setting//./_0X2E_}" # '//' instructs to replace all matches
masked_setting="${masked_setting//-/_0X2D_}"
if [[ -z "${section}" ]]; then
export "ENV_TO_INI____${setting^^}=${value}" # '^^' makes the variable content uppercase
export "FORGEJO____${masked_setting^^}=${value}" # '^^' makes the variable content uppercase
return
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_}"
export "ENV_TO_INI__${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() {
@ -131,19 +171,21 @@ stringData:
function env2ini::generate_initial_secrets() {
# These environment variables will either be
# - overwritten with user defined values,
# - initially used to set up Gitea
# - initially used to set up Forgejo
# Anyway, they won't harm existing app.ini files
export ENV_TO_INI__SECURITY__INTERNAL_TOKEN=$(gitea generate secret INTERNAL_TOKEN)
export ENV_TO_INI__SECURITY__SECRET_KEY=$(gitea generate secret SECRET_KEY)
export ENV_TO_INI__OAUTH2__JWT_SECRET=$(gitea generate secret JWT_SECRET)
export ENV_TO_INI__SERVER__LFS_JWT_SECRET=$(gitea generate secret LFS_JWT_SECRET)
export FORGEJO__SECURITY__INTERNAL_TOKEN=$(gitea generate secret INTERNAL_TOKEN)
export FORGEJO__SECURITY__SECRET_KEY=$(gitea generate secret SECRET_KEY)
export FORGEJO__OAUTH2__JWT_SECRET=$(gitea generate secret JWT_SECRET)
export FORGEJO__SERVER__LFS_JWT_SECRET=$(gitea generate secret LFS_JWT_SECRET)
env2ini::log "...Initial secrets generated\n"
}
env | (grep ENV_TO_INI || [[ $? == 1 ]]) > /tmp/existing-envs
# save existing envs prior to script execution. Necessary to keep order of
# preexisting and custom envs
env | (grep -e '^FORGEJO__' || [[ $? == 1 ]]) > /tmp/existing-envs
# MUST BE CALLED BEFORE OTHER CONFIGURATION
env2ini::generate_initial_secrets
@ -163,10 +205,10 @@ stringData:
env2ini::log ' - oauth2.JWT_SECRET'
env2ini::log ' - server.LFS_JWT_SECRET'
unset ENV_TO_INI__SECURITY__INTERNAL_TOKEN
unset ENV_TO_INI__SECURITY__SECRET_KEY
unset ENV_TO_INI__OAUTH2__JWT_SECRET
unset ENV_TO_INI__SERVER__LFS_JWT_SECRET
unset FORGEJO__SECURITY__INTERNAL_TOKEN
unset FORGEJO__SECURITY__SECRET_KEY
unset FORGEJO__OAUTH2__JWT_SECRET
unset FORGEJO__SERVER__LFS_JWT_SECRET
fi
environment-to-ini -o $GITEA_APP_INI -p ENV_TO_INI
environment-to-ini -o $GITEA_APP_INI

View file

@ -1,22 +1,32 @@
apiVersion: apps/v1
kind: StatefulSet
kind: Deployment
metadata:
name: {{ include "gitea.fullname" . }}
namespace: {{ include "common.names.namespace" . | quote }}
annotations:
{{- if .Values.statefulset.annotations }}
{{- toYaml .Values.statefulset.annotations | nindent 4 }}
{{- if .Values.deployment.annotations }}
{{- toYaml .Values.deployment.annotations | nindent 4 }}
{{- end }}
labels:
{{- include "gitea.labels" . | nindent 4 }}
{{- if .Values.deployment.labels }}
{{- toYaml .Values.deployment.labels | nindent 4 }}
{{- end }}
spec:
replicas: {{ .Values.replicaCount }}
strategy:
type: {{ .Values.strategy.type }}
{{- if eq .Values.strategy.type "RollingUpdate" }}
rollingUpdate:
maxUnavailable: {{ .Values.strategy.rollingUpdate.maxUnavailable }}
maxSurge: {{ .Values.strategy.rollingUpdate.maxSurge }}
{{- end }}
selector:
matchLabels:
{{- include "gitea.selectorLabels" . | nindent 6 }}
{{- if .Values.statefulset.labels }}
{{- toYaml .Values.statefulset.labels | nindent 6 }}
{{- if .Values.deployment.labels }}
{{- toYaml .Values.deployment.labels | nindent 6 }}
{{- end }}
serviceName: {{ include "gitea.fullname" . }}
template:
metadata:
annotations:
@ -32,16 +42,22 @@ spec:
{{- end }}
labels:
{{- include "gitea.labels" . | nindent 8 }}
{{- if .Values.statefulset.labels }}
{{- toYaml .Values.statefulset.labels | nindent 8 }}
{{- if .Values.deployment.labels }}
{{- toYaml .Values.deployment.labels | nindent 8 }}
{{- end }}
spec:
{{- if .Values.schedulerName }}
schedulerName: "{{ .Values.schedulerName }}"
{{- end }}
{{- if (or .Values.serviceAccount.create .Values.serviceAccount.name) }}
serviceAccountName: {{ include "gitea.serviceAccountName" . }}
{{- end }}
{{- if .Values.priorityClassName }}
priorityClassName: "{{ .Values.priorityClassName }}"
{{- end }}
{{- include "gitea.images.pullSecrets" . | nindent 6 }}
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
{{- include "common.compatibility.renderSecurityContext" (dict "secContext" .Values.podSecurityContext "context" $) | nindent 8 }}
initContainers:
- name: init-directories
image: "{{ include "gitea.image" . }}"
@ -56,8 +72,8 @@ spec:
value: /data
- name: GITEA_TEMP
value: /tmp/gitea
{{- if .Values.statefulset.env }}
{{- toYaml .Values.statefulset.env | nindent 12 }}
{{- if .Values.deployment.env }}
{{- toYaml .Values.deployment.env | nindent 12 }}
{{- end }}
{{- if .Values.signing.enabled }}
- name: GNUPGHOME
@ -75,7 +91,9 @@ spec:
{{- end }}
{{- include "gitea.init-additional-mounts" . | nindent 12 }}
securityContext:
{{- toYaml .Values.containerSecurityContext | nindent 12 }}
{{- include "common.compatibility.renderSecurityContext" (dict "secContext" .Values.containerSecurityContext "context" $) | nindent 12 }}
resources:
{{- toYaml .Values.initContainers.resources | nindent 12 }}
- name: init-app-ini
image: "{{ include "gitea.image" . }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
@ -89,8 +107,8 @@ spec:
value: /data
- name: GITEA_TEMP
value: /tmp/gitea
{{- if .Values.statefulset.env }}
{{- toYaml .Values.statefulset.env | nindent 12 }}
{{- if .Values.deployment.env }}
{{- toYaml .Values.deployment.env | nindent 12 }}
{{- end }}
{{- if .Values.gitea.additionalConfigFromEnvs }}
{{- toYaml .Values.gitea.additionalConfigFromEnvs | nindent 12 }}
@ -113,7 +131,9 @@ spec:
{{- end }}
{{- include "gitea.init-additional-mounts" . | nindent 12 }}
securityContext:
{{- toYaml .Values.containerSecurityContext | nindent 12 }}
{{- include "common.compatibility.renderSecurityContext" (dict "secContext" .Values.containerSecurityContext "context" $) | nindent 12 }}
resources:
{{- toYaml .Values.initContainers.resources | nindent 12 }}
{{- if .Values.signing.enabled }}
- name: configure-gpg
image: "{{ include "gitea.image" . }}"
@ -125,7 +145,7 @@ spec:
{{- if not (hasKey $csc "runAsUser") -}}
{{- $_ := set $csc "runAsUser" 1000 -}}
{{- end -}}
{{- toYaml $csc | nindent 12 }}
{{- include "common.compatibility.renderSecurityContext" (dict "secContext" $csc "context" $) | nindent 12 }}
env:
- name: GNUPGHOME
value: {{ .Values.signing.gpgHome }}
@ -143,6 +163,8 @@ spec:
{{- if .Values.extraVolumeMounts }}
{{- toYaml .Values.extraVolumeMounts | nindent 12 }}
{{- end }}
resources:
{{- toYaml .Values.initContainers.resources | nindent 12 }}
{{- end }}
- name: configure-gitea
image: "{{ include "gitea.image" . }}"
@ -154,7 +176,7 @@ spec:
{{- if not (hasKey $csc "runAsUser") -}}
{{- $_ := set $csc "runAsUser" 1000 -}}
{{- end -}}
{{- toYaml $csc | nindent 12 }}
{{- include "common.compatibility.renderSecurityContext" (dict "secContext" $csc "context" $) | nindent 12 }}
env:
- name: GITEA_APP_INI
value: /data/gitea/conf/app.ini
@ -164,6 +186,10 @@ spec:
value: /data
- name: GITEA_TEMP
value: /tmp/gitea
{{- if .Values.image.rootless }}
- name: HOME
value: /data/gitea/git
{{- end }}
{{- if .Values.gitea.ldap }}
{{- range $idx, $value := .Values.gitea.ldap }}
{{- if $value.existingSecret }}
@ -218,8 +244,10 @@ spec:
- name: GITEA_ADMIN_PASSWORD
value: {{ .Values.gitea.admin.password | quote }}
{{- end }}
{{- if .Values.statefulset.env }}
{{- toYaml .Values.statefulset.env | nindent 12 }}
- name: GITEA_ADMIN_PASSWORD_MODE
value: {{ include "gitea.admin.passwordMode" $ }}
{{- if .Values.deployment.env }}
{{- toYaml .Values.deployment.env | nindent 12 }}
{{- end }}
volumeMounts:
- name: init
@ -232,7 +260,9 @@ spec:
subPath: {{ .Values.persistence.subPath }}
{{- end }}
{{- include "gitea.init-additional-mounts" . | nindent 12 }}
terminationGracePeriodSeconds: {{ .Values.statefulset.terminationGracePeriodSeconds }}
resources:
{{- toYaml .Values.initContainers.resources | nindent 12 }}
terminationGracePeriodSeconds: {{ .Values.deployment.terminationGracePeriodSeconds }}
containers:
- name: {{ .Chart.Name }}
image: "{{ include "gitea.image" . }}"
@ -243,6 +273,10 @@ spec:
value: {{ .Values.gitea.config.server.SSH_LISTEN_PORT | quote }}
- name: SSH_PORT
value: {{ .Values.gitea.config.server.SSH_PORT | quote }}
{{- if not .Values.image.rootless }}
- name: SSH_LOG_LEVEL
value: {{ .Values.gitea.ssh.logLevel | quote }}
{{- end }}
- name: GITEA_APP_INI
value: /data/gitea/conf/app.ini
- name: GITEA_CUSTOM
@ -253,12 +287,16 @@ spec:
value: /tmp/gitea
- name: TMPDIR
value: /tmp/gitea
{{- if .Values.image.rootless }}
- name: HOME
value: /data/gitea/git
{{- end }}
{{- if .Values.signing.enabled }}
- name: GNUPGHOME
value: {{ .Values.signing.gpgHome }}
{{- end }}
{{- if .Values.statefulset.env }}
{{- toYaml .Values.statefulset.env | nindent 12 }}
{{- if .Values.deployment.env }}
{{- toYaml .Values.deployment.env | nindent 12 }}
{{- end }}
ports:
- name: ssh
@ -289,9 +327,9 @@ spec:
securityContext:
{{- /* Honor the deprecated securityContext variable when defined */ -}}
{{- if .Values.containerSecurityContext -}}
{{ toYaml .Values.containerSecurityContext | nindent 12 -}}
{{- include "common.compatibility.renderSecurityContext" (dict "secContext" .Values.containerSecurityContext "context" $) | nindent 12 }}
{{- else -}}
{{ toYaml .Values.securityContext | nindent 12 -}}
{{- include "common.compatibility.renderSecurityContext" (dict "secContext" .Values.securityContext "context" $) | nindent 12 }}
{{- end }}
volumeMounts:
- name: temp
@ -302,6 +340,10 @@ spec:
subPath: {{ .Values.persistence.subPath }}
{{- end }}
{{- include "gitea.container-additional-mounts" . | nindent 12 }}
{{- with .Values.global.hostAliases }}
hostAliases:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
@ -310,6 +352,10 @@ spec:
affinity:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.topologySpreadConstraints }}
topologySpreadConstraints:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.tolerations }}
tolerations:
{{- toYaml . | nindent 8 }}
@ -348,38 +394,13 @@ spec:
path: private.asc
defaultMode: 0100
{{- end }}
{{- if and .Values.persistence.enabled .Values.persistence.existingClaim }}
{{- if .Values.persistence.enabled }}
{{- if .Values.persistence.mount }}
- name: data
persistentVolumeClaim:
{{- with .Values.persistence.existingClaim }}
claimName: {{ tpl . $ }}
{{- end }}
claimName: {{ .Values.persistence.claimName }}
{{- end }}
{{- else if not .Values.persistence.enabled }}
- name: data
emptyDir: {}
{{- else if and .Values.persistence.enabled (not .Values.persistence.existingClaim) }}
volumeClaimTemplates:
- metadata:
name: data
{{- with .Values.persistence.annotations }}
annotations:
{{- range $key, $value := . }}
{{ $key }}: {{ $value }}
{{- end }}
{{- end }}
{{- with .Values.persistence.labels }}
labels:
{{- range $key, $value := . }}
{{ $key }}: {{ $value }}
{{- end }}
{{- end }}
spec:
accessModes:
{{- range .Values.persistence.accessModes }}
- {{ . | quote }}
{{- end }}
{{- include "gitea.persistence.storageClass" . | indent 8 }}
resources:
requests:
storage: {{ .Values.persistence.size | quote }}
{{- end }}

View file

@ -0,0 +1,8 @@
{{- range .Values.extraDeploy }}
---
{{- if typeIs "string" . }}
{{- tpl . $ }}
{{- else }}
{{- tpl (. | toYaml) $ }}
{{- end }}
{{- end }}

View file

@ -1,12 +1,13 @@
{{- if .Values.signing.enabled -}}
{{- if and (empty .Values.signing.privateKey) (empty .Values.signing.existingSecret) -}}
{{- fail "Either specify `signing.privateKey` or `signing.existingKey`" -}}
{{- fail "Either specify `signing.privateKey` or `signing.existingSecret`" -}}
{{- end }}
{{- if and (not (empty .Values.signing.privateKey)) (empty .Values.signing.existingSecret) -}}
apiVersion: v1
kind: Secret
metadata:
name: {{ include "gitea.gpg-key-secret-name" . }}
namespace: {{ include "common.names.namespace" . | quote }}
labels:
{{- include "gitea.labels" . | nindent 4 }}
type: Opaque

View file

@ -2,13 +2,21 @@ apiVersion: v1
kind: Service
metadata:
name: {{ include "gitea.fullname" . }}-http
namespace: {{ include "common.names.namespace" . | quote }}
labels:
{{- include "gitea.labels" . | nindent 4 }}
{{- if .Values.service.http.labels }}
{{- toYaml .Values.service.http.labels | nindent 4 }}
{{- end }}
annotations:
{{- toYaml .Values.service.http.annotations | nindent 4 }}
spec:
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 }}
{{- end }}
{{- if .Values.service.http.loadBalancerSourceRanges }}
@ -17,6 +25,7 @@ spec:
- {{ . }}
{{- end }}
{{- end }}
{{- end }}
{{- if .Values.service.http.externalIPs }}
externalIPs:
{{- toYaml .Values.service.http.externalIPs | nindent 4 }}
@ -40,6 +49,6 @@ spec:
{{- if .Values.service.http.nodePort }}
nodePort: {{ .Values.service.http.nodePort }}
{{- end }}
targetPort: {{ .Values.gitea.config.server.HTTP_PORT }}
targetPort: http
selector:
{{- include "gitea.selectorLabels" . | nindent 4 }}

View file

@ -1,58 +1,45 @@
{{- if .Values.ingress.enabled -}}
{{- $fullName := include "gitea.fullname" . -}}
{{- $httpPort := .Values.service.http.port -}}
{{- $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 }}
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: {{ $fullName }}
namespace: {{ include "common.names.namespace" . | quote }}
labels:
{{- include "gitea.labels" . | nindent 4 }}
{{- with .Values.ingress.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
{{- range $key, $value := .Values.ingress.annotations }}
{{ $key }}: {{ $value | quote }}
{{- end }}
spec:
{{- if .Values.ingress.className }}
ingressClassName: {{ .Values.ingress.className }}
ingressClassName: {{ tpl .Values.ingress.className . }}
{{- end }}
{{- if .Values.ingress.tls }}
tls:
{{- range .Values.ingress.tls }}
- hosts:
{{- range .hosts }}
- {{ . | quote }}
- {{ tpl . $ | quote }}
{{- end }}
secretName: {{ .secretName }}
{{- end }}
{{- end }}
rules:
{{- range .Values.ingress.hosts }}
- host: {{ .host | quote }}
- host: {{ tpl .host $ | quote }}
http:
paths:
{{- range .paths }}
- path: {{ .path }}
{{- if and .pathType (eq $apiVersion "networking.k8s.io/v1") }}
{{- if .pathType }}
pathType: {{ .pathType }}
{{- end }}
backend:
{{- if eq $apiVersion "networking.k8s.io/v1" }}
service:
name: {{ $fullName }}-http
port:
number: {{ $httpPort }}
{{- else }}
serviceName: {{ $fullName }}-http
servicePort: {{ $httpPort }}
{{- end }}
name: http
{{- end }}
{{- end }}
{{- end }}

View file

@ -2,6 +2,7 @@ apiVersion: v1
kind: Secret
metadata:
name: {{ include "gitea.fullname" . }}-init
namespace: {{ include "common.names.namespace" . | quote }}
labels:
{{- include "gitea.labels" . | nindent 4 }}
type: Opaque
@ -58,22 +59,77 @@ stringData:
{ # try
gitea migrate
} || { # catch
echo "Gitea migrate might fail due to database connection...This init-container will try again in a few seconds"
echo "Forgejo migrate might fail due to database connection...This init-container will try again in a few seconds"
exit 1
}
{{- if include "redis.servicename" . }}
function test_redis_connection() {
local RETRY=0
local MAX=30
echo 'Wait for redis to become avialable...'
until [ "${RETRY}" -ge "${MAX}" ]; do
nc -vz -w2 {{ include "redis.servicename" . }} {{ include "redis.port" . }} && break
RETRY=$[${RETRY}+1]
echo "...not ready yet (${RETRY}/${MAX})"
done
if [ "${RETRY}" -ge "${MAX}" ]; then
echo "Redis not reachable after '${MAX}' attempts!"
exit 1
fi
}
test_redis_connection
{{- end }}
{{- if or .Values.gitea.admin.existingSecret (and .Values.gitea.admin.username .Values.gitea.admin.password) }}
function configure_admin_user() {
local ACCOUNT_ID=$(gitea admin user list --admin | grep -e "\s\+${GITEA_ADMIN_USERNAME}\s\+" | awk -F " " "{printf \$1}")
local full_admin_list=$(gitea admin user list --admin)
local actual_user_table=''
# We might have distorted output due to warning logs, so we have to detect the actual user table by its headline and trim output above that line
local regex="(.*)(ID\s+Username\s+Email\s+IsActive.*)"
if [[ "${full_admin_list}" =~ $regex ]]; then
actual_user_table=$(echo "${BASH_REMATCH[2]}" | tail -n+2) # tail'ing to drop the table headline
else
# This code block should never be reached, as long as the output table header remains the same.
# If this code block is reached, the regex doesn't match anymore and we probably have to adjust this script.
echo "ERROR: 'configure_admin_user' was not able to determine the current list of admin users."
echo " Please review the output of 'gitea admin user list --admin' shown below."
echo " If you think it is an issue with the Helm Chart provisioning, file an issue at https://gitea.com/gitea/helm-chart/issues."
echo "DEBUG: Output of 'gitea admin user list --admin'"
echo "--"
echo "${full_admin_list}"
echo "--"
exit 1
fi
local ACCOUNT_ID=$(echo "${actual_user_table}" | grep -E "\s+${GITEA_ADMIN_USERNAME}\s+" | awk -F " " "{printf \$1}")
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..."
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.'
else
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}"
echo '...password sync done.'
if [[ "${GITEA_ADMIN_PASSWORD_MODE}" = keepUpdated ]]; then
echo "Admin account '${GITEA_ADMIN_USERNAME}' already exist. Running update to sync 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.'
else
echo "Admin account '${GITEA_ADMIN_USERNAME}' already exist, but update mode is set to '${GITEA_ADMIN_PASSWORD_MODE}'. Skipping."
fi
fi
}
@ -84,7 +140,28 @@ stringData:
{{- if .Values.gitea.ldap }}
{{- range $idx, $value := .Values.gitea.ldap }}
local LDAP_NAME={{ (printf "%s" $value.name) | squote }}
local GITEA_AUTH_ID=$(gitea admin auth list --vertical-bars | grep -E "\|${LDAP_NAME}\s+\|" | grep -iE '\|LDAP \(via BindDN\)\s+\|' | awk -F " " "{print \$1}")
local full_auth_list=$(gitea admin auth list --vertical-bars)
local actual_auth_table=''
# We might have distorted output due to warning logs, so we have to detect the actual user table by its headline and trim output above that line
local regex="(.*)(ID\s+\|Name\s+\|Type\s+\|Enabled.*)"
if [[ "${full_auth_list}" =~ $regex ]]; then
actual_auth_table=$(echo "${BASH_REMATCH[2]}" | tail -n+2) # tail'ing to drop the table headline
else
# This code block should never be reached, as long as the output table header remains the same.
# If this code block is reached, the regex doesn't match anymore and we probably have to adjust this script.
echo "ERROR: 'configure_ldap' was not able to determine the current list of authentication sources."
echo " Please review the output of 'gitea admin auth list --vertical-bars' shown below."
echo " If you think it is an issue with the Helm Chart provisioning, file an issue at https://gitea.com/gitea/helm-chart/issues."
echo "DEBUG: Output of 'gitea admin auth list --vertical-bars'"
echo "--"
echo "${full_auth_list}"
echo "--"
exit 1
fi
local GITEA_AUTH_ID=$(echo "${actual_auth_table}" | grep -E "\|${LDAP_NAME}\s+\|" | grep -iE '\|LDAP \(via BindDN\)\s+\|' | awk -F " " "{print \$1}")
if [[ -z "${GITEA_AUTH_ID}" ]]; then
echo "No ldap configuration found with name '${LDAP_NAME}'. Installing it now..."
@ -107,7 +184,28 @@ stringData:
{{- if .Values.gitea.oauth }}
{{- range $idx, $value := .Values.gitea.oauth }}
local OAUTH_NAME={{ (printf "%s" $value.name) | squote }}
local AUTH_ID=$(gitea admin auth list --vertical-bars | grep -E "\|${OAUTH_NAME}\s+\|" | grep -iE '\|OAuth2\s+\|' | awk -F " " "{print \$1}")
local full_auth_list=$(gitea admin auth list --vertical-bars)
local actual_auth_table=''
# We might have distorted output due to warning logs, so we have to detect the actual user table by its headline and trim output above that line
local regex="(.*)(ID\s+\|Name\s+\|Type\s+\|Enabled.*)"
if [[ "${full_auth_list}" =~ $regex ]]; then
actual_auth_table=$(echo "${BASH_REMATCH[2]}" | tail -n+2) # tail'ing to drop the table headline
else
# This code block should never be reached, as long as the output table header remains the same.
# If this code block is reached, the regex doesn't match anymore and we probably have to adjust this script.
echo "ERROR: 'configure_oauth' was not able to determine the current list of authentication sources."
echo " Please review the output of 'gitea admin auth list --vertical-bars' shown below."
echo " If you think it is an issue with the Helm Chart provisioning, file an issue at https://gitea.com/gitea/helm-chart/issues."
echo "DEBUG: Output of 'gitea admin auth list --vertical-bars'"
echo "--"
echo "${full_auth_list}"
echo "--"
exit 1
fi
local AUTH_ID=$(echo "${actual_auth_table}" | grep -E "\|${OAUTH_NAME}\s+\|" | grep -iE '\|OAuth2\s+\|' | awk -F " " "{print \$1}")
if [[ -z "${AUTH_ID}" ]]; then
echo "No oauth configuration found with name '${OAUTH_NAME}'. Installing it now..."

View file

@ -0,0 +1,14 @@
{{- if .Values.podDisruptionBudget -}}
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: {{ include "gitea.fullname" . }}
namespace: {{ include "common.names.namespace" . | quote }}
labels:
{{- include "gitea.labels" . | nindent 4 }}
spec:
selector:
matchLabels:
{{- include "gitea.selectorLabels" . | nindent 6 }}
{{- toYaml .Values.podDisruptionBudget | nindent 2 }}
{{- end -}}

28
templates/gitea/pvc.yaml Normal file
View file

@ -0,0 +1,28 @@
{{- if and .Values.persistence.enabled .Values.persistence.create }}
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
name: {{ .Values.persistence.claimName }}
namespace: {{ include "common.names.namespace" . | quote }}
annotations:
{{ .Values.persistence.annotations | toYaml | indent 4}}
{{- if .Values.persistence.labels }}
labels:
{{ .Values.persistence.labels | toYaml | indent 4}}
{{- end }}
spec:
accessModes:
{{- if gt .Values.replicaCount 1.0 }}
- ReadWriteMany
{{- else }}
{{- .Values.persistence.accessModes | toYaml | nindent 4 }}
{{- end }}
volumeMode: Filesystem
{{- include "gitea.persistence.storageClass" . | nindent 2 }}
{{- with .Values.persistence.volumeName }}
volumeName: {{ . }}
{{- end }}
resources:
requests:
storage: {{ .Values.persistence.size }}
{{- end }}

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

@ -0,0 +1,21 @@
{{- if .Values.serviceAccount.create }}
apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ include "gitea.serviceAccountName" . }}
namespace: {{ include "common.names.namespace" . | quote }}
labels:
{{- include "gitea.labels" . | nindent 4 }}
{{- with .Values.serviceAccount.labels }}
{{- . | toYaml | nindent 4 }}
{{- end }}
{{- with .Values.serviceAccount.annotations }}
annotations:
{{- . | toYaml | nindent 4 }}
{{- end }}
automountServiceAccountToken: {{ .Values.serviceAccount.automountServiceAccountToken }}
{{- with .Values.serviceAccount.imagePullSecrets }}
imagePullSecrets:
{{- . | toYaml | nindent 2 }}
{{- end }}
{{- end }}

View file

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

View file

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

View file

@ -1,3 +1,4 @@
{{- if .Values.test.enabled }}
apiVersion: v1
kind: Pod
metadata:
@ -5,11 +6,12 @@ metadata:
labels:
{{ include "gitea.labels" . | nindent 4 }}
annotations:
"helm.sh/hook": test-success
"helm.sh/hook": test
spec:
containers:
- name: wget
image: busybox
image: "{{ .Values.test.image.name }}:{{ .Values.test.image.tag }}"
command: ['wget']
args: ['{{ include "gitea.fullname" . }}-http:{{ .Values.service.http.port }}']
restartPolicy: Never
{{- end }}

View file

@ -1,71 +1,12 @@
import conventionalChangelogCore from 'conventional-changelog-core';
import conventionalChangelogPreset from 'conventional-changelog-conventionalcommits';
import fs from 'node:fs';
import { getChangelog } from './changelog/util.js';
const config = conventionalChangelogPreset({
types: [
{
type: 'feat',
section: 'Features',
},
{
type: 'feature',
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: 'chore',
section: 'Miscellaneous Chores',
},
{
type: 'refactor',
section: 'Code Refactoring',
},
{
type: 'test',
section: 'Tests',
},
{
type: 'build',
section: 'Build System',
},
{
type: 'ci',
section: 'Continuous Integration',
},
],
});
const stream = getChangelog(!!process.argv[2]).setEncoding('utf8');
const file = process.argv[3]
? fs.createWriteStream(process.argv[3])
: process.stdout;
const changes = (await stream.toArray()).join('');
conventionalChangelogCore(
{
config,
releaseCount: 2,
},
{ version: process.argv[2], linkCompare: false },
undefined,
undefined,
{ headerPartial: '' }
).pipe(file);
if (!changes.length) {
console.error('No changelog found');
process.exit(1);
}
process.stdout.write(changes);

73
tools/changelog/util.js Normal file
View file

@ -0,0 +1,73 @@
import conventionalChangelogPreset from 'conventional-changelog-conventionalcommits';
import conventionalChangelogCore from 'conventional-changelog-core';
/**
* @type {import('conventional-changelog-core').Options}
*/
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-call
export const config = conventionalChangelogPreset({
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',
},
],
});
/**
*
* @param {boolean|undefined} onTag
* @returns
*/
export function getChangelog(onTag = false) {
return conventionalChangelogCore(
{
config,
releaseCount: onTag ? 2 : 1,
},
undefined,
undefined,
undefined,
{ headerPartial: '' },
);
}

7
tools/ct.yml Normal file
View file

@ -0,0 +1,7 @@
# https://github.com/helm/chart-testing/blob/main/doc/ct_install.md
helm-extra-args: --timeout 3m
check-version-increment: false
debug: true
target-branch: main
lint-conf: .yamllint
validate-maintainers: false # does not work with gitea

100
tools/forgejo-release.js Normal file
View file

@ -0,0 +1,100 @@
import { Command, runExit } from 'clipanion';
import { getChangelog } from './changelog/util.js';
class GiteaReleaseCommand extends Command {
async execute() {
const api = process.env.GITHUB_API_URL;
const repo = process.env.GITHUB_REPOSITORY;
const token = process.env.GITHUB_TOKEN;
const tag = process.env.GITHUB_REF_NAME;
if (!api) {
this.context.stdout.write(
'GITHUB_API_URL environment variable not set.\n',
);
return 1;
} else {
this.context.stdout.write(`Using api: ${api}.\n`);
}
if (!token) {
this.context.stdout.write('GITHUB_TOKEN environment variable not set.\n');
return 1;
}
if (!repo) {
this.context.stdout.write(
'GITHUB_REPOSITORY environment variable not set.\n',
);
return 1;
} else {
this.context.stdout.write(`Using repository: ${repo}.\n`);
}
if (!tag) {
this.context.stdout.write(
'GITHUB_REF_NAME environment variable not set.',
);
return 1;
} else {
this.context.stdout.write(`Using tag: ${tag}.\n`);
}
this.context.stdout.write(`Checking remote tag ${tag}.\n`);
let resp = await fetch(`${api}/repos/${repo}/tags/${tag}`, {
headers: {
Authorization: `Bearer ${token}`,
},
});
if (!resp.ok) {
this.context.stdout.write(`Tag ${tag} not found on remote.\n`);
return 1;
}
this.context.stdout.write(`Checking remote release ${tag}.\n`);
resp = await fetch(`${api}/repos/${repo}/releases/tags/${tag}`, {
headers: {
Authorization: `Bearer ${token}`,
},
});
if (resp.ok) {
this.context.stdout.write(`Release ${tag} already exists.\n`);
return 1;
} else if (resp.status !== 404) {
this.context.stdout.write(
`Error checking for release ${tag}.\n${resp.status}: ${resp.statusText}\n`,
);
return 1;
}
const stream = getChangelog(true).setEncoding('utf8');
const changes = (await stream.toArray()).join('');
this.context.stdout.write(`Creating release ${tag}.\n`);
resp = await fetch(`${api}/repos/${repo}/releases`, {
method: 'POST',
headers: {
'Content-Type': 'application/json',
Authorization: `Bearer ${token}`,
},
body: JSON.stringify({
draft: false,
prerelease: tag.includes('-'),
tag_name: tag,
name: tag.replace(/^v/, ''),
body: changes,
target_commitish: 'main',
}),
});
if (!resp.ok) {
this.context.stdout.write(
`Error creating release ${tag}.\n${resp.status}: ${resp.statusText}\n`,
);
return 1;
}
}
}
void runExit(GiteaReleaseCommand);

3
tools/package.json Normal file
View file

@ -0,0 +1,3 @@
{
"type": "module"
}

View file

@ -0,0 +1,66 @@
suite: config template | cache config
release:
name: gitea-unittests
namespace: testing
tests:
- it: 'cache is configured correctly for redis-cluster'
template: templates/gitea/config.yaml
set:
redis-cluster:
enabled: true
redis:
enabled: false
asserts:
- documentIndex: 0
equal:
path: stringData.cache
value: |-
ADAPTER=redis
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 redis'
template: templates/gitea/config.yaml
set:
redis-cluster:
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:
- documentIndex: 0
equal:
path: stringData.cache
value: |-
ADAPTER=memory
HOST=
- it: 'cache can be customized when redis (or redis-cluster) is disabled'
template: templates/gitea/config.yaml
set:
redis-cluster:
enabled: false
redis:
enabled: false
gitea.config.cache.ADAPTER: custom-adapter
gitea.config.cache.HOST: custom-host
asserts:
- documentIndex: 0
equal:
path: stringData.cache
value: |-
ADAPTER=custom-adapter
HOST=custom-host

View file

@ -0,0 +1,30 @@
suite: config template | database section (postgresql-ha)
release:
name: gitea-unittests
namespace: testing
tests:
- it: connects to pgpool service
template: templates/gitea/config.yaml
set:
postgresql:
enabled: false
postgresql-ha:
enabled: true
asserts:
- documentIndex: 0
matchRegex:
path: stringData.database
pattern: HOST=gitea-unittests-postgresql-ha-pgpool.testing.svc.cluster.local:5432
- it: renders the referenced service
template: charts/postgresql-ha/templates/pgpool/service.yaml
set:
postgresql:
enabled: false
postgresql-ha:
enabled: true
asserts:
- containsDocument:
kind: Service
apiVersion: v1
name: gitea-unittests-postgresql-ha-pgpool
namespace: testing

View file

@ -0,0 +1,30 @@
suite: config template | database section (postgresql)
release:
name: gitea-unittests
namespace: testing
tests:
- it: 'connects to postgresql service'
template: templates/gitea/config.yaml
set:
postgresql:
enabled: true
postgresql-ha:
enabled: false
asserts:
- documentIndex: 0
matchRegex:
path: stringData.database
pattern: HOST=gitea-unittests-postgresql.testing.svc.cluster.local:5432
- it: 'renders the referenced service'
template: charts/postgresql/templates/primary/svc.yaml
set:
postgresql:
enabled: true
postgresql-ha:
enabled: false
asserts:
- containsDocument:
kind: Service
apiVersion: v1
name: gitea-unittests-postgresql
namespace: testing

View file

@ -0,0 +1,66 @@
suite: config template | queue config
release:
name: gitea-unittests
namespace: testing
tests:
- it: 'queue is configured correctly for redis-cluster'
template: templates/gitea/config.yaml
set:
redis-cluster:
enabled: true
redis:
enabled: false
asserts:
- documentIndex: 0
equal:
path: stringData.queue
value: |-
CONN_STR=redis+cluster://:@gitea-unittests-redis-cluster-headless.testing.svc.cluster.local:6379/0?pool_size=100&idle_timeout=180s&
TYPE=redis
- it: 'queue is configured correctly for redis'
template: templates/gitea/config.yaml
set:
redis-cluster:
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:
- documentIndex: 0
equal:
path: stringData.queue
value: |-
CONN_STR=
TYPE=level
- it: 'queue can be customized when redis (and redis-cluster) are disabled'
template: templates/gitea/config.yaml
set:
redis-cluster:
enabled: false
redis:
enabled: false
gitea.config.queue.TYPE: custom-type
gitea.config.queue.CONN_STR: custom-connection-string
asserts:
- documentIndex: 0
equal:
path: stringData.queue
value: |-
CONN_STR=custom-connection-string
TYPE=custom-type

View file

@ -0,0 +1,67 @@
suite: config template | server section (domain related)
release:
name: gitea-unittests
namespace: testing
tests:
- it: '[default values] uses ingress host for DOMAIN|SSH_DOMAIN|ROOT_URL'
template: templates/gitea/config.yaml
asserts:
- documentIndex: 0
matchRegex:
path: stringData.server
pattern: \nDOMAIN=git.example.com
- documentIndex: 0
matchRegex:
path: stringData.server
pattern: \nSSH_DOMAIN=git.example.com
- documentIndex: 0
matchRegex:
path: stringData.server
pattern: \nROOT_URL=http://git.example.com
################################################
- it: '[no ingress hosts] uses gitea http service for DOMAIN|SSH_DOMAIN|ROOT_URL'
template: templates/gitea/config.yaml
set:
ingress:
hosts: []
asserts:
- documentIndex: 0
matchRegex:
path: stringData.server
pattern: \nDOMAIN=gitea-unittests-forgejo-http.testing.svc.cluster.local
- documentIndex: 0
matchRegex:
path: stringData.server
pattern: \nSSH_DOMAIN=gitea-unittests-forgejo-http.testing.svc.cluster.local
- documentIndex: 0
matchRegex:
path: stringData.server
pattern: \nROOT_URL=http://gitea-unittests-forgejo-http.testing.svc.cluster.local
################################################
- it: '[provided via values] uses that for DOMAIN|SSH_DOMAIN|ROOT_URL'
template: templates/gitea/config.yaml
set:
gitea.config.server.DOMAIN: provided.example.com
ingress:
hosts:
- host: non-used.example.com
paths:
- path: /
pathType: Prefix
asserts:
- documentIndex: 0
matchRegex:
path: stringData.server
pattern: \nDOMAIN=provided.example.com
- documentIndex: 0
matchRegex:
path: stringData.server
pattern: \nSSH_DOMAIN=provided.example.com
- documentIndex: 0
matchRegex:
path: stringData.server
pattern: \nROOT_URL=http://provided.example.com

View file

@ -0,0 +1,66 @@
suite: config template | session config
release:
name: gitea-unittests
namespace: testing
tests:
- it: 'session is configured correctly for redis-cluster'
template: templates/gitea/config.yaml
set:
redis-cluster:
enabled: true
redis:
enabled: false
asserts:
- documentIndex: 0
equal:
path: stringData.session
value: |-
PROVIDER=redis
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 redis'
template: templates/gitea/config.yaml
set:
redis-cluster:
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:
- documentIndex: 0
equal:
path: stringData.session
value: |-
PROVIDER=memory
PROVIDER_CONFIG=
- it: 'session can be customized when redis (and redis-cluster) is disabled'
template: templates/gitea/config.yaml
set:
redis-cluster:
enabled: false
redis:
enabled: false
gitea.config.session.PROVIDER: custom-provider
gitea.config.session.PROVIDER_CONFIG: custom-provider-config
asserts:
- documentIndex: 0
equal:
path: stringData.session
value: |-
PROVIDER=custom-provider
PROVIDER_CONFIG=custom-provider-config

View file

@ -0,0 +1,57 @@
suite: Dependency update consistency
release:
name: gitea-unittests
namespace: testing
tests:
- it: '[postgresql-ha] ensures we detect major image version upgrades'
template: charts/postgresql-ha/templates/postgresql/statefulset.yaml
set:
postgresql:
enabled: false
postgresql-ha:
enabled: true
asserts:
- documentIndex: 0
matchRegex:
path: spec.template.spec.containers[0].image
# IN CASE OF AN INTENTIONAL MAJOR BUMP, ADJUST THIS TEST
pattern: ^docker.io/bitnami/postgresql-repmgr:17.+$
- it: '[postgresql] ensures we detect major image version upgrades'
template: charts/postgresql/templates/primary/statefulset.yaml
set:
postgresql:
enabled: true
postgresql-ha:
enabled: false
asserts:
- documentIndex: 0
matchRegex:
path: spec.template.spec.containers[0].image
# IN CASE OF AN INTENTIONAL MAJOR BUMP, ADJUST THIS TEST
pattern: ^docker.io/bitnami/postgresql:17.+$
- it: '[redis-cluster] ensures we detect major image version upgrades'
template: charts/redis-cluster/templates/redis-statefulset.yaml
set:
redis-cluster:
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:
- documentIndex: 0
matchRegex:
path: spec.template.spec.containers[0].image
# IN CASE OF AN INTENTIONAL MAJOR BUMP, ADJUST THIS TEST
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

@ -0,0 +1,31 @@
suite: deployment template (basic)
release:
name: forgejo-unittests
namespace: testing
templates:
- templates/gitea/deployment.yaml
- templates/gitea/config.yaml
tests:
- it: renders a deployment
template: templates/gitea/deployment.yaml
asserts:
- hasDocuments:
count: 1
- containsDocument:
kind: Deployment
apiVersion: apps/v1
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

@ -0,0 +1,110 @@
suite: deployment template (image configuration)
release:
name: gitea-unittests
namespace: testing
chart:
# Override appVersion to be consistent with used digest :)
appVersion: 1.19.3
templates:
- templates/gitea/deployment.yaml
- templates/gitea/config.yaml
tests:
- it: default values
template: templates/gitea/deployment.yaml
asserts:
- equal:
path: spec.template.spec.containers[0].image
value: 'code.forgejo.org/forgejo/forgejo:1.19.3-rootless'
- it: tag override
template: templates/gitea/deployment.yaml
set:
image.tag: '1.19.4'
asserts:
- equal:
path: spec.template.spec.containers[0].image
value: 'code.forgejo.org/forgejo/forgejo:1.19.4-rootless'
- it: root-based image
template: templates/gitea/deployment.yaml
set:
image.rootless: false
asserts:
- equal:
path: spec.template.spec.containers[0].image
value: 'code.forgejo.org/forgejo/forgejo:1.19.3'
- it: scoped registry
template: templates/gitea/deployment.yaml
set:
image.registry: 'example.com'
asserts:
- equal:
path: spec.template.spec.containers[0].image
value: 'example.com/forgejo/forgejo:1.19.3-rootless'
- it: global registry
template: templates/gitea/deployment.yaml
set:
global.imageRegistry: 'global.example.com'
asserts:
- equal:
path: spec.template.spec.containers[0].image
value: 'global.example.com/forgejo/forgejo:1.19.3-rootless'
- it: digest for rootless image
template: templates/gitea/deployment.yaml
set:
image:
rootless: true
digest: sha256:b28e8f3089b52ebe6693295df142f8c12eff354e9a4a5bfbb5c10f296c3a537a
asserts:
- equal:
path: spec.template.spec.containers[0].image
value: 'code.forgejo.org/forgejo/forgejo:1.19.3-rootless@sha256:b28e8f3089b52ebe6693295df142f8c12eff354e9a4a5bfbb5c10f296c3a537a'
- it: image fullOverride (does not append rootless)
template: templates/gitea/deployment.yaml
set:
image:
fullOverride: gitea/gitea:1.19.3
# setting rootless, registry, repository, tag, and digest to prove that override works
rootless: true
registry: example.com
repository: example/image
tag: '1.0.0'
digest: sha256:b28e8f3089b52ebe6693295df142f8c12eff354e9a4a5bfbb5c10f296c3a537a
asserts:
- equal:
path: spec.template.spec.containers[0].image
value: 'gitea/gitea:1.19.3'
- it: digest for root-based image
template: templates/gitea/deployment.yaml
set:
image:
rootless: false
digest: sha256:b28e8f3089b52ebe6693295df142f8c12eff354e9a4a5bfbb5c10f296c3a537a
asserts:
- equal:
path: spec.template.spec.containers[0].image
value: 'code.forgejo.org/forgejo/forgejo:1.19.3@sha256:b28e8f3089b52ebe6693295df142f8c12eff354e9a4a5bfbb5c10f296c3a537a'
- it: digest and global registry
template: templates/gitea/deployment.yaml
set:
global.imageRegistry: 'global.example.com'
image.digest: 'sha256:b28e8f3089b52ebe6693295df142f8c12eff354e9a4a5bfbb5c10f296c3a537a'
asserts:
- equal:
path: spec.template.spec.containers[0].image
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

@ -0,0 +1,47 @@
suite: ingress template
release:
name: gitea-unittests
namespace: testing
templates:
- templates/gitea/ingress.yaml
tests:
- it: hostname using TPL
set:
global.giteaHostName: 'gitea.example.com'
ingress.enabled: true
ingress.hosts[0].host: '{{ .Values.global.giteaHostName }}'
ingress.tls:
- secretName: gitea-tls
hosts:
- '{{ .Values.global.giteaHostName }}'
asserts:
- isKind:
of: Ingress
- equal:
path: spec.tls[0].hosts[0]
value: 'gitea.example.com'
- equal:
path: spec.rules[0].host
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,33 @@
suite: config template
release:
name: gitea-unittests
namespace: testing
templates:
- templates/gitea/config.yaml
tests:
- it: inline config stringData.server using TPL
set:
global.giteaHostName: 'gitea.example.com'
ingress.enabled: true
ingress.hosts[0].host: '{{ .Values.global.giteaHostName }}'
ingress.tls:
- secretName: gitea-tls
hosts:
- '{{ .Values.global.giteaHostName }}'
asserts:
- documentIndex: 0
matchRegex:
path: metadata.name
pattern: .*-inline-config$
- documentIndex: 0
matchRegex:
path: stringData.server
pattern: DOMAIN=gitea\.example\.com
- documentIndex: 0
matchRegex:
path: stringData.server
pattern: ROOT_URL=https://gitea\.example\.com
- documentIndex: 0
matchRegex:
path: stringData.server
pattern: SSH_DOMAIN=gitea\.example\.com

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

@ -1,13 +1,13 @@
suite: Statefulset template (signing disabled)
suite: deployment template (signing disabled)
release:
name: forgejo-unittests
namespace: testing
templates:
- templates/gitea/statefulset.yaml
- templates/gitea/deployment.yaml
- templates/gitea/config.yaml
tests:
- it: skips gpg init container
template: templates/gitea/statefulset.yaml
template: templates/gitea/deployment.yaml
asserts:
- notContains:
path: spec.template.spec.initContainers
@ -15,24 +15,24 @@ tests:
content:
name: configure-gpg
- it: skips gpg env in `init-directories` init container
template: templates/gitea/statefulset.yaml
template: templates/gitea/deployment.yaml
set:
signing.enabled: true
signing.enabled: false
asserts:
- contains:
- notContains:
path: spec.template.spec.initContainers[0].env
content:
name: GNUPGHOME
value: /data/git/.gnupg
- it: skips gpg env in runtime container
template: templates/gitea/statefulset.yaml
template: templates/gitea/deployment.yaml
asserts:
- notContains:
path: spec.template.spec.containers[0].env
content:
name: GNUPGHOME
- it: skips gpg volume spec
template: templates/gitea/statefulset.yaml
template: templates/gitea/deployment.yaml
asserts:
- notContains:
path: spec.template.spec.volumes

View file

@ -1,24 +1,24 @@
suite: Statefulset template (signing enabled)
suite: deployment template (signing enabled)
release:
name: forgejo-unittests
namespace: testing
templates:
- templates/gitea/statefulset.yaml
- templates/gitea/deployment.yaml
- templates/gitea/config.yaml
tests:
- it: adds gpg init container
template: templates/gitea/statefulset.yaml
template: templates/gitea/deployment.yaml
set:
signing:
enabled: true
existingSecret: "custom-gpg-secret"
existingSecret: 'custom-gpg-secret'
asserts:
- equal:
path: spec.template.spec.initContainers[2].name
value: configure-gpg
- equal:
path: spec.template.spec.initContainers[2].command
value: ["/usr/sbin/configure_gpg_environment.sh"]
value: ['/usr/sbin/configure_gpg_environment.sh']
- equal:
path: spec.template.spec.initContainers[2].securityContext
value:
@ -39,9 +39,10 @@ tests:
mountPath: /raw
readOnly: true
- it: adds gpg env in `init-directories` init container
template: templates/gitea/statefulset.yaml
template: templates/gitea/deployment.yaml
set:
signing.enabled: true
signing.existingSecret: 'custom-gpg-secret'
asserts:
- contains:
path: spec.template.spec.initContainers[0].env
@ -49,9 +50,10 @@ tests:
name: GNUPGHOME
value: /data/git/.gnupg
- it: adds gpg env in runtime container
template: templates/gitea/statefulset.yaml
template: templates/gitea/deployment.yaml
set:
signing.enabled: true
signing.existingSecret: 'custom-gpg-secret'
asserts:
- contains:
path: spec.template.spec.containers[0].env
@ -59,10 +61,11 @@ tests:
name: GNUPGHOME
value: /data/git/.gnupg
- it: adds gpg volume spec
template: templates/gitea/statefulset.yaml
template: templates/gitea/deployment.yaml
set:
signing:
enabled: true
existingSecret: 'forgejo-unittests-gpg-key'
asserts:
- contains:
path: spec.template.spec.volumes
@ -75,7 +78,7 @@ tests:
path: private.asc
defaultMode: 0100
- it: supports gpg volume spec with external reference
template: templates/gitea/statefulset.yaml
template: templates/gitea/deployment.yaml
set:
signing:
enabled: true

View file

@ -0,0 +1,64 @@
suite: deployment template (SSH configuration)
release:
name: gitea-unittests
namespace: testing
templates:
- templates/gitea/deployment.yaml
- templates/gitea/config.yaml
tests:
- it: supports defining SSH log level for root based image
template: templates/gitea/deployment.yaml
set:
image.rootless: false
asserts:
- contains:
path: spec.template.spec.containers[0].env
content:
name: SSH_LOG_LEVEL
value: 'INFO'
- it: supports overriding SSH log level
template: templates/gitea/deployment.yaml
set:
image.rootless: false
gitea.ssh.logLevel: 'DEBUG'
asserts:
- contains:
path: spec.template.spec.containers[0].env
content:
name: SSH_LOG_LEVEL
value: 'DEBUG'
- it: supports overriding SSH log level (even when image.fullOverride set)
template: templates/gitea/deployment.yaml
set:
image.fullOverride: gitea/gitea:1.19.3
image.rootless: false
gitea.ssh.logLevel: 'DEBUG'
asserts:
- contains:
path: spec.template.spec.containers[0].env
content:
name: SSH_LOG_LEVEL
value: 'DEBUG'
- it: skips SSH_LOG_LEVEL for rootless image
template: templates/gitea/deployment.yaml
set:
image.rootless: true
gitea.ssh.logLevel: 'DEBUG' # explicitly defining a non-standard level here
asserts:
- notContains:
path: spec.template.spec.containers[0].env
any: true
content:
name: SSH_LOG_LEVEL
- it: skips SSH_LOG_LEVEL for rootless image (even when image.fullOverride set)
template: templates/gitea/deployment.yaml
set:
image.fullOverride: gitea/gitea:1.19.3
image.rootless: true
gitea.ssh.logLevel: 'DEBUG' # explicitly defining a non-standard level here
asserts:
- notContains:
path: spec.template.spec.containers[0].env
any: true
content:
name: SSH_LOG_LEVEL

View file

@ -0,0 +1,39 @@
# File: tests/gitea-storageclass-tests.yaml
suite: storage class configuration tests
release:
name: gitea-storageclass-tests
namespace: testing
templates:
- templates/gitea/pvc.yaml
tests:
- it: should set storageClassName when persistence.storageClass is defined
template: templates/gitea/pvc.yaml
set:
persistence.storageClass: 'my-storage-class'
asserts:
- equal:
path: 'spec.storageClassName'
value: 'my-storage-class'
- it: should set global.storageClass when persistence.storageClass is not defined
template: templates/gitea/pvc.yaml
set:
global.storageClass: 'default-storage-class'
asserts:
- equal:
path: spec.storageClassName
value: 'default-storage-class'
- it: should set storageClassName when persistence.storageClass is defined and global.storageClass is defined
template: templates/gitea/pvc.yaml
set:
global.storageClass: 'default-storage-class'
persistence.storageClass: 'my-storage-class'
asserts:
- equal:
path: spec.storageClassName
value: 'my-storage-class'

View file

@ -0,0 +1,128 @@
suite: ssh-svc / http-svc template (Services configuration)
release:
name: gitea-unittests
namespace: testing
templates:
- templates/gitea/ssh-svc.yaml
- templates/gitea/http-svc.yaml
tests:
- it: supports adding custom labels to ssh-svc
template: templates/gitea/ssh-svc.yaml
set:
service:
ssh:
labels:
gitea/testkey: testvalue
asserts:
- equal:
path: metadata.labels["gitea/testkey"]
value: 'testvalue'
- it: keeps existing labels (ssh)
template: templates/gitea/ssh-svc.yaml
set:
service:
ssh:
labels: {}
asserts:
- exists:
path: metadata.labels["app"]
- it: supports adding custom labels to http-svc
template: templates/gitea/http-svc.yaml
set:
service:
http:
labels:
gitea/testkey: testvalue
asserts:
- equal:
path: metadata.labels["gitea/testkey"]
value: 'testvalue'
- it: keeps existing labels (http)
template: templates/gitea/http-svc.yaml
set:
service:
http:
labels: {}
asserts:
- exists:
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

@ -11,12 +11,12 @@ tests:
enabled: true
asserts:
- failedTemplate:
errorMessage: Either specify `signing.privateKey` or `signing.existingKey`
errorMessage: Either specify `signing.privateKey` or `signing.existingSecret`
- it: skips rendering using external secret reference
set:
signing:
enabled: true
existingSecret: "external-secret-reference"
existingSecret: 'external-secret-reference'
asserts:
- hasDocuments:
count: 0
@ -24,7 +24,7 @@ tests:
set:
signing:
enabled: true
privateKey: "gpg-key-placeholder"
privateKey: 'gpg-key-placeholder'
asserts:
- hasDocuments:
count: 1
@ -33,8 +33,8 @@ tests:
kind: Secret
apiVersion: v1
name: forgejo-unittests-gpg-key
- isNotEmpty:
- isNotNullOrEmpty:
path: metadata.labels
- equal:
path: data.privateKey
value: "Z3BnLWtleS1wbGFjZWhvbGRlcg=="
value: 'Z3BnLWtleS1wbGFjZWhvbGRlcg=='

View file

@ -10,6 +10,6 @@ tests:
- hasDocuments:
count: 1
- containsDocument:
kind: Secret
kind: Secret
apiVersion: v1
name: forgejo-unittests-init

View file

@ -0,0 +1,87 @@
suite: Init template (rootless)
release:
name: forgejo-unittests
namespace: testing
templates:
- templates/gitea/init.yaml
tests:
- it: runs gpg in batch mode
set:
signing.enabled: true
signing.privateKey: |-
-----BEGIN PGP PRIVATE KEY BLOCK-----
{placeholder}
-----END PGP PRIVATE KEY BLOCK-----
asserts:
- equal:
path: stringData["configure_gpg_environment.sh"]
value: |-
#!/usr/bin/env bash
set -eu
gpg --batch --import /raw/private.asc
- it: skips gpg script block for disabled signing
asserts:
- equal:
path: stringData["init_directory_structure.sh"]
value: |-
#!/usr/bin/env bash
set -euo pipefail
set -x
mkdir -p /data/git/.ssh
chmod -R 700 /data/git/.ssh
[ ! -d /data/gitea/conf ] && mkdir -p /data/gitea/conf
# prepare temp directory structure
mkdir -p "${GITEA_TEMP}"
chmod ug+rwx "${GITEA_TEMP}"
- it: adds gpg script block for enabled signing
set:
signing.enabled: true
signing.privateKey: |-
-----BEGIN PGP PRIVATE KEY BLOCK-----
{placeholder}
-----END PGP PRIVATE KEY BLOCK-----
asserts:
- equal:
path: stringData["init_directory_structure.sh"]
value: |-
#!/usr/bin/env bash
set -euo pipefail
set -x
mkdir -p /data/git/.ssh
chmod -R 700 /data/git/.ssh
[ ! -d /data/gitea/conf ] && mkdir -p /data/gitea/conf
# prepare temp directory structure
mkdir -p "${GITEA_TEMP}"
chmod ug+rwx "${GITEA_TEMP}"
if [ ! -d "${GNUPGHOME}" ]; then
mkdir -p "${GNUPGHOME}"
chmod 700 "${GNUPGHOME}"
chown 1000:1000 "${GNUPGHOME}"
fi
- it: it does not chown /data even when image.fullOverride is set
set:
image.fullOverride: gitea/gitea:1.20.5
asserts:
- equal:
path: stringData["init_directory_structure.sh"]
value: |-
#!/usr/bin/env bash
set -euo pipefail
set -x
mkdir -p /data/git/.ssh
chmod -R 700 /data/git/.ssh
[ ! -d /data/gitea/conf ] && mkdir -p /data/gitea/conf
# prepare temp directory structure
mkdir -p "${GITEA_TEMP}"
chmod ug+rwx "${GITEA_TEMP}"

View file

@ -7,19 +7,26 @@ templates:
tests:
- it: runs gpg in batch mode
set:
image.rootless: false
signing.enabled: true
signing.privateKey: |-
-----BEGIN PGP PRIVATE KEY BLOCK-----
{placeholder}
-----END PGP PRIVATE KEY BLOCK-----
asserts:
- equal:
path: stringData.[configure_gpg_environment.sh]
path: stringData["configure_gpg_environment.sh"]
value: |-
#!/usr/bin/env bash
set -eu
gpg --batch --import /raw/private.asc
- it: skips gpg script block for disabled signing
set:
image.rootless: false
asserts:
- equal:
path: stringData.[init_directory_structure.sh]
path: stringData["init_directory_structure.sh"]
value: |-
#!/usr/bin/env bash
@ -37,10 +44,15 @@ tests:
chmod ug+rwx "${GITEA_TEMP}"
- it: adds gpg script block for enabled signing
set:
image.rootless: false
signing.enabled: true
signing.privateKey: |-
-----BEGIN PGP PRIVATE KEY BLOCK-----
{placeholder}
-----END PGP PRIVATE KEY BLOCK-----
asserts:
- equal:
path: stringData.[init_directory_structure.sh]
path: stringData["init_directory_structure.sh"]
value: |-
#!/usr/bin/env bash

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,82 @@
suite: ServiceAccount template (basic)
release:
name: gitea-unittests
namespace: testing
templates:
- templates/gitea/serviceaccount.yaml
tests:
- it: skips rendering by default
asserts:
- hasDocuments:
count: 0
- it: renders default ServiceAccount object with serviceAccount.create=true
set:
serviceAccount.create: true
asserts:
- hasDocuments:
count: 1
- containsDocument:
kind: ServiceAccount
apiVersion: v1
name: gitea-unittests-forgejo
- equal:
path: automountServiceAccountToken
value: false
- notExists:
path: imagePullSecrets
- notExists:
path: metadata.annotations
- it: allows for adding custom labels
set:
serviceAccount:
create: true
labels:
custom: label
asserts:
- equal:
path: metadata.labels.custom
value: label
- it: allows for adding custom annotations
set:
serviceAccount:
create: true
annotations:
myCustom: annotation
asserts:
- equal:
path: metadata.annotations.myCustom
value: annotation
- it: allows to override the generated name
set:
serviceAccount:
create: true
name: provided-serviceaccount-name
asserts:
- equal:
path: metadata.name
value: provided-serviceaccount-name
- it: allows to mount the token
set:
serviceAccount:
create: true
automountServiceAccountToken: true
asserts:
- equal:
path: automountServiceAccountToken
value: true
- it: allows to reference image pull secrets
set:
serviceAccount:
create: true
imagePullSecrets:
- name: testing-image-pull-secret
- name: another-pull-secret
asserts:
- contains:
path: imagePullSecrets
content:
name: testing-image-pull-secret
- contains:
path: imagePullSecrets
content:
name: another-pull-secret

View file

@ -0,0 +1,32 @@
suite: ServiceAccount template (reference)
release:
name: gitea-unittests
namespace: testing
templates:
- templates/gitea/serviceaccount.yaml
- templates/gitea/deployment.yaml
- templates/gitea/config.yaml
tests:
- it: does not modify the deployment by default
template: templates/gitea/deployment.yaml
asserts:
- notExists:
path: spec.serviceAccountName
- it: adds the reference to the deployment with serviceAccount.create=true
template: templates/gitea/deployment.yaml
set:
serviceAccount.create: true
asserts:
- equal:
path: spec.template.spec.serviceAccountName
value: gitea-unittests-forgejo
- it: allows referencing an externally created ServiceAccount to the deployment
template: templates/gitea/deployment.yaml
set:
serviceAccount:
create: false # explicitly set to define rendering behavior
name: 'externally-existing-serviceaccount'
asserts:
- equal:
path: spec.template.spec.serviceAccountName
value: externally-existing-serviceaccount

View file

@ -1,17 +0,0 @@
suite: Statefulset template (basic)
release:
name: forgejo-unittests
namespace: testing
templates:
- templates/gitea/statefulset.yaml
- templates/gitea/config.yaml
tests:
- it: renders a statefulset
template: templates/gitea/statefulset.yaml
asserts:
- hasDocuments:
count: 1
- containsDocument:
kind: StatefulSet
apiVersion: apps/v1
name: forgejo-unittests

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

@ -6,34 +6,57 @@
## @param global.imageRegistry global image registry override
## @param global.imagePullSecrets global image pull secrets override; can be extended by `imagePullSecrets`
## @param global.storageClass global storage class override
## @param global.hostAliases global hostAliases which will be added to the pod's hosts files
global:
imageRegistry: ""
imageRegistry: ''
## E.g.
## imagePullSecrets:
## - myRegistryKeySecretName
##
imagePullSecrets: []
storageClass: ""
storageClass: ''
hostAliases: []
# - ip: 192.168.137.2
# hostnames:
# - example.com
## @param replicaCount number of replicas for the statefulset
## @param namespaceOverride String to fully override common.names.namespace
##
namespaceOverride: ''
## @param replicaCount number of replicas for the deployment
replicaCount: 1
## @section strategy
## @param strategy.type strategy type
## @param strategy.rollingUpdate.maxSurge maxSurge
## @param strategy.rollingUpdate.maxUnavailable maxUnavailable
strategy:
type: 'RollingUpdate'
rollingUpdate:
maxSurge: '100%'
maxUnavailable: 0
## @param clusterDomain cluster domain
clusterDomain: cluster.local
## @section Image
## @param image.registry image registry, e.g. gcr.io,docker.io
## @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.pullPolicy Image pull policy
## @param image.rootless Wether or not to pull the rootless version of Forgejo, only works on Forgejo 1.14.x or higher
## @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).**
image:
registry: "codeberg.org"
registry: code.forgejo.org
repository: forgejo/forgejo
# Overrides the image tag whose default is the chart appVersion.
tag: ""
pullPolicy: Always
rootless: false # only possible when running 1.14 or later
tag: ''
digest: ''
pullPolicy: IfNotPresent
rootless: true
fullOverride: ''
## @param imagePullSecrets Secret to use for pulling the image
imagePullSecrets: []
@ -69,11 +92,16 @@ containerSecurityContext: {}
## @param securityContext Run init and Forgejo containers as a specific securityContext
securityContext: {}
## @param podDisruptionBudget Pod disruption budget
podDisruptionBudget: {}
# maxUnavailable: 1
# minAvailable: 1
## @section Service
service:
## @param service.http.type Kubernetes service type for web traffic
## @param service.http.port Port number for web traffic
## @param service.http.clusterIP ClusterIP setting for http autosetup for statefulset is None
## @param service.http.clusterIP ClusterIP setting for http autosetup for deployment
## @param service.http.loadBalancerIP LoadBalancer IP setting
## @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
@ -82,10 +110,12 @@ service:
## @param service.http.ipFamilies HTTP service dual-stack familiy selection,for dual-stack parameters see official kubernetes [dual-stack concept documentation](https://kubernetes.io/docs/concepts/services-networking/dual-stack/).
## @param service.http.loadBalancerSourceRanges Source range filter for http loadbalancer
## @param service.http.annotations HTTP service annotations
## @param service.http.labels HTTP service additional labels
## @param service.http.loadBalancerClass Loadbalancer class
http:
type: ClusterIP
port: 3000
clusterIP: None
clusterIP:
loadBalancerIP:
nodePort:
externalTrafficPolicy:
@ -94,9 +124,11 @@ service:
ipFamilies:
loadBalancerSourceRanges: []
annotations: {}
labels: {}
loadBalancerClass:
## @param service.ssh.type Kubernetes service type for ssh traffic
## @param service.ssh.port Port number for ssh traffic
## @param service.ssh.clusterIP ClusterIP setting for ssh autosetup for statefulset is None
## @param service.ssh.clusterIP ClusterIP setting for ssh autosetup for deployment
## @param service.ssh.loadBalancerIP LoadBalancer IP setting
## @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
@ -106,10 +138,12 @@ service:
## @param service.ssh.hostPort HostPort for ssh service
## @param service.ssh.loadBalancerSourceRanges Source range filter for ssh loadbalancer
## @param service.ssh.annotations SSH service annotations
## @param service.ssh.labels SSH service additional labels
## @param service.ssh.loadBalancerClass Loadbalancer class
ssh:
type: ClusterIP
port: 22
clusterIP: None
clusterIP:
loadBalancerIP:
nodePort:
externalTrafficPolicy:
@ -119,7 +153,8 @@ service:
hostPort:
loadBalancerSourceRanges: []
annotations: {}
labels: {}
loadBalancerClass:
## @section Ingress
## @param ingress.enabled Enable ingress
@ -129,12 +164,12 @@ service:
## @param ingress.hosts[0].paths[0].path Default Ingress path
## @param ingress.hosts[0].paths[0].pathType Ingress path type
## @param ingress.tls Ingress tls settings
## @extra ingress.apiVersion Specify APIVersion of ingress object. Mostly would only be used for argocd.
ingress:
enabled: false
# className: nginx
className:
annotations: {}
annotations:
{}
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
hosts:
@ -146,14 +181,54 @@ ingress:
# - secretName: chart-example-tls
# hosts:
# - 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.
# apiVersion: networking.k8s.io/v1
## @section StatefulSet
## @section Route
## @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
#
## @param resources Kubernetes resources
resources: {}
resources:
{}
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little
# resources, such as Minikube. If you do want to specify resources, uncomment the following
@ -169,54 +244,85 @@ resources: {}
## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
##
## @param schedulerName Use an alternate scheduler, e.g. "stork"
schedulerName: ""
schedulerName: ''
## @param nodeSelector NodeSelector for the statefulset
## @param nodeSelector NodeSelector for the deployment
nodeSelector: {}
## @param tolerations Tolerations for the statefulset
## @param tolerations Tolerations for the deployment
tolerations: []
## @param affinity Affinity for the statefulset
## @param affinity Affinity for the deployment
affinity: {}
## @param dnsConfig dnsConfig for the statefulset
## @param topologySpreadConstraints TopologySpreadConstraints for the deployment
topologySpreadConstraints: []
## @param dnsConfig dnsConfig for the deployment
dnsConfig: {}
## @param statefulset.env Additional environment variables to pass to containers
## @param statefulset.terminationGracePeriodSeconds How long to wait until forcefully kill the pod
## @param statefulset.labels Labels for the statefulset
## @param statefulset.annotations Annotations for the Forgejo StatefulSet to be created
statefulset:
env: []
## @param priorityClassName priorityClassName for the deployment
priorityClassName: ''
## @param deployment.env Additional environment variables to pass to containers
## @param deployment.terminationGracePeriodSeconds How long to wait until forcefully kill the pod
## @param deployment.labels Labels for the deployment
## @param deployment.annotations Annotations for the Forgejo deployment to be created
deployment:
env:
[]
# - name: VARIABLE
# value: my-value
terminationGracePeriodSeconds: 60
labels: {}
annotations: {}
## @section ServiceAccount
## @param serviceAccount.create Enable the creation of a ServiceAccount
## @param serviceAccount.name Name of the created ServiceAccount, defaults to release name. Can also link to an externally provided ServiceAccount that should be used.
## @param serviceAccount.automountServiceAccountToken Enable/disable auto mounting of the service account token
## @param serviceAccount.imagePullSecrets Image pull secrets, available to the ServiceAccount
## @param serviceAccount.annotations Custom annotations for the ServiceAccount
## @param serviceAccount.labels Custom labels for the ServiceAccount
serviceAccount:
create: false
name: ''
automountServiceAccountToken: false
imagePullSecrets: []
# - name: private-registry-access
annotations: {}
labels: {}
## @section Persistence
#
## @param persistence.enabled Enable persistent storage
## @param persistence.existingClaim Use an existing claim to store repository information
## @param persistence.create Whether to create the persistentVolumeClaim for shared storage
## @param persistence.mount Whether the persistentVolumeClaim should be mounted (even if not created)
## @param persistence.claimName Use an existing claim to store repository information
## @param persistence.size Size for persistence to store repo information
## @param persistence.accessModes AccessMode for persistence
## @param persistence.labels Labels for the persistence volume claim to be created
## @param persistence.annotations Annotations for the persistence volume claim to be created
## @param persistence.annotations.helm.sh/resource-policy Resource policy for the persistence volume claim
## @param persistence.storageClass Name of the storage class to use
## @param persistence.subPath Subdirectory of the volume to mount at
## @param persistence.volumeName Name of persistent volume in PVC
persistence:
enabled: true
existingClaim:
create: true
mount: true
claimName: gitea-shared-storage
size: 10Gi
accessModes:
- ReadWriteOnce
labels: {}
annotations: {}
storageClass:
subPath:
volumeName: ''
annotations:
helm.sh/resource-policy: keep
## @param extraVolumes Additional volumes to mount to the Forgejo statefulset
## @param extraVolumes Additional volumes to mount to the Forgejo deployment
extraVolumes: []
# - name: postgres-ssl-vol
# secret:
@ -240,7 +346,7 @@ extraVolumeMounts: []
## @section Init
## @param initPreScript Bash shell script copied verbatim to the start of the init-container.
initPreScript: ""
initPreScript: ''
#
# initPreScript: |
# mkdir -p /data/git/.postgresql
@ -248,22 +354,32 @@ initPreScript: ""
# chown -R git:git /data/git/.postgresql/
# chmod 400 /data/git/.postgresql/postgresql.key
## @param initContainers.resources.limits initContainers.limits Kubernetes resource limits for init containers
## @param initContainers.resources.requests.cpu initContainers.requests.cpu Kubernetes cpu resource limits for init containers
## @param initContainers.resources.requests.memory initContainers.requests.memory Kubernetes memory resource limits for init containers
initContainers:
resources:
limits: {}
requests:
cpu: 100m
memory: 128Mi
# Configure commit/action signing prerequisites
## @section Signing
#
## @param signing.enabled Enable commit/action signing
## @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`
signing:
enabled: false
gpgHome: /data/git/.gnupg
privateKey: ""
privateKey: ''
# privateKey: |-
# -----BEGIN PGP PRIVATE KEY BLOCK-----
# ...
# -----END PGP PRIVATE KEY BLOCK-----
existingSecret: ""
existingSecret: ''
## @section Gitea
#
@ -272,24 +388,29 @@ gitea:
## @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.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:
#existingSecret: gitea-admin-secret
# existingSecret: gitea-admin-secret
existingSecret:
username: gitea_admin
password: r8sA8CPHD9!bt6d
email: "gitea@local.domain"
email: 'gitea@local.domain'
passwordMode: keepUpdated
## @param gitea.metrics.enabled Enable Forgejo metrics
## @param gitea.metrics.serviceMonitor.enabled Enable Forgejo metrics service monitor
## @param gitea.metrics.serviceMonitor.namespace Namespace in which Prometheus is running
metrics:
enabled: false
serviceMonitor:
enabled: false
namespace: ''
# additionalLabels:
# prometheus-release: prom1
## @param gitea.ldap LDAP configuration
ldap: []
ldap:
[]
# - name: "LDAP 1"
# existingSecret:
# securityProtocol:
@ -306,7 +427,8 @@ gitea:
# Either specify inline `key` and `secret` or refer to them via `existingSecret`
## @param gitea.oauth OAuth configuration
oauth: []
oauth:
[]
# - name: 'OAuth 1'
# provider:
# key:
@ -319,17 +441,6 @@ gitea:
# customProfileUrl:
# customEmailUrl:
## @param gitea.config Configuration for the Forgejo server,ref: [config-cheat-sheet](https://docs.gitea.io/en-us/config-cheat-sheet/)
config: {}
# APP_NAME: "Forgejo: Git with a cup of tea"
# RUN_MODE: dev
#
# server:
# SSH_PORT: 22
#
# security:
# PASSWORD_COMPLEXITY: spec
## @param gitea.additionalConfigSources Additional configuration from secret or configmap
additionalConfigSources: []
# - secret:
@ -343,6 +454,162 @@ gitea:
## @param gitea.podAnnotations Annotations for the Forgejo pod
podAnnotations: {}
## @param gitea.ssh.logLevel Configure OpenSSH's log level. Only available for root-based Forgejo image.
ssh:
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
#
## @param gitea.livenessProbe.enabled Enable liveness probe
@ -366,7 +633,8 @@ gitea:
## @section ReadinessProbe
#
## @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.timeoutSeconds Timeout for readiness probe
## @param gitea.readinessProbe.periodSeconds Period for readiness probe
@ -375,7 +643,8 @@ gitea:
# Modify the readiness probe for your needs or completely disable it by commenting out.
readinessProbe:
enabled: true
tcpSocket:
httpGet:
path: /api/healthz
port: http
initialDelaySeconds: 5
timeoutSeconds: 1
@ -403,101 +672,121 @@ gitea:
successThreshold: 1
failureThreshold: 10
## @section Memcached
## @section Redis&reg; Cluster
## @descriptionStart
## Memcached is loaded as a dependency from [Bitnami](https://github.com/bitnami/charts/tree/master/bitnami/memcached) if enabled in the values. Complete Configuration can be taken from their website.
## 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.
## Full configuration options are available on their website.
## Redis cluster and [Redis](#redis) cannot be enabled at the same time.
## @descriptionEnd
#
## @param memcached.enabled Enable Memcached
## @param memcached.service.ports.memcached Port for Memcached
memcached:
## @param redis-cluster.enabled Enable redis cluster
## @param redis-cluster.usePassword Whether to use password authentication
## @param redis-cluster.cluster.nodes Number of redis cluster master nodes
## @param redis-cluster.cluster.replicas Number of redis cluster master node replicas
redis-cluster:
enabled: true
usePassword: false
cluster:
nodes: 3 # default: 6
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
## @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.
## Full configuration options are available on their website.
## @descriptionEnd
#
## @param postgresql-ha.enabled Enable PostgreSQL HA chart
## @param postgresql-ha.postgresql.password Password for the `gitea` user (overrides `auth.password`)
## @param postgresql-ha.global.postgresql.database Name for a custom database to create (overrides `auth.database`)
## @param postgresql-ha.global.postgresql.username Name for a custom user to create (overrides `auth.username`)
## @param postgresql-ha.global.postgresql.password Name for a custom password to create (overrides `auth.password`)
## @param postgresql-ha.postgresql.repmgrPassword Repmgr Password
## @param postgresql-ha.postgresql.postgresPassword postgres Password
## @param postgresql-ha.pgpool.adminPassword pgpool adminPassword
## @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
postgresql-ha:
global:
postgresql:
database: gitea
password: gitea
username: gitea
enabled: true
postgresql:
repmgrPassword: changeme2
postgresPassword: changeme1
password: changeme4
pgpool:
adminPassword: changeme3
service:
ports:
memcached: 11211
postgresql: 5432
primary:
persistence:
size: 10Gi
## @section PostgreSQL
## @descriptionStart
## 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.
## PostgreSQL is loaded as a dependency from [Bitnami](https://github.com/bitnami/charts/tree/master/bitnami/postgresql) if enabled in the values.
## Full configuration options are available on their website.
## @descriptionEnd
#
## @param postgresql.enabled Enable PostgreSQL
## @param postgresql.auth.database PostgreSQL database
## @param postgresql.auth.username PostgreSQL username
## @param postgresql.auth.password PostgreSQL username
## @param postgresql.auth.postgresPassword PostgreSQL admin password
## @param postgresql.primary.service.ports.postgresql Port to connect to PostgreSQL service
## @param postgresql.global.postgresql.auth.password Password for the `gitea` user (overrides `auth.password`)
## @param postgresql.global.postgresql.auth.database Name for a custom database to create (overrides `auth.database`)
## @param postgresql.global.postgresql.auth.username Name for a custom user to create (overrides `auth.username`)
## @param postgresql.global.postgresql.service.ports.postgresql PostgreSQL service port (overrides `service.ports.postgresql`)
## @param postgresql.primary.persistence.size PVC Storage Request for PostgreSQL volume
postgresql:
enabled: true
auth:
database: gitea
username: gitea
password: gitea
postgresPassword: gitea
primary:
service:
ports:
postgresql: 5432
persistence:
size: 10Gi
## @section MySQL
## @descriptionStart
## MySQL is loaded as a dependency from [Bitnami](https://github.com/bitnami/charts/tree/master/bitnami/mysql) if enabled in the values. Complete Configuration can be taken from their website.
## @descriptionEnd
#
#
## @param mysql.enabled Enable MySQL
## @param mysql.auth.database Name for new database to create.
## @param mysql.auth.username Username of new user to create.
## @param mysql.auth.password Password for the new user.Ignored if existing secret is provided
## @param mysql.auth.rootPassword Password for the root user. Ignored if existing secret is provided
## @param mysql.primary.service.ports.mysql Port to connect to MySQL service
## @param mysql.primary.persistence.size PVC Storage Request for MySQL volume
mysql:
enabled: false
auth:
database: gitea
username: gitea
password: gitea
rootPassword: gitea
global:
postgresql:
auth:
password: gitea
database: gitea
username: gitea
service:
ports:
postgresql: 5432
primary:
service:
ports:
mysql: 3306
persistence:
size: 10Gi
## @section MariaDB
## @descriptionStart
## MariaDB is loaded as a dependency from [Bitnami](https://github.com/bitnami/charts/tree/master/bitnami/mariadb) if enabled in the values. Complete Configuration can be taken from their website.
## @descriptionEnd
#
#
## @param mariadb.enabled Enable MariaDB
## @param mariadb.auth.database Name of the database to create.
## @param mariadb.auth.username Username of the new user to create.
## @param mariadb.auth.password Password for the new user. Ignored if existing secret is provided
## @param mariadb.auth.rootPassword Password for the root user.
## @param mariadb.primary.service.ports.mysql Port to connect to MariaDB service
## @param mariadb.primary.persistence.size Persistence size for MariaDB
mariadb:
enabled: false
auth:
database: gitea
username: gitea
password: gitea
rootPassword: gitea
primary:
service:
ports:
mysql: 3306
persistence:
size: 10Gi
# 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.
## @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 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.tag Image tag for the wget container used in the test-connection Pod.
checkDeprecation: true
test:
enabled: true
image:
name: busybox
tag: latest
## @param extraDeploy Array of extra objects to deploy with the release.
##
extraDeploy: []