Commit graph

655 commits

Author SHA1 Message Date
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
Michael Kriese
fdfe86a0d6
fix cluster config 2023-03-22 10:08:53 +01:00
Michael Kriese
9659934063
fixes 2023-03-22 10:04:17 +01:00
Michael Kriese
8d0ed4c3f8
create cluster config 2023-03-22 09:58:53 +01:00
Michael Kriese
054ed49110
more testing 2023-03-22 09:32:58 +01:00
Michael Kriese
bb66a49943
fix: wrong channel for kubectl 2023-03-22 09:25:07 +01:00
Michael Kriese
6f499cf9d4
more testing 2023-03-22 09:21:07 +01: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
bb21788b6b
more testing 2023-03-21 15:10:25 +01:00
Michael Kriese
a3aaac6979
more testing 2023-03-21 15:07:54 +01:00
Michael Kriese
48cf917720
more testing 2023-03-21 15:06:09 +01:00
Michael Kriese
93ec068a17
more testing 2023-03-21 14:57:16 +01:00
Michael Kriese
dc39f2f870
more testing 2023-03-21 14:52:35 +01:00
Michael Kriese
a9ce968b00
wait for dind 2023-03-21 14:46:17 +01:00
Michael Kriese
a7c460d2b1
add docker cli 2023-03-21 14:44:41 +01:00
Michael Kriese
44630546fe
fix: wrong hostname 2023-03-21 14:43:02 +01:00
Michael Kriese
09b465dd0b
test docker dind 2023-03-21 14:42:43 +01:00
Michael Kriese
cfd0c04479
more fixes 2023-03-21 14:30:39 +01:00
Michael Kriese
ede3f35724
ci: fixes 2023-03-21 14:28:22 +01:00
Michael Kriese
0ac33054a7
ci: add chart testing 2023-03-21 14:19:15 +01: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