Merge branch 'main' into forgejo-test
This commit is contained in:
commit
d21a6afc52
8 changed files with 970 additions and 774 deletions
|
@ -23,4 +23,5 @@ runs:
|
|||
python3-wheel \
|
||||
python3-venv \
|
||||
unzip \
|
||||
wget \
|
||||
;
|
||||
|
|
|
@ -13,11 +13,11 @@ permissions:
|
|||
contents: read
|
||||
|
||||
env:
|
||||
HELM_VERSION: v3.14.3 # renovate: datasource=github-releases depName=helm packageName=helm/helm
|
||||
HELM_VERSION: v3.14.4 # renovate: datasource=github-releases depName=helm packageName=helm/helm
|
||||
HELM_UNITTEST_VERSION: v0.4.4 # renovate: datasource=github-releases depName=helm-unittest packageName=helm-unittest/helm-unittest
|
||||
HELM_CHART_TESTING_VERSION: v3.10.1 # renovate: datasource=github-releases depName=chart-testing packageName=helm/chart-testing
|
||||
KIND_VERSION: v0.22.0 # renovate: datasource=github-releases depName=kind packageName=kubernetes-sigs/kind
|
||||
KUBECTL_VERSION: v1.29.3 # renovate: datasource=github-releases depName=kubectl packageName=kubernetes/kubernetes
|
||||
KUBECTL_VERSION: v1.30.0 # renovate: datasource=github-releases depName=kubectl packageName=kubernetes/kubernetes
|
||||
|
||||
jobs:
|
||||
lint-node:
|
||||
|
@ -25,7 +25,7 @@ jobs:
|
|||
steps:
|
||||
- run: cat /etc/os-release
|
||||
|
||||
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||
- uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3
|
||||
with:
|
||||
show-progress: false
|
||||
|
||||
|
@ -44,7 +44,7 @@ jobs:
|
|||
|
||||
- run: ps axf
|
||||
|
||||
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||
- uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3
|
||||
with:
|
||||
show-progress: false
|
||||
fetch-depth: 0
|
||||
|
@ -58,7 +58,7 @@ jobs:
|
|||
version: ${{ env.HELM_CHART_TESTING_VERSION }}
|
||||
|
||||
- name: install helm
|
||||
uses: azure/setup-helm@b7246b12e77f7134dc2d460a3d5bad15bbe29390 # v4.1.0
|
||||
uses: azure/setup-helm@fe7b79cd5ee1e45176fcad797de68ecaf3ca4814 # v4.2.0
|
||||
with:
|
||||
version: ${{ env.HELM_VERSION }}
|
||||
|
||||
|
@ -87,7 +87,7 @@ jobs:
|
|||
steps:
|
||||
- run: cat /etc/os-release
|
||||
|
||||
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||
- uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3
|
||||
with:
|
||||
show-progress: false
|
||||
fetch-depth: 0
|
||||
|
@ -96,13 +96,13 @@ jobs:
|
|||
- uses: ./.forgejo/actions/setup
|
||||
|
||||
- name: install helm
|
||||
uses: azure/setup-helm@b7246b12e77f7134dc2d460a3d5bad15bbe29390 # v4.1.0
|
||||
uses: azure/setup-helm@fe7b79cd5ee1e45176fcad797de68ecaf3ca4814 # v4.2.0
|
||||
with:
|
||||
version: ${{ env.HELM_VERSION }}
|
||||
|
||||
- name: Install chart-testing
|
||||
# TODO: pin to version when this is released: https://github.com/helm/chart-testing-action/pull/137
|
||||
uses: helm/chart-testing-action@df9dfa7259f5d09615a31c4aae53338e2c621f8f # main
|
||||
uses: helm/chart-testing-action@af96d800b1be6aab4e5770afe641ba93d52e3c8d # main
|
||||
with:
|
||||
version: ${{ env.HELM_CHART_TESTING_VERSION }}
|
||||
|
||||
|
@ -161,7 +161,7 @@ jobs:
|
|||
if: ${{ github.ref_type == 'tag' }}
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||
- uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3
|
||||
with:
|
||||
show-progress: false
|
||||
fetch-depth: 0 # Important for changelog
|
||||
|
@ -171,7 +171,7 @@ jobs:
|
|||
- uses: ./.forgejo/actions/setup-node
|
||||
|
||||
- name: install helm
|
||||
uses: https://github.com/azure/setup-helm@b7246b12e77f7134dc2d460a3d5bad15bbe29390 # v4.1.0
|
||||
uses: https://github.com/azure/setup-helm@fe7b79cd5ee1e45176fcad797de68ecaf3ca4814 # v4.2.0
|
||||
with:
|
||||
version: ${{ env.HELM_VERSION }}
|
||||
|
||||
|
|
|
@ -1 +1 @@
|
|||
20.12.0
|
||||
20.12.2
|
||||
|
|
10
Chart.lock
10
Chart.lock
|
@ -1,12 +1,12 @@
|
|||
dependencies:
|
||||
- name: postgresql
|
||||
repository: oci://registry-1.docker.io/bitnamicharts
|
||||
version: 15.1.4
|
||||
version: 15.2.5
|
||||
- name: postgresql-ha
|
||||
repository: oci://registry-1.docker.io/bitnamicharts
|
||||
version: 14.0.0
|
||||
version: 14.0.5
|
||||
- name: redis-cluster
|
||||
repository: oci://registry-1.docker.io/bitnamicharts
|
||||
version: 10.0.0
|
||||
digest: sha256:f48befded1e1f1df0465f25ea4404262f44b23a910cc2573f30ab950f4ee0df4
|
||||
generated: "2024-03-25T07:01:36.495345256Z"
|
||||
version: 10.0.2
|
||||
digest: sha256:9d09fe6921721c807217899dea60fb8f4ba2f3571475bb27c70efef1d7906e21
|
||||
generated: "2024-04-22T12:01:42.540957611Z"
|
||||
|
|
|
@ -3,7 +3,7 @@ name: forgejo
|
|||
description: Forgejo Helm chart for Kubernetes
|
||||
type: application
|
||||
version: 0.0.0
|
||||
appVersion: 1.21.8-0
|
||||
appVersion: 1.21.11-1
|
||||
icon: https://design.codeberg.org/logo-kit/icon.svg
|
||||
home: https://forgejo.org/
|
||||
|
||||
|
@ -29,15 +29,15 @@ dependencies:
|
|||
# https://github.com/bitnami/charts/blob/main/bitnami/postgresql/Chart.yaml
|
||||
- name: postgresql
|
||||
repository: oci://registry-1.docker.io/bitnamicharts
|
||||
version: 15.1.4
|
||||
version: 15.2.5
|
||||
condition: postgresql.enabled
|
||||
# https://github.com/bitnami/charts/blob/main/bitnami/postgresql-ha/Chart.yaml
|
||||
- name: postgresql-ha
|
||||
repository: oci://registry-1.docker.io/bitnamicharts
|
||||
version: 14.0.0
|
||||
version: 14.0.5
|
||||
condition: postgresql-ha.enabled
|
||||
# https://github.com/bitnami/charts/blob/main/bitnami/redis-cluster/Chart.yaml
|
||||
- name: redis-cluster
|
||||
repository: oci://registry-1.docker.io/bitnamicharts
|
||||
version: 10.0.0
|
||||
version: 10.0.2
|
||||
condition: redis-cluster.enabled
|
||||
|
|
17
README.md
17
README.md
|
@ -63,7 +63,7 @@ It is published under the MIT license.
|
|||
|
||||
## Introduction
|
||||
|
||||
This helm chart is based on official [Gitea helm chart](https://gitea.com/gitea/helm-chart).
|
||||
This Helm chart is based on the [Gitea chart](https://gitea.com/gitea/helm-chart).
|
||||
Yet it takes a completely different approach in providing a database and cache with dependencies.
|
||||
Additionally, this chart allows to provide LDAP and admin user configuration with values.
|
||||
|
||||
|
@ -143,7 +143,7 @@ See the [HA Setup](docs/ha-setup.md) document for more details.
|
|||
## Configuration
|
||||
|
||||
Forgejo offers lots of configuration options.
|
||||
This is fully described in the [Gitea Cheat Sheet](https://docs.gitea.com/administration/config-cheat-sheet).
|
||||
This is fully described in the [Cheat Sheet](https://forgejo.org/docs/latest/admin/config-cheat-sheet/).
|
||||
|
||||
```yaml
|
||||
gitea:
|
||||
|
@ -310,7 +310,7 @@ If HA is not needed/desired, the following configurations can be used to deploy
|
|||
|
||||
### Additional _app.ini_ settings
|
||||
|
||||
> **The [generic](https://docs.gitea.com/administration/config-cheat-sheet#overall-default)
|
||||
> **The [generic](https://forgejo.org/docs/latest/admin/config-cheat-sheet/#overall-default)
|
||||
> section cannot be defined that way.**
|
||||
|
||||
Some settings inside _app.ini_ (like passwords or whole authentication configurations) must be considered sensitive and therefore should not be passed via plain text inside the _values.yaml_ file.
|
||||
|
@ -397,7 +397,7 @@ Priority (highest to lowest) for defining app.ini variables:
|
|||
|
||||
### External Database
|
||||
|
||||
Any external database listed in [https://docs.gitea.com/installation/database-prep](https://docs.gitea.com/installation/database-prep) can be used instead of the built-in PostgreSQL.
|
||||
A [supported external database](https://forgejo.org/docs/latest/admin/config-cheat-sheet/#database-database/)can be used instead of the built-in PostgreSQL.
|
||||
In fact, it is **highly recommended** to use an external database to ensure a stable Forgejo installation longterm.
|
||||
|
||||
If an external database is used, no matter which type, make sure to set `postgresql.enabled` to `false` to disable the use of the built-in PostgreSQL.
|
||||
|
@ -567,7 +567,7 @@ gitea:
|
|||
### LDAP Settings
|
||||
|
||||
Like the admin user the LDAP settings can be updated.
|
||||
All LDAP values from <https://docs.gitea.com/administration/command-line#admin> are available.
|
||||
All LDAP values from <https://forgejo.org/docs/latest/admin/command-line/#admin> are available.
|
||||
|
||||
Multiple LDAP sources can be configured with additional LDAP list items.
|
||||
|
||||
|
@ -620,9 +620,8 @@ Affected options:
|
|||
### OAuth2 Settings
|
||||
|
||||
Like the admin user, OAuth2 settings can be updated and disabled but not deleted.
|
||||
Deleting OAuth2 settings has to be done in the ui.
|
||||
All OAuth2 values, which are documented [here](https://docs.gitea.com/administration/command-line#admin), are
|
||||
available.
|
||||
Deleting OAuth2 settings has to be done in the UI.
|
||||
All OAuth2 values, which are documented [here](https://forgejo.org/docs/latest/admin/command-line/#admin), are available.
|
||||
|
||||
Multiple OAuth2 sources can be configured with additional OAuth list items.
|
||||
|
||||
|
@ -698,7 +697,7 @@ signing:
|
|||
```
|
||||
|
||||
To use the gpg key, Forgejo needs to be configured accordingly.
|
||||
A detailed description can be found in the [official Gitea documentation](https://docs.gitea.com/administration/signing#general-configuration).
|
||||
A detailed description can be found in the [documentation](https://forgejo.org/docs/latest/admin/signing/#general-configuration).
|
||||
|
||||
## Metrics and profiling
|
||||
|
||||
|
|
|
@ -22,9 +22,9 @@
|
|||
"markdownlint-cli": "^0.39.0",
|
||||
"prettier": "^3.1.0"
|
||||
},
|
||||
"packageManager": "pnpm@8.15.5",
|
||||
"packageManager": "pnpm@9.0.5",
|
||||
"engines": {
|
||||
"node": "^18.12.0 || >=20.9.0",
|
||||
"pnpm": "^8.0.0"
|
||||
"pnpm": "^9.0.0"
|
||||
}
|
||||
}
|
||||
|
|
1682
pnpm-lock.yaml
1682
pnpm-lock.yaml
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue