Compare commits
61 commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
97da7caf32 | ||
![]() |
d3c5871838 | ||
![]() |
dfd7192c98 | ||
![]() |
859b7fe8d3 | ||
![]() |
72fc2f00e3 | ||
![]() |
17bbb9cf89 | ||
![]() |
2c57f85122 | ||
![]() |
349d2a36ed | ||
![]() |
5962e0cc7d | ||
![]() |
588d444bb5 | ||
![]() |
e6250201a6 | ||
![]() |
c09c6ae5e0 | ||
![]() |
d43cbf7af2 | ||
![]() |
bd49cdad14 | ||
![]() |
67ca46fbb5 | ||
![]() |
2e1a563a6b | ||
![]() |
b261b77fad | ||
![]() |
f2acc5f4dd | ||
![]() |
70ba947913 | ||
![]() |
51585c7d98 | ||
![]() |
1ec9db9adf | ||
![]() |
262e31426c | ||
![]() |
075b3d8b5f | ||
![]() |
dc24ff05fe | ||
![]() |
3f93b532ec | ||
![]() |
ad99f52adc | ||
![]() |
15357ed605 | ||
![]() |
25f8b0c840 | ||
![]() |
d0e2ad903b | ||
![]() |
62254247fb | ||
![]() |
733b930f27 | ||
![]() |
628fc3b4e7 | ||
![]() |
9b52aa4eea | ||
![]() |
a2028ca2de | ||
![]() |
8f333dd457 | ||
![]() |
775d96235a | ||
![]() |
01cd48266b | ||
![]() |
7e92ed859c | ||
![]() |
8b382d0a49 | ||
![]() |
5a3f266bbc | ||
![]() |
d6b799cd55 | ||
![]() |
55a3201ea4 | ||
![]() |
7838ee7772 | ||
![]() |
a06af8e516 | ||
![]() |
6b87dc5bfd | ||
![]() |
1bfa7d8a8d | ||
![]() |
0ae0ac7868 | ||
![]() |
d277fa5abb | ||
![]() |
fb51fd1b9c | ||
![]() |
895e9d2e51 | ||
![]() |
4ea41d05c9 | ||
![]() |
c7065cb02f | ||
![]() |
3d167ad47e | ||
![]() |
c1fb3f9c53 | ||
![]() |
29c2d06e2e | ||
![]() |
e0a681e2c4 | ||
![]() |
99249e911d | ||
![]() |
40d06b8376 | ||
![]() |
677445b470 | ||
![]() |
5adf9c5084 | ||
![]() |
3d71bfc152 |
14 changed files with 575 additions and 350 deletions
|
@ -6,11 +6,11 @@ runs:
|
|||
using: 'composite'
|
||||
steps:
|
||||
- name: Setup pnpm
|
||||
uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0
|
||||
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
|
||||
with:
|
||||
standalone: true
|
||||
|
||||
- uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
|
||||
- uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
|
||||
with:
|
||||
node-version-file: .node-version
|
||||
cache: 'pnpm'
|
||||
|
|
|
@ -14,10 +14,10 @@ permissions:
|
|||
contents: read
|
||||
|
||||
env:
|
||||
HELM_VERSION: v3.17.0 # renovate: datasource=github-releases depName=helm packageName=helm/helm
|
||||
HELM_UNITTEST_VERSION: v0.7.1 # renovate: datasource=github-releases depName=helm-unittest packageName=helm-unittest/helm-unittest
|
||||
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.1 # renovate: datasource=github-releases depName=kubectl packageName=kubernetes/kubernetes
|
||||
KUBECTL_VERSION: v1.32.3 # renovate: datasource=github-releases depName=kubectl packageName=kubernetes/kubernetes
|
||||
CT_GITHUB_GROUPS: true
|
||||
|
||||
jobs:
|
||||
|
@ -60,12 +60,12 @@ jobs:
|
|||
- uses: ./.forgejo/actions/setup
|
||||
|
||||
- name: install chart-testing
|
||||
uses: helm/chart-testing-action@e6669bcd63d7cb57cb4380c33043eebe5d111992 # v2.6.1
|
||||
uses: helm/chart-testing-action@0d28d3144d3a25ea2cc349d6e59901c4ff469b3b # v2.7.0
|
||||
with:
|
||||
version: ${{ env.HELM_CHART_TESTING_VERSION }}
|
||||
|
||||
- name: install helm
|
||||
uses: azure/setup-helm@fe7b79cd5ee1e45176fcad797de68ecaf3ca4814 # v4.2.0
|
||||
uses: azure/setup-helm@b9e51907a09c216f16ebe8536097933489208112 # v4.3.0
|
||||
with:
|
||||
version: ${{ env.HELM_VERSION }}
|
||||
|
||||
|
@ -94,9 +94,9 @@ jobs:
|
|||
- v1.28.15+k3s1 # renovate: k3s
|
||||
# https://github.com/k3s-io/k3s/blob/master/channel.yaml#L3-L4
|
||||
# stable version
|
||||
- v1.31.4+k3s1 # renovate: k3s
|
||||
- v1.31.6+k3s1 # renovate: k3s
|
||||
# newest version
|
||||
- v1.32.0+k3s1 # renovate: k3s
|
||||
- v1.32.2+k3s1 # renovate: k3s
|
||||
|
||||
steps:
|
||||
- run: cat /etc/os-release
|
||||
|
@ -110,13 +110,12 @@ jobs:
|
|||
- uses: ./.forgejo/actions/setup
|
||||
|
||||
- name: install helm
|
||||
uses: azure/setup-helm@fe7b79cd5ee1e45176fcad797de68ecaf3ca4814 # v4.2.0
|
||||
uses: azure/setup-helm@b9e51907a09c216f16ebe8536097933489208112 # v4.3.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@5aa1c68405a43a57240a9b2869379324b2bec0fc # main
|
||||
uses: helm/chart-testing-action@0d28d3144d3a25ea2cc349d6e59901c4ff469b3b # v2.7.0
|
||||
with:
|
||||
version: ${{ env.HELM_CHART_TESTING_VERSION }}
|
||||
|
||||
|
@ -127,7 +126,7 @@ jobs:
|
|||
- run: kubectl get no -o wide
|
||||
|
||||
- name: install chart
|
||||
uses: https://github.com/nick-fields/retry@7152eba30c6575329ac0576536151aca5a72780e # v3.0.0
|
||||
uses: https://github.com/nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08 # v3.0.2
|
||||
with:
|
||||
timeout_minutes: 15
|
||||
max_attempts: 3
|
||||
|
@ -180,7 +179,7 @@ jobs:
|
|||
- uses: ./.forgejo/actions/setup-node
|
||||
|
||||
- name: install helm
|
||||
uses: https://github.com/azure/setup-helm@fe7b79cd5ee1e45176fcad797de68ecaf3ca4814 # v4.2.0
|
||||
uses: https://github.com/azure/setup-helm@b9e51907a09c216f16ebe8536097933489208112 # v4.3.0
|
||||
with:
|
||||
version: ${{ env.HELM_VERSION }}
|
||||
|
||||
|
|
|
@ -1 +1 @@
|
|||
22.13.0
|
||||
22.14.0
|
||||
|
|
2
.vscode/settings.json
vendored
2
.vscode/settings.json
vendored
|
@ -4,7 +4,7 @@
|
|||
".github/workflows/*",
|
||||
".forgejo/workflows/*"
|
||||
],
|
||||
"https://raw.githubusercontent.com/helm-unittest/helm-unittest/v0.7.1/schema/helm-testsuite.json": [
|
||||
"https://raw.githubusercontent.com/helm-unittest/helm-unittest/v0.7.2/schema/helm-testsuite.json": [
|
||||
"/unittests/**/*.yaml"
|
||||
]
|
||||
},
|
||||
|
|
14
Chart.lock
14
Chart.lock
|
@ -1,18 +1,18 @@
|
|||
dependencies:
|
||||
- name: common
|
||||
repository: oci://ghcr.io/visualon/bitnamicharts
|
||||
version: 2.29.0
|
||||
version: 2.30.0
|
||||
- name: postgresql
|
||||
repository: oci://ghcr.io/visualon/bitnamicharts
|
||||
version: 16.4.3
|
||||
version: 16.5.6
|
||||
- name: postgresql-ha
|
||||
repository: oci://ghcr.io/visualon/bitnamicharts
|
||||
version: 15.1.6
|
||||
version: 15.3.8
|
||||
- name: redis-cluster
|
||||
repository: oci://ghcr.io/visualon/bitnamicharts
|
||||
version: 11.4.0
|
||||
version: 11.4.6
|
||||
- name: redis
|
||||
repository: oci://ghcr.io/visualon/bitnamicharts
|
||||
version: 20.6.3
|
||||
digest: sha256:3314175ef0c77224738d5183c76c75a4773b0e21e7598f343a78780cc1068b75
|
||||
generated: "2025-01-16T10:32:50.323017929Z"
|
||||
version: 20.11.4
|
||||
digest: sha256:a9c9f0779663336dd22ca4896f22bb64427e28f20aa567aee2f18474f8e31a23
|
||||
generated: "2025-03-26T15:31:33.532188569Z"
|
||||
|
|
12
Chart.yaml
12
Chart.yaml
|
@ -3,7 +3,7 @@ name: forgejo
|
|||
description: Forgejo Helm chart for Kubernetes
|
||||
type: application
|
||||
version: 0.0.0
|
||||
appVersion: 10.0.0
|
||||
appVersion: 10.0.3
|
||||
icon: https://code.forgejo.org/forgejo/forgejo/raw/branch/forgejo/assets/logo.svg
|
||||
home: https://forgejo.org/
|
||||
|
||||
|
@ -33,24 +33,24 @@ dependencies:
|
|||
repository: oci://ghcr.io/visualon/bitnamicharts
|
||||
tags:
|
||||
- bitnami-common
|
||||
version: 2.29.0
|
||||
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.4.3
|
||||
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.1.6
|
||||
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.0
|
||||
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.6.3
|
||||
version: 20.11.4
|
||||
condition: redis.enabled
|
||||
|
|
47
README.md
47
README.md
|
@ -176,14 +176,14 @@ gitea:
|
|||
This chart will set a few defaults in the Forgejo configuration based on the service and ingress settings.
|
||||
All defaults can be overwritten in `gitea.config`.
|
||||
|
||||
INSTALL_LOCK is always set to true, since we want to configure Forgejo with this helm chart and everything is taken care of.
|
||||
INSTALL_LOCK is always set to true because the configuration in this helm chart makes any configuration via installer superfluous.
|
||||
|
||||
_All default settings are made directly in the generated `app.ini`, not in the Values._
|
||||
|
||||
#### Database defaults
|
||||
|
||||
If a builtIn database is enabled the database configuration is set automatically.
|
||||
For example, PostgreSQL builtIn will appear in the `app.ini` as:
|
||||
If a database subchart is enabled, the database configuration is set automatically.
|
||||
For example, PostgreSQL will appear in the `app.ini` as:
|
||||
|
||||
```ini
|
||||
[database]
|
||||
|
@ -531,8 +531,6 @@ postgresql:
|
|||
|
||||
This chart enables you to create a default admin user.
|
||||
It is also possible to update the password for this user by upgrading or redeploying the chart.
|
||||
It is not possible to delete an admin user after it has been created.
|
||||
This has to be done in the ui.
|
||||
You cannot use `admin` as username.
|
||||
|
||||
```yaml
|
||||
|
@ -562,7 +560,9 @@ gitea:
|
|||
existingSecret: gitea-admin-secret
|
||||
```
|
||||
|
||||
Whether you use the existing Secret or specify a user name and password, there are three modes for how the admin user password is created or set.
|
||||
To delete the admin user, set `username` or `password` to an empty value and delete the user in the UI.
|
||||
|
||||
Whether you use the existing Secret or specify a username and password directly, there are three modes for how the admin user password is created or set.
|
||||
|
||||
- `keepUpdated` (the default) will set the admin user password, and reset it to the defined value every time the pod is recreated.
|
||||
- `initialOnlyNoReset` will set the admin user password when creating it, but never try to update the password.
|
||||
|
@ -633,7 +633,7 @@ Affected options:
|
|||
|
||||
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://forgejo.org/docs/latest/admin/command-line/#admin), are available.
|
||||
[All OAuth2 values](https://forgejo.org/docs/latest/admin/command-line/#admin-auth-add-oauth) are available.
|
||||
|
||||
Multiple OAuth2 sources can be configured with additional OAuth list items.
|
||||
|
||||
|
@ -692,12 +692,9 @@ route:
|
|||
|
||||
## Configure commit signing
|
||||
|
||||
When using the rootless image the gpg key folder is not persistent by default.
|
||||
If you consider using signed commits for internal Forgejo activities (e.g. initial commit), you'd need to provide a signing key.
|
||||
Prior to [PR186](https://gitea.com/gitea/helm-chart/pulls/186), imported keys had to be re-imported once the container got replaced by another.
|
||||
|
||||
The mentioned PR introduced a new configuration object `signing` allowing you to configure prerequisites for commit signing.
|
||||
By default this section is disabled to maintain backwards compatibility.
|
||||
When using the rootless image, the GPG key folder is not persistent by default.
|
||||
If you want commits by Forgejo (e.g. initial commit) to be signed,
|
||||
you need to provide a signing key:
|
||||
|
||||
```yaml
|
||||
signing:
|
||||
|
@ -705,8 +702,10 @@ signing:
|
|||
gpgHome: /data/git/.gnupg
|
||||
```
|
||||
|
||||
Regardless of the used container image the `signing` object allows to specify a private gpg key.
|
||||
Either using the `signing.privateKey` to define the key inline, or refer to an existing secret containing the key data by using `signing.existingSecret`.
|
||||
By default this section is disabled to maintain backwards compatibility.
|
||||
|
||||
Regardless of the used container image the `signing` object allows to specify a private GPG key.
|
||||
Either using the `signing.privateKey` to define the key inline, or referring to an existing secret containing the key data with `signing.existingSecret`.
|
||||
|
||||
```yaml
|
||||
apiVersion: v1
|
||||
|
@ -726,7 +725,7 @@ signing:
|
|||
existingSecret: custom-gitea-gpg-key
|
||||
```
|
||||
|
||||
To use the gpg key, Forgejo needs to be configured accordingly.
|
||||
To use the GPG key, Forgejo needs to be configured accordingly.
|
||||
A detailed description can be found in the [documentation](https://forgejo.org/docs/latest/admin/signing/#general-configuration).
|
||||
|
||||
## Metrics and profiling
|
||||
|
@ -1022,7 +1021,7 @@ To comply with the Forgejo helm chart definition of the digest parameter, a "cus
|
|||
| ------------------------ | ----------------------------------------------------------------- | ------------------ |
|
||||
| `signing.enabled` | Enable commit/action signing | `false` |
|
||||
| `signing.gpgHome` | GPG home directory | `/data/git/.gnupg` |
|
||||
| `signing.privateKey` | Inline private gpg key for signed internal Git activity | `""` |
|
||||
| `signing.privateKey` | Inline private GPG key for signed internal Git activity | `""` |
|
||||
| `signing.existingSecret` | Use an existing secret to store the value of `signing.privateKey` | `""` |
|
||||
|
||||
### Gitea
|
||||
|
@ -1140,7 +1139,7 @@ blocks, while the keys themselves remain in all caps.
|
|||
### Redis® Cluster
|
||||
|
||||
Redis® Cluster is loaded as a dependency from [Bitnami](https://github.com/bitnami/charts/tree/master/bitnami/redis-cluster) if enabled in the values.
|
||||
Complete Configuration can be taken from their website.
|
||||
Full configuration options are available on their website.
|
||||
Redis cluster and [Redis](#redis) cannot be enabled at the same time.
|
||||
|
||||
| Name | Description | Value |
|
||||
|
@ -1153,7 +1152,7 @@ Redis cluster and [Redis](#redis) cannot be enabled at the same time.
|
|||
### Redis®
|
||||
|
||||
Redis® is loaded as a dependency from [Bitnami](https://github.com/bitnami/charts/tree/master/bitnami/redis) if enabled in the values.
|
||||
Complete Configuration can be taken from their website.
|
||||
Full configuration options are available on their website.
|
||||
Redis and [Redis cluster](#redis-cluster) cannot be enabled at the same time.
|
||||
|
||||
| Name | Description | Value |
|
||||
|
@ -1166,7 +1165,7 @@ Redis and [Redis cluster](#redis-cluster) cannot be enabled at the same time.
|
|||
### PostgreSQL HA
|
||||
|
||||
PostgreSQL HA is loaded as a dependency from [Bitnami](https://github.com/bitnami/charts/tree/master/bitnami/postgresql-ha) if enabled in the values.
|
||||
Complete Configuration can be taken from their website.
|
||||
Full configuration options are available on their website.
|
||||
|
||||
| Name | Description | Value |
|
||||
| ------------------------------------------- | ---------------------------------------------------------------- | ----------- |
|
||||
|
@ -1184,7 +1183,7 @@ Complete Configuration can be taken from their website.
|
|||
### PostgreSQL
|
||||
|
||||
PostgreSQL is loaded as a dependency from [Bitnami](https://github.com/bitnami/charts/tree/master/bitnami/postgresql) if enabled in the values.
|
||||
Complete Configuration can be taken from their website.
|
||||
Full configuration options are available on their website.
|
||||
|
||||
| Name | Description | Value |
|
||||
| ------------------------------------------------------- | ---------------------------------------------------------------- | ------- |
|
||||
|
@ -1199,11 +1198,11 @@ Complete Configuration can be taken from their website.
|
|||
|
||||
| Name | Description | Value |
|
||||
| ------------------ | ------------------------------------------------------------------ | --------- |
|
||||
| `checkDeprecation` | Set it to false to skip this basic validation check. | `true` |
|
||||
| `test.enabled` | Set it to false to disable test-connection Pod. | `true` |
|
||||
| `checkDeprecation` | Whether to run this basic validation check. | `true` |
|
||||
| `test.enabled` | Whether to use test-connection Pod. | `true` |
|
||||
| `test.image.name` | Image name for the wget container used in the test-connection Pod. | `busybox` |
|
||||
| `test.image.tag` | Image tag for the wget container used in the test-connection Pod. | `latest` |
|
||||
| `extraDeploy` | Array of extra objects to deploy with the release | `[]` |
|
||||
| `extraDeploy` | Array of extra objects to deploy with the release. | `[]` |
|
||||
|
||||
## Contributing
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
image:
|
||||
registry: codeberg.org
|
||||
repository: forgejo-experimental/forgejo
|
||||
tag: 10.0-test # don't pin, manifests can be missing
|
||||
tag: 10 # don't pin, manifests can be missing
|
||||
|
||||
# Use mirror
|
||||
# https://code.forgejo.org/forgejo-helm/forgejo-helm/issues/1045
|
|
@ -1,7 +1,7 @@
|
|||
image:
|
||||
registry: codeberg.org
|
||||
repository: forgejo-experimental/forgejo
|
||||
tag: 11.0-test # don't pin, manifests can be missing
|
||||
tag: 11 # don't pin, manifests can be missing
|
||||
|
||||
# Use mirror
|
||||
# https://code.forgejo.org/forgejo-helm/forgejo-helm/issues/1045
|
29
ci/v12-values.yaml
Normal file
29
ci/v12-values.yaml
Normal 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
|
14
package.json
14
package.json
|
@ -14,18 +14,18 @@
|
|||
"test": "helm unittest --strict -f 'unittests/**/*.yaml' ./"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@bitnami/readme-generator-for-helm": "2.6.1",
|
||||
"@bitnami/readme-generator-for-helm": "2.7.0",
|
||||
"clipanion": "3.2.1",
|
||||
"conventional-changelog-conventionalcommits": "8.0.0",
|
||||
"conventional-changelog-core": "8.0.0",
|
||||
"conventional-changelog-core": "9.0.0",
|
||||
"husky": "9.1.7",
|
||||
"lint-staged": "15.4.0",
|
||||
"markdownlint-cli": "0.43.0",
|
||||
"prettier": "3.4.2"
|
||||
"lint-staged": "15.5.0",
|
||||
"markdownlint-cli": "0.44.0",
|
||||
"prettier": "3.5.3"
|
||||
},
|
||||
"packageManager": "pnpm@9.15.4",
|
||||
"packageManager": "pnpm@10.7.0",
|
||||
"engines": {
|
||||
"node": "^22.0.0",
|
||||
"pnpm": "^9.0.0"
|
||||
"pnpm": "^10.0.0"
|
||||
}
|
||||
}
|
||||
|
|
751
pnpm-lock.yaml
751
pnpm-lock.yaml
File diff suppressed because it is too large
Load diff
|
@ -89,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 "FORGEJO____${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
|
||||
masked_section="${masked_section//-/_0X2D_}"
|
||||
|
||||
export "FORGEJO__${masked_section^^}__${setting^^}=${value}" # '^^' makes the variable content uppercase
|
||||
export "FORGEJO__${masked_section^^}__${masked_setting^^}=${value}" # '^^' makes the variable content uppercase
|
||||
}
|
||||
|
||||
function env2ini::reload_preset_envs() {
|
||||
|
|
16
values.yaml
16
values.yaml
|
@ -369,7 +369,7 @@ initContainers:
|
|||
#
|
||||
## @param signing.enabled Enable commit/action signing
|
||||
## @param signing.gpgHome GPG home directory
|
||||
## @param signing.privateKey Inline private gpg key for signed internal Git activity
|
||||
## @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
|
||||
|
@ -675,7 +675,7 @@ gitea:
|
|||
## @section Redis® Cluster
|
||||
## @descriptionStart
|
||||
## Redis® Cluster is loaded as a dependency from [Bitnami](https://github.com/bitnami/charts/tree/master/bitnami/redis-cluster) if enabled in the values.
|
||||
## Complete Configuration can be taken from their website.
|
||||
## Full configuration options are available on their website.
|
||||
## Redis cluster and [Redis](#redis) cannot be enabled at the same time.
|
||||
## @descriptionEnd
|
||||
#
|
||||
|
@ -693,7 +693,7 @@ redis-cluster:
|
|||
## @section Redis®
|
||||
## @descriptionStart
|
||||
## Redis® is loaded as a dependency from [Bitnami](https://github.com/bitnami/charts/tree/master/bitnami/redis) if enabled in the values.
|
||||
## Complete Configuration can be taken from their website.
|
||||
## Full configuration options are available on their website.
|
||||
## Redis and [Redis cluster](#redis-cluster) cannot be enabled at the same time.
|
||||
## @descriptionEnd
|
||||
#
|
||||
|
@ -713,7 +713,7 @@ redis:
|
|||
## @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.
|
||||
## Complete Configuration can be taken from their website.
|
||||
## Full configuration options are available on their website.
|
||||
## @descriptionEnd
|
||||
#
|
||||
## @param postgresql-ha.enabled Enable PostgreSQL HA chart
|
||||
|
@ -749,7 +749,7 @@ postgresql-ha:
|
|||
## @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.
|
||||
## Full configuration options are available on their website.
|
||||
## @descriptionEnd
|
||||
#
|
||||
## @param postgresql.enabled Enable PostgreSQL
|
||||
|
@ -776,8 +776,8 @@ postgresql:
|
|||
# By default, removed or moved settings that still remain in a user defined values.yaml will cause Helm to fail running the install/update.
|
||||
# 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 test.enabled Set it to false to disable test-connection Pod.
|
||||
## @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
|
||||
|
@ -787,6 +787,6 @@ test:
|
|||
name: busybox
|
||||
tag: latest
|
||||
|
||||
## @param extraDeploy Array of extra objects to deploy with the release
|
||||
## @param extraDeploy Array of extra objects to deploy with the release.
|
||||
##
|
||||
extraDeploy: []
|
||||
|
|
Loading…
Reference in a new issue