remogeissbuehler
cb954b7eb9
Allowing Custom Labels in SVC Templates ( #597 )
...
### Description of the change
The change allows users of this chart to specify custom labels for the HTTP & SSH Services that get deployed. They are optional and if given are added to the standard list of labels.
### Benefits
Certain use cases require labelling services to be able to select them in other places. Specifiying them directly in the helm chart avoids having to label by hand everytime.
Concrete Use Case Example: Cilium Layer 2 Announcements require selecting services to announce via labels (see [docs](https://docs.cilium.io/en/stable/network/l2-announcements/#service-selector )). I would like to add a label to the SSH service, but not the HTTP Service (which is handled via an ingress).
### Possible drawbacks
I don't see any, using this feature is optional :)
### 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: Remo Geissbühler <git@remogeissbuehler.ch>
Co-authored-by: justusbunsi <justusbunsi@noreply.gitea.com>
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/597
Reviewed-by: pat-s <pat-s@noreply.gitea.com>
Reviewed-by: justusbunsi <justusbunsi@noreply.gitea.com>
Co-authored-by: remogeissbuehler <remogeissbuehler@noreply.gitea.com>
Co-committed-by: remogeissbuehler <remogeissbuehler@noreply.gitea.com>
2024-02-21 06:41:34 -08:00
justusbunsi
c07ce13700
Properly sanitize gitea admin
output ( #590 )
...
### Description of the change
With https://github.com/go-gitea/gitea/pull/28390 , Gitea 1.21.2 introduced warning log output within the result of `gitea admin <subcommand>` and therefore affects the current provisioning script.
That script previously assumed a clean result set and was therefore doomed to fail at _some_ point.
This introduces output sanitizing to trim such logs above the actual result table.
### Applicable issues
- fixes #589
### Additional information
The non-sanitized output were only an issue for admin account provisioning, and only when the username matched one of these words (in case of #589 it was `gitea`):
```text
.../setting/security.go:168:loadSecurityFrom() [W] Enabling Query API Auth tokens is not recommended. DISABLE_QUERY_AUTH_TOKEN will default to true in gitea 1.23 and will be removed in gitea 1.24.
```
LDAP and OAuth sources were not affected by this particular log line, but also processed non-sanitized result sets. Changing their code is a precaution.
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/590
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>
2024-02-21 06:41:34 -08:00
justusbunsi
eeea64e176
Properly distinguish predefined and custom env vars in environment-to-ini ( #586 )
...
https://gitea.com/gitea/helm-chart/pulls/464#issuecomment-744656 was never taken into account. Somehow I missed that the PR was already merged when I replied.
Without this fix:
```text
Reloading preset envs...
+ 'GITEA_POSTGRESQL_HA_PGPOOL_SERVICE_PORT'
+ 'GITEA_POSTGRESQL_HA_POSTGRESQL_PORT_5432_TCP_PROTO'
+ 'GITEA_POSTGRESQL_HA_PGPOOL_PORT_5432_TCP_PROTO'
+ 'GITEA_POSTGRESQL_HA_PGPOOL_PORT'
+ 'GITEA_POSTGRESQL_HA_POSTGRESQL_PORT_5432_TCP_PORT'
+ 'GITEA_APP_INI'
+ 'GITEA_POSTGRESQL_HA_PGPOOL_PORT_5432_TCP_ADDR'
+ 'GITEA_POSTGRESQL_HA_POSTGRESQL_SERVICE_HOST'
+ 'GITEA_WORK_DIR'
+ 'GITEA_POSTGRESQL_HA_POSTGRESQL_PORT'
+ 'GITEA_POSTGRESQL_HA_POSTGRESQL_PORT_5432_TCP_ADDR'
+ 'GITEA_POSTGRESQL_HA_POSTGRESQL_SERVICE_PORT_POSTGRESQL'
+ 'GITEA_TEMP'
+ 'GITEA_POSTGRESQL_HA_PGPOOL_PORT_5432_TCP_PORT'
+ 'GITEA_POSTGRESQL_HA_PGPOOL_SERVICE_PORT_POSTGRESQL'
+ 'GITEA_POSTGRESQL_HA_POSTGRESQL_SERVICE_PORT'
+ 'GITEA_POSTGRESQL_HA_POSTGRESQL_PORT_5432_TCP'
+ 'GITEA_POSTGRESQL_HA_PGPOOL_PORT_5432_TCP'
+ 'GITEA_CUSTOM'
+ 'GITEA_POSTGRESQL_HA_PGPOOL_SERVICE_HOST'
+ 'GITEA__metrics__ENABLED'
=== All configuration sources loaded ===
```
With this fix:
```text
Reloading preset envs...
+ 'GITEA__metrics__ENABLED'
=== All configuration sources loaded ===
```
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/586
Reviewed-by: techknowlogick <techknowlogick@noreply.gitea.com>
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>
2024-02-21 06:41:34 -08:00
pat-s
f6fbb6c27e
Add config fallbacks for session
, cache
and queue
when disabling redis-cluster ( #585 )
...
### Description of the change
Add config fallbacks for `session`, `cache` and `queue` including tests.
### Benefits
If users disable the default `redis-cluster` sub-chart dependency, this will configure the respective sections to use the Gitea defaults as listed in https://docs.gitea.com/next/administration/config-cheat-sheet .
### Possible drawbacks
Users will run on non-optimal settings for production without knowing their config.
### Applicable issues
- fixes #584 #573 #489 #476 #468 #453
### 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
Co-authored-by: justusbunsi <sk.bunsenbrenner@gmail.com>
Co-authored-by: justusbunsi <justusbunsi@noreply.gitea.com>
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/585
Reviewed-by: justusbunsi <justusbunsi@noreply.gitea.com>
2024-02-21 06:41:34 -08:00
pat-s
6394a281ce
Update README with new dependency versioning approach ( #578 )
...
As discussed in https://gitea.com/gitea/helm-chart/issues/572 .
Also added a bit more context and updates to the overall "Dependencies" sections.
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/578
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>
2024-02-21 06:41:33 -08: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` [#​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