Skip to content

Commit 9baff24

Browse files
Mart-KucWildPigDeveloperpre-commit-ci[bot]
authored
feat(extraObjects): Add support for additioanl K8S objects (#731)
* feat(extraObjects): Add support for additioanl K8S objects * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: Kucin, Martin <martin.kucin@yunextraffic.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 2de0380 commit 9baff24

5 files changed

Lines changed: 23 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.5.27
2+
3+
[FEATURE] Add support for additional K8S resources [#731](https://github.com/WeblateOrg/helm/pull/731)
4+
15
## 0.5.26
26

37
[FEATURE] Configurable service.publishNotReadyAddresses [#674](https://github.com/WeblateOrg/helm/pull/674)

charts/weblate/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ appVersion: 5.16.0.0
44
description: Weblate is a free web-based translation management system.
55
name: weblate
66
type: application
7-
version: 0.5.26
7+
version: 0.5.27
88
home: https://weblate.org/
99
icon: https://s.weblate.org/cdn/weblate.svg
1010
maintainers:

charts/weblate/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# weblate
22

3-
![Version: 0.5.26](https://img.shields.io/badge/Version-0.5.26-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 5.16.0.0](https://img.shields.io/badge/AppVersion-5.16.0.0-informational?style=flat-square)
3+
![Version: 0.5.27](https://img.shields.io/badge/Version-0.5.27-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 5.16.0.0](https://img.shields.io/badge/AppVersion-5.16.0.0-informational?style=flat-square)
44

55
Weblate is a free web-based translation management system.
66

@@ -51,6 +51,7 @@ $ helm install my-release weblate/weblate
5151
| existingSecret | string | `""` | Name of existing secret, Make sure it contains the keys postgresql-user, postgresql-password, redis-password, email-user, email-password, admin-user, admin-password Also note to set the existingSecret values for the Redis and Postgresql subcharts |
5252
| externalSecretName | string | `""` | An external secret, in the same namespace, that will be use to set additional (environment) configs. |
5353
| extraConfig | object | `{}` | Additional (environment) configs. Values will be evaluated as templates. See https://docs.weblate.org/en/latest/admin/install/docker.html#docker-environment |
54+
| extraObjects | list | `[]` | |
5455
| extraSecretConfig | object | `{}` | Same as `extraConfig`, but created as secrets. Values will be evaluated as Helm templates |
5556
| extraVolumeMounts | list | `[]` | Additional volume mounts to be added to the container. Values will be evaluated as templates. Normally used with `extraVolumes` |
5657
| extraVolumes | list | `[]` | Additional volumes to be added to the deployment. Values will be evaluated as templates. Requires setting `extraVolumeMounts` |
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{{ range .Values.extraObjects }}
2+
---
3+
{{ tpl (toYaml .) $ }}
4+
{{ end }}

charts/weblate/values.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,18 @@ readinessProbe:
196196
failureThreshold: 2
197197
successThreshold: 1
198198

199+
## If you need to specify additional Kubernetes resources
200+
extraObjects: []
201+
# - apiVersion: velero.io/v1
202+
# kind: Schedule
203+
# metadata:
204+
# name: weblate-backup
205+
# spec:
206+
# schedule: "0 2 * * *"
207+
# template:
208+
# includedNamespaces:
209+
# - weblate
210+
199211
postgresql:
200212
global:
201213
security:

0 commit comments

Comments
 (0)