techknowlogick
80032dfc5c
1.16.7
2022-05-02 13:36:55 +08:00
svenihoney
52ed32ae74
Allow configuration of ipFamilyPolicy and ipFamilies ( #313 )
...
To enable access to e.g. the SSH port by IPv6, the selection of ipFamilyPolicy and ipFamilies service attributes is necessary. Enable the possibility to configure these by helm values.
Co-authored-by: Sven Fischer <sven@leiderfischer.de >
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/313
Reviewed-by: justusbunsi <justusbunsi@noreply.gitea.io >
Reviewed-by: luhahn <luhahn@noreply.gitea.io >
Co-authored-by: svenihoney <svenihoney@noreply.gitea.io >
Co-committed-by: svenihoney <svenihoney@noreply.gitea.io >
2022-04-25 19:56:25 +08:00
justusbunsi
b06b3edf1d
Consider imagePullPolicy for init containers ( #317 )
...
The default behaviour for container image pulls depend on different values
such as image tag usage and its value.
See https://kubernetes.io/docs/concepts/containers/images/#imagepullpolicy-defaulting
It leads to an unintended behaviour for this Helm Chart. Kubernetes
will always pull the image for init containers when using the `latest`
Gitea image tag, even if `Values.image.pullPolicy` defines a different
value for the runtime container.
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/317
Reviewed-by: techknowlogick <techknowlogick@gitea.io >
Reviewed-by: Gusted <williamzijl7@hotmail.com >
Co-authored-by: justusbunsi <justusbunsi@noreply.gitea.io >
Co-committed-by: justusbunsi <justusbunsi@noreply.gitea.io >
2022-04-22 06:13:19 +08:00
takirala
a7bc46015e
feat: configurable annotations for gitea StatefulSet ( #315 )
...
Fixes #314
Right now, the gitea StatefulSet does not allow any annotations to be configured via the helmchart - see https://gitea.com/gitea/helm-chart/src/tag/v5.0.4/templates/gitea/statefulset.yaml#L4-L6
My use case:
I am trying to use Reloader (https://github.com/stakater/Reloader ) so that I can configure my values.yaml such that i can set some annotations on the StatefulSet and thus Reloader can rollout a restart of gitea StatefulSet whenever a watched secret or configmap is updated.
Co-authored-by: Tarun Gupta Akirala <tarugupta.92@gmail.com >
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/315
Reviewed-by: techknowlogick <techknowlogick@gitea.io >
Reviewed-by: justusbunsi <justusbunsi@noreply.gitea.io >
Co-authored-by: takirala <takirala@noreply.gitea.io >
Co-committed-by: takirala <takirala@noreply.gitea.io >
2022-04-21 23:55:53 +08:00
techknowlogick
46b190adda
1.16.6
2022-04-21 09:03:01 +08:00
techknowlogick
d94226765d
close #302
...
Signed-off-by: techknowlogick <techknowlogick@gitea.io >
2022-03-26 02:28:39 +08:00
techknowlogick
844c8daa0b
1.16.5
...
Signed-off-by: techknowlogick <techknowlogick@gitea.io >
2022-03-24 10:59:17 +08:00
techknowlogick
982ae60d8e
1.16.4
...
Signed-off-by: techknowlogick <techknowlogick@gitea.io >
2022-03-15 06:16:48 +08:00
luhahn
62b82459de
Consider environment variables during app.ini creation ( #298 )
...
This PR improves the handling and injection into _app.ini_ of user defined environment variables via env-to-ini script.
Fixes #297
Co-authored-by: Lucas Hahn <lucas.hahn@novum-rgi.de >
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/298
Reviewed-by: justusbunsi <justusbunsi@noreply.gitea.io >
Reviewed-by: 6543 <6543@obermui.de >
2022-03-09 14:47:55 +08:00
techknowlogick
9530967163
1.16.3 ( #300 )
...
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/300
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Reviewed-by: pat-s <pat-s@noreply.gitea.io >
2022-03-04 16:32:18 +08:00
luhahn
d35de55248
Remove db connection check ( #299 )
...
This will remove the db connection check, which has caused some trouble in the past.
It will now simply run _gitea migrate_ and output a message, if the database is not available.
Co-authored-by: Lucas Hahn <lucas.hahn@novum-rgi.de >
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/299
Reviewed-by: justusbunsi <justusbunsi@noreply.gitea.io >
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: luhahn <luhahn@noreply.gitea.io >
Co-committed-by: luhahn <luhahn@noreply.gitea.io >
2022-03-02 08:25:49 +08:00
justusbunsi
78b5858009
Simplify version handling ( #250 )
...
- Drop super legacy `image.version` value (see #92 description)
- Always use `appVersion` from Chart.yaml as image tag if non specified
---
Don't know whether this is a breaking change regarding image.version
drop.
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/250
Reviewed-by: techknowlogick <techknowlogick@gitea.io >
Reviewed-by: luhahn <luhahn@noreply.gitea.io >
Co-authored-by: justusbunsi <justusbunsi@noreply.gitea.io >
Co-committed-by: justusbunsi <justusbunsi@noreply.gitea.io >
2022-03-01 22:55:44 +08:00
techknowlogick
1a3ce54dfc
update to 1.16.2 ( #293 )
...
replaces #290
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/293
2022-02-26 06:01:16 +08:00
a-zen
6896c7caae
added hostPort support for ssh ( #276 )
...
This fixes my feature request (#275 ) to support hostPort to expose the ssh port.
Co-authored-by: alex <alex@zengers.de >
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/276
Reviewed-by: luhahn <luhahn@noreply.gitea.io >
Reviewed-by: justusbunsi <justusbunsi@noreply.gitea.io >
Co-authored-by: a-zen <a-zen@noreply.gitea.io >
Co-committed-by: a-zen <a-zen@noreply.gitea.io >
2022-02-25 17:18:57 +08:00
justusbunsi
7bdf742e81
Add example for Kubernetes secret as additional source ( #294 )
...
As discussed in #286 , an example for using Kubernetes secrets as additional configuration source was missing. This adds it.
Co-authored-by: techknowlogick <techknowlogick@gitea.io >
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/294
Reviewed-by: techknowlogick <techknowlogick@gitea.io >
Reviewed-by: luhahn <luhahn@noreply.gitea.io >
Co-authored-by: justusbunsi <justusbunsi@noreply.gitea.io >
Co-committed-by: justusbunsi <justusbunsi@noreply.gitea.io >
2022-02-14 16:00:47 +08:00
justusbunsi
f2948646ba
Fix markdown lint in CI ( #295 )
...
I saw a few PRs including this. Maybe it's good to have this as fast as possible to prevent others providing this fix, too.
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/295
Reviewed-by: luhahn <luhahn@noreply.gitea.io >
Reviewed-by: techknowlogick <techknowlogick@gitea.io >
Co-authored-by: justusbunsi <justusbunsi@noreply.gitea.io >
Co-committed-by: justusbunsi <justusbunsi@noreply.gitea.io >
2022-02-10 23:44:41 +08:00
techknowlogick
c010c3857e
update to gitea 1.15.10 ( #278 )
...
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/278
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Reviewed-by: luhahn <luhahn@noreply.gitea.io >
Co-authored-by: techknowlogick <techknowlogick@gitea.io >
Co-committed-by: techknowlogick <techknowlogick@gitea.io >
2022-01-20 16:22:36 +08:00
luhahn
7fc444c08e
Update README with multiple LDAP Sources ( #271 )
...
We did not mention the multiple LDAP Sources as a breaking change.
Co-authored-by: Lucas Hahn <lucas.hahn@novum-rgi.de >
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/271
Reviewed-by: justusbunsi <justusbunsi@noreply.gitea.io >
Reviewed-by: Andrew Thornton <art27@cantab.net >
2021-12-23 21:43:21 +08:00
nmasse-itix
d550b5a2c4
Improve support for gitea instances not running as root or uid 1000 ( #266 )
...
## Context
PR #259 introduced support for running Gitea as a uid different than 1000 (git) or 0 (root).
## Problem
In init_directory_structure.sh, there is a "chown 1000:1000" on /tmp/gitea.
This chown only works when running as root or when the target directory is already owned by uid 1000.
As a result, the init container "init-directories" fails on startup when running Gitea with a uid different from 0 or 1000.
Initially, I worked around it by implementing an "initPreScript". But it would make user's life easier if we can make it work out-of-the-box.
## Resolution
I'm taking model on the chown a few lines above that depends on the value of image.rootless. Since the chown only works on default (root) image and is useless on rootless image, there is no need to run it on rootless image.
Co-authored-by: Nicolas MASSE <nicolas.masse@itix.fr >
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/266
Reviewed-by: luhahn <luhahn@noreply.gitea.io >
Reviewed-by: justusbunsi <justusbunsi@noreply.gitea.io >
Co-authored-by: nmasse-itix <nmasse-itix@noreply.gitea.io >
Co-committed-by: nmasse-itix <nmasse-itix@noreply.gitea.io >
2021-12-23 18:50:56 +08:00
justusbunsi
5bb91510df
Bump Gitea version to 1.15.8 ( #270 )
...
As title.
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/270
Reviewed-by: techknowlogick <techknowlogick@gitea.io >
Reviewed-by: Gusted <gusted@noreply.gitea.io >
Co-authored-by: justusbunsi <justusbunsi@noreply.gitea.io >
Co-committed-by: justusbunsi <justusbunsi@noreply.gitea.io >
2021-12-23 03:56:36 +08:00
justusbunsi
c27140c4cb
Add deprecation fail-safe for Chart templating ( #269 )
...
With release 5.0.0 there are so many deprecations and breaking changes
that it is probably a good way to assist the users with values migration
before breaking their environments.
This adds another template file that doesn't render anything but ensures
the removal of dropped or deprecated settings from customized values
files.
For when it is necessary, this check can be disabled via new setting
`checkDeprecation`.
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/269
Reviewed-by: luhahn <luhahn@noreply.gitea.io >
Reviewed-by: wxiaoguang <wxiaoguang@noreply.gitea.io >
Co-authored-by: justusbunsi <justusbunsi@noreply.gitea.io >
Co-committed-by: justusbunsi <justusbunsi@noreply.gitea.io >
2021-12-23 00:25:32 +08:00
luhahn
d97ea18626
Remove builtIn dependency values ( #268 )
...
⚠️ Breaking
Moved the values to enable the dependencies into the dependencies itself, this way we don't need a seperate field in the values and it is more obvious how to enable for example postgresql.
Co-authored-by: Lucas Hahn <lucas.hahn@novum-rgi.de >
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/268
Reviewed-by: justusbunsi <justusbunsi@noreply.gitea.io >
Reviewed-by: Andrew Thornton <art27@cantab.net >
2021-12-22 23:41:35 +08:00
justusbunsi
7b0a1c7ae6
Generic way for configuring Gitea app.ini ( #240 )
...
With the result of PR #239 it is much easier to provide additional values to the _app.ini_ configuration from different sources.
These changes adds an _additionalConfigSources_ field where the users can define such sources. This enables the users to choose
on their own whether to store values in _values.yaml_ or load them from Kuberetes Secrets or ConfigMaps.
- Fixes #243
- Fixes #174
- Fixes #260
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/240
Reviewed-by: luhahn <luhahn@noreply.gitea.io >
Reviewed-by: wxiaoguang <wxiaoguang@noreply.gitea.io >
Co-authored-by: justusbunsi <justusbunsi@noreply.gitea.io >
Co-committed-by: justusbunsi <justusbunsi@noreply.gitea.io >
2021-12-22 18:44:04 +08:00
justusbunsi
66683e14df
Remove "enabled" key check from OAuth ( #267 )
...
As this key must not exist anymore, we don't have to check it.
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/267
Reviewed-by: luhahn <luhahn@noreply.gitea.io >
Reviewed-by: wxiaoguang <wxiaoguang@noreply.gitea.io >
Co-authored-by: justusbunsi <justusbunsi@noreply.gitea.io >
Co-committed-by: justusbunsi <justusbunsi@noreply.gitea.io >
2021-12-21 18:59:18 +08:00
justusbunsi
6d9362ed39
Rework OAuth sources ( #244 )
...
This change request includes two different things to improve OAuth source handling:
- Allow multiple OAuth source configuration (Fixes : #191 )
- Support reading sensitive OAuth configuration data from Kubernetes secrets (Closes : #242 )
⚠️ BREAKING ⚠️
---
Users need to migrate their `gitea.oauth` configuration.
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/244
Reviewed-by: luhahn <luhahn@noreply.gitea.io >
Reviewed-by: Andrew Thornton <art27@cantab.net >
Co-authored-by: justusbunsi <justusbunsi@noreply.gitea.io >
Co-committed-by: justusbunsi <justusbunsi@noreply.gitea.io >
2021-12-20 22:43:55 +08:00
aleksey.sergey
cd09ccfcdb
add support for persistence.subPath option ( #263 )
...
Hello,
PR adds a `persistence.subPath` option to provide user more flexibility on mounting the `data` PV.
https://kubernetes.io/docs/concepts/storage/volumes/#using-subpath
The setting is similar to e.g. `primary.persistence.subPath` in MariaDB helm chart:
https://github.com/bitnami/charts/tree/master/bitnami/mariadb
Co-authored-by: Aleksey Sergey <sergey.aleksey90@gmail.com >
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/263
Reviewed-by: justusbunsi <justusbunsi@noreply.gitea.io >
Reviewed-by: luhahn <luhahn@noreply.gitea.io >
Co-authored-by: aleksey.sergey <aleksey.sergey@noreply.gitea.io >
Co-committed-by: aleksey.sergey <aleksey.sergey@noreply.gitea.io >
2021-12-20 19:58:44 +08:00
iMartyn
d97b1567e2
Enable overriding of ingress api version for systems where detection doesn't work ( #252 )
...
fixes #251
The rendering is a bit more programatic but the result is the same if you don't have an override. This makes the code a little easier at the end of the template, and slightly less easier to read at the beginning, which I think is a valid tradeoff.
Co-authored-by: Martyn Ranyard <m@rtyn.berlin >
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/252
Reviewed-by: justusbunsi <justusbunsi@noreply.gitea.io >
Reviewed-by: luhahn <luhahn@noreply.gitea.io >
Co-authored-by: iMartyn <imartyn@noreply.gitea.io >
Co-committed-by: iMartyn <imartyn@noreply.gitea.io >
2021-12-20 19:54:37 +08:00
nmasse-itix
bef0cea1b1
split the securityContext in two: pod and container securityContext ( #259 )
...
Hello !
I'm using the new Helm chart (5.x) and I really like the new configuration mechanism. 👍
I would like to contribute the following enhancement.
## The problem I want to solve
I'm trying to deploy Gitea in a Kubernetes shared platform and I need to make sure each instance is running as a different user so that in case of container escape, the risk of data leak is minimized.
Additionally, on my platform (OpenShift), arbitrary users (such as uid 1000 for Gitea) are not allowed.
The current helm chart does not allow me to achieve this because:
- the container security context is configurable only for the main container. The security context of init containers cannot be specified.
- a fixed uid is hard coded
- a fixed fs group is hard coded
Also, the securityContext of a pod and the securityContext of a container do not accept the same options.
- https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.19/#podsecuritycontext-v1-core
- https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.19/#securitycontext-v1-core
## How I'm solving the problem
I split the `securityContext` (values.yaml) in two: `containerSecurityContext` and `podSecurityContext`. The containerSecurityContext applies to all containers (init and main) in order to be consistent with file permissions.
The behavior for existing deployments is unchanged:
- fsGroup 1000 is the default value for the podSecurityContext variable
- the "configure-gitea" init container uses the uid 1000 unless otherwise stated in the containerSecurityContext
- the main container is using the existing securityContext variable when defined in order not to break existing deployments and uses the new containerSecurityContext variable if not.
This approach is well tested: it is used consistently on bitnami's Helm charts.
## How I tested
I tested both root and rootless variants on a Kubernetes 1.22, as well as rootless variant on OpenShift 4.7.
**rootless variant on Kubernetes**:
```yaml
podSecurityContext:
fsGroup: 10001
containerSecurityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
add:
- SYS_CHROOT
privileged: false
runAsGroup: 10001
runAsNonRoot: true
runAsUser: 10001
extraVolumes:
- name: var-lib-gitea
emptyDir: {}
extraVolumeMounts:
- name: var-lib-gitea
readOnly: false
mountPath: "/var/lib/gitea"
```
**rootless variant on OpenShift**:
```yaml
podSecurityContext:
fsGroup: null
containerSecurityContext:
allowPrivilegeEscalation: false
privileged: false
runAsNonRoot: true
runAsUser: 1000790000
extraVolumes:
- name: var-lib-gitea
emptyDir: {}
extraVolumeMounts:
- name: var-lib-gitea
readOnly: false
mountPath: "/var/lib/gitea"
```
Let me know if something is unclear.
Co-authored-by: Nicolas MASSE <nicolas.masse@itix.fr >
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/259
Reviewed-by: luhahn <luhahn@noreply.gitea.io >
Reviewed-by: justusbunsi <justusbunsi@noreply.gitea.io >
Co-authored-by: nmasse-itix <nmasse-itix@noreply.gitea.io >
Co-committed-by: nmasse-itix <nmasse-itix@noreply.gitea.io >
2021-12-18 19:10:48 +08:00
justusbunsi
bfa68f6f58
Drop custom probes ( #248 )
...
As a replacement, the default probes are now fully configurable and used
as-is during Chart deployment.
Fixes : #189
⚠️ BREAKING ⚠️
---
Users have to remove the `custom` prefix from their probes, if customized.
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/248
Reviewed-by: luhahn <luhahn@noreply.gitea.io >
Reviewed-by: Andrew Thornton <art27@cantab.net >
Co-authored-by: justusbunsi <justusbunsi@noreply.gitea.io >
Co-committed-by: justusbunsi <justusbunsi@noreply.gitea.io >
2021-12-13 16:50:08 +08:00
luhahn
0461fa92a9
Rework app.ini generation ( #239 )
...
App ini is now generated by environment-to-ini
This should prevent some of the problems we had earlier with persisting the app.ini
Co-authored-by: Lucas Hahn <lucas.hahn@novum-rgi.de >
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/239
Reviewed-by: justusbunsi <justusbunsi@noreply.gitea.io >
Reviewed-by: Andrew Thornton <art27@cantab.net >
Co-authored-by: luhahn <luhahn@noreply.gitea.io >
Co-committed-by: luhahn <luhahn@noreply.gitea.io >
2021-11-20 05:15:45 +08:00
Markus Pesch
82763f109b
feat/markdownlint ( #200 )
...
Hi,
this patch contains a markdownlinter. I think this has the advantage that all users stick to the same format and the `README.md` follows a consistent structure.
The markdownlinter can be configured via the `.markdownlint.yaml` file. All possible options are [here](https://github.com/DavidAnson/markdownlint/blob/main/schema/.markdownlint.yaml ) documented.
I have created the initialie configuration. However, can be adapted to suggestions for change. Has of course the consequence that if necessary the `README.md` would have to be adapted. I have formatted this in advance according to the defined rules.
For users which use visual-code as IDE is additionally a plugin [available](https://marketplace.visualstudio.com/items?itemName=DavidAnson.vscode-markdownlint ).
Co-authored-by: Markus Pesch <markus.pesch@cryptic.systems >
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/200
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Reviewed-by: pat-s <pat-s@noreply.gitea.io >
Co-authored-by: Markus Pesch <volker.raschek@noreply.gitea.io >
Co-committed-by: Markus Pesch <volker.raschek@noreply.gitea.io >
2021-11-05 12:06:48 +08:00
techknowlogick
3fd34a9455
1.15.4 ( #230 )
...
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/230
Reviewed-by: justusbunsi <justusbunsi@noreply.gitea.io >
Reviewed-by: pat-s <pat-s@noreply.gitea.io >
Co-authored-by: techknowlogick <techknowlogick@gitea.io >
Co-committed-by: techknowlogick <techknowlogick@gitea.io >
2021-10-17 00:08:17 +08:00
luhahn
3273b245e7
Add multiple LDAP sources ( #222 )
...
Add multiple add sources.
Instead of a single entry for ldap configuration we now would have a dictionary for ldap config.
This would be a breaking change for those working with the ldap config.
fixes : #190
Co-authored-by: Lucas Hahn <lucas.hahn@novum-rgi.de >
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/222
Reviewed-by: Andrew Thornton <art27@cantab.net >
Reviewed-by: pat-s <pat-s@noreply.gitea.io >
Reviewed-by: justusbunsi <justusbunsi@noreply.gitea.io >
Co-authored-by: luhahn <luhahn@noreply.gitea.io >
Co-committed-by: luhahn <luhahn@noreply.gitea.io >
2021-10-08 20:16:24 +08:00
pat-s
b344673d11
Add dev instructions to README ( #228 )
...
FYI: My editor automatically changes two trailing whitespaces into a linebreak. I know it's not completely the same but maybe it can be accepted (would make things easier in the long run).
Co-authored-by: pat-s <patrick.schratz@gmail.com >
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/228
Reviewed-by: justusbunsi <justusbunsi@noreply.gitea.io >
Reviewed-by: techknowlogick <techknowlogick@gitea.io >
Co-authored-by: pat-s <pat-s@noreply.gitea.io >
Co-committed-by: pat-s <pat-s@noreply.gitea.io >
2021-09-28 03:52:37 +08:00
techknowlogick
5a7d168c2e
1.15.3 ( #225 )
...
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/225
Reviewed-by: pat-s <pat-s@noreply.gitea.io >
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: techknowlogick <techknowlogick@gitea.io >
Co-committed-by: techknowlogick <techknowlogick@gitea.io >
2021-09-26 08:44:59 +08:00
techknowlogick
9a220c2ddd
1.15.0 ( #218 )
...
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/218
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Reviewed-by: luhahn <luhahn@noreply.gitea.io >
Co-authored-by: techknowlogick <techknowlogick@gitea.io >
Co-committed-by: techknowlogick <techknowlogick@gitea.io >
2021-09-12 06:40:47 +08:00
wkit23
ce3e9babec
Add support for ingressClassName ( #217 )
...
Hi,
I just add some minor changes to support specifying ingressClassName to support the newer specification in `networking.k8s.io/v1`. The annotation `kubernetes.io/ingress.class: nginx` only works with older API `networking.k8s.io/v1beta1`.
This is part of our move to support kubernetes 1.22.
Co-authored-by: Leong Wai Kit <waikit.leong@bertelsmann.de >
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/217
Reviewed-by: luhahn <luhahn@noreply.gitea.io >
Reviewed-by: techknowlogick <techknowlogick@gitea.io >
Co-authored-by: wkit23 <wkit23@noreply.gitea.io >
Co-committed-by: wkit23 <wkit23@noreply.gitea.io >
2021-09-02 10:53:48 +08:00
Michael Kriese
4ef9a3ec35
fix: Only create conf directoy if not exists ( #211 )
...
Only create conf directory if not yet exists
fixes #210
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/211
Reviewed-by: luhahn <luhahn@noreply.gitea.io >
Reviewed-by: justusbunsi <justusbunsi@noreply.gitea.io >
Co-authored-by: Michael Kriese <michael.kriese@visualon.de >
Co-committed-by: Michael Kriese <michael.kriese@visualon.de >
2021-08-15 20:43:51 +08:00
techknowlogick
ba0e8b18b5
1.14.6 ( #212 )
...
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/212
Reviewed-by: justusbunsi <justusbunsi@noreply.gitea.io >
Co-authored-by: techknowlogick <techknowlogick@gitea.io >
Co-committed-by: techknowlogick <techknowlogick@gitea.io >
2021-08-13 04:14:49 +08:00
skriesch
9e7387f0f8
Fix for #203 possible existingClaim at persistence with namespace variable in the name ( #204 )
...
Fix for #203
Co-authored-by: techknowlogick <techknowlogick@gitea.io >
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/204
Reviewed-by: luhahn <luhahn@noreply.gitea.io >
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: skriesch <skriesch@noreply.gitea.io >
Co-committed-by: skriesch <skriesch@noreply.gitea.io >
2021-07-17 10:47:41 +08:00
luhahn
6342a4dabd
Document breaking changes ( #202 )
...
Documented some breaking changes. Please have a look and tell me, if I missed something :)
Fixes : #194
Co-authored-by: Lucas Hahn <lucas.hahn@novum-rgi.de >
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/202
Reviewed-by: justusbunsi <justusbunsi@noreply.gitea.io >
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: luhahn <luhahn@noreply.gitea.io >
Co-committed-by: luhahn <luhahn@noreply.gitea.io >
2021-07-13 01:33:38 +08:00
justusbunsi
7de326d931
Drop kebab-case configuration notation ( #196 )
...
Currently there are two different styles for defining both ldap and oauth configuration in _values.yaml_ file: `camelCase` and `kebab-case`.
Supporting both styles created multiple regressions in the past.
⚠️ BREAKING ⚠️
---------------
These changes completely remove any support for `kebab-case` notation in _values.yaml_ in favor of `camelCase`. Configuration keys must use `camelCase`.
Only exception are Kubernetes resource keys for annotations or labels.
Fixes : #188
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/196
Reviewed-by: luhahn <luhahn@noreply.gitea.io >
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: justusbunsi <justusbunsi@noreply.gitea.io >
Co-committed-by: justusbunsi <justusbunsi@noreply.gitea.io >
2021-07-06 13:28:13 +08:00
Markus Pesch
767a073a0a
SSH not working due missing security capability in CRI-O environment ( #176 )
...
This patch add the SYS_CHROOT capability if the securityContext is
undefined. Otherwise the SSH Server does not work correctly as described
in the issue #161 .
Fixes : #161
Co-authored-by: Markus Pesch <markus.pesch@cryptic.systems >
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/176
Reviewed-by: techknowlogick <techknowlogick@gitea.io >
Reviewed-by: justusbunsi <justusbunsi@noreply.gitea.io >
Reviewed-by: luhahn <luhahn@noreply.gitea.io >
Co-authored-by: Markus Pesch <volker.raschek@noreply.gitea.io >
Co-committed-by: Markus Pesch <volker.raschek@noreply.gitea.io >
2021-07-01 23:02:56 +08:00
justusbunsi
b7dbb22025
Upgrade Gitea to 1.14.3 ( #197 )
...
Fixes : #195
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/197
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Reviewed-by: luhahn <luhahn@noreply.gitea.io >
Co-authored-by: justusbunsi <justusbunsi@noreply.gitea.io >
Co-committed-by: justusbunsi <justusbunsi@noreply.gitea.io >
2021-06-30 23:25:56 +08:00
justusbunsi
9059229acb
Rewrite init script ( #178 )
...
These changes rewrite the init script to be error aware, informative and have a bit more security awareness.
During rewrite several hidden bugs could be identified and fixed, such as:
- LDAP configuration options interpreted by the shell before passed to command
- Finding multiple ldap ids instead of one during lookup when their names are almost identical
e.g. `_my-ldap-auth` and `my-ldap-auth`
- Properly filter auth sources by their types to prevent unintended type converting attempts that fail
In addition to that the script is a bit cleaner. Some commands do not exist anymore and would cause false-positive errors during script execution.
Helps for: #149
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/178
Reviewed-by: luhahn <luhahn@noreply.gitea.io >
Reviewed-by: techknowlogick <techknowlogick@gitea.io >
Co-authored-by: justusbunsi <justusbunsi@noreply.gitea.io >
Co-committed-by: justusbunsi <justusbunsi@noreply.gitea.io >
2021-06-30 04:09:16 +08:00
justusbunsi
6a6eb35106
Fix regression for unspecified DOMAIN and ROOT_URL ( #185 )
...
In case a user did not specify DOMAIN in .Values.gitea.config.server,
the chart generated incorrect value for that app.ini setting so that
Gitea crashed on startup.
Same for ROOT_URL.
Co-authored-by: techknowlogick <techknowlogick@gitea.io >
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/185
Reviewed-by: luhahn <luhahn@noreply.gitea.io >
Reviewed-by: techknowlogick <techknowlogick@gitea.io >
Co-authored-by: justusbunsi <justusbunsi@noreply.gitea.io >
Co-committed-by: justusbunsi <justusbunsi@noreply.gitea.io >
2021-06-30 03:24:44 +08:00
justusbunsi
7a3515c2f2
Customizable .gnupg folder location ( #186 )
...
The `HOME` path is not persistent when using the rootless image, so the
`.gnupg` folder isn't either. Since the chart always used `/data/...` as
mount point for storage of all kinds, it is a minimal impact to just
relocate the dynamic `$HOME/.gnupg` folder location to the persistent
`/data/git/.gnupg`. This is where the signing keys are stored when
running root based environments. Doing so will
- allow migrations between both image variants
- persist signing keys for rootless environments
Fixes : #155
Co-authored-by: techknowlogick <techknowlogick@gitea.io >
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/186
Reviewed-by: luhahn <luhahn@noreply.gitea.io >
Reviewed-by: techknowlogick <techknowlogick@gitea.io >
Co-authored-by: justusbunsi <justusbunsi@noreply.gitea.io >
Co-committed-by: justusbunsi <justusbunsi@noreply.gitea.io >
2021-06-30 03:23:32 +08:00
justusbunsi
2901671d23
Update maintainers ( #192 )
...
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/192
Reviewed-by: techknowlogick <techknowlogick@gitea.io >
Co-authored-by: justusbunsi <justusbunsi@noreply.gitea.io >
Co-committed-by: justusbunsi <justusbunsi@noreply.gitea.io >
2021-06-30 03:22:46 +08:00
mattkaar
0e191bfc7a
Support custom Ingress path ( #151 )
...
Adds support for a custom Ingress path. This allows us to run Gitea as a path in an existing domain.
Co-authored-by: Matt Kaar <mkaar@cert.org >
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/151
Reviewed-by: luhahn <luhahn@noreply.gitea.io >
Reviewed-by: justusbunsi <justusbunsi@noreply.gitea.io >
Co-authored-by: mattkaar <mattkaar@noreply.gitea.io >
Co-committed-by: mattkaar <mattkaar@noreply.gitea.io >
2021-06-25 02:28:45 +08:00
justusbunsi
d6eb50ca35
Fix admin + ldap configuration ( #183 )
...
This fixes several flaws introduced by commits for #169 (see c49dc047a4 ).
- Respect kebab-case ldap bind inline definition
- Prevent camelCase ldap bind inline definition from being overridden by empty string
- Create admin account when `existingSecret` is used
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/183
Reviewed-by: Andrew Thornton <art27@cantab.net >
Reviewed-by: luhahn <luhahn@noreply.gitea.io >
Co-authored-by: justusbunsi <justusbunsi@noreply.gitea.io >
Co-committed-by: justusbunsi <justusbunsi@noreply.gitea.io >
2021-06-21 21:28:18 +08:00
justusbunsi
f0ed41de9e
Fix minor README flaws ( #184 )
...
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/184
Reviewed-by: luhahn <luhahn@noreply.gitea.io >
Reviewed-by: techknowlogick <techknowlogick@gitea.io >
Co-authored-by: justusbunsi <justusbunsi@noreply.gitea.io >
Co-committed-by: justusbunsi <justusbunsi@noreply.gitea.io >
2021-06-20 03:35:21 +08:00
luhahn
f344b4559d
Upgrade Gitea dependencies ( #141 )
...
- postgresql 9.7.2 to 10.3.17
- mariadb 8.0.0 to 9.3.6
- memcached 4.2.20 to 5.9.0
Tested on my clusters.
Co-authored-by: Lucas Hahn <lucas.hahn@novum-rgi.de >
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: techknowlogick <techknowlogick@gitea.io >
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/141
Reviewed-by: Andrew Thornton <art27@cantab.net >
Reviewed-by: techknowlogick <techknowlogick@gitea.io >
Co-authored-by: luhahn <luhahn@noreply.gitea.io >
Co-committed-by: luhahn <luhahn@noreply.gitea.io >
2021-06-16 05:09:02 +08:00
luhahn
e3b03cd61a
Fix LDAP Ppassword env variable ( #182 )
...
Fixes : #179
Co-authored-by: Lucas Hahn <lucas.hahn@novum-rgi.de >
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/182
Reviewed-by: Andrew Thornton <art27@cantab.net >
Reviewed-by: techknowlogick <techknowlogick@gitea.io >
Co-authored-by: luhahn <luhahn@noreply.gitea.io >
Co-committed-by: luhahn <luhahn@noreply.gitea.io >
2021-06-16 05:07:59 +08:00
luhahn
c49dc047a4
Allow existing secrets for passwords ( #170 )
...
Allow admin user and password to be configured via existing secrets
Allow LDAP bindDn and bindPassword to be configured via existing secrets
Update Readme
Fixes : #169
Co-authored-by: Lucas Hahn <lucas.hahn@novum-rgi.de >
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/170
Reviewed-by: techknowlogick <techknowlogick@gitea.io >
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: luhahn <luhahn@noreply.gitea.io >
Co-committed-by: luhahn <luhahn@noreply.gitea.io >
2021-06-10 19:13:33 +08:00
justusbunsi
6e841e6e26
Fix regression for creating repositories in root-based containers ( #172 )
...
Due to #160 it was no longer possible to create repositories in root-based containers. This was caused by the missing `/tmp/gitea` directory in that image. It was dynamically created by Gitea internal functionality with less privileges than necessary.
Explicitly creating the directory and set proper permissions fix this.
Fixes : #171
Co-authored-by: JustusBunsi <sk.bunsenbrenner@gmail.com >
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/172
Reviewed-by: luhahn <luhahn@noreply.gitea.io >
Reviewed-by: 6543 <6543@obermui.de >
Co-authored-by: justusbunsi <justusbunsi@noreply.gitea.io >
Co-committed-by: justusbunsi <justusbunsi@noreply.gitea.io >
2021-06-09 22:35:50 +08:00
luhahn
f0070ef64b
Add check on chown in init container ( #165 )
...
The chown in the init container will fail in the rootles image.
Checking if the image is rootless or not will prevent this error noise.
Co-authored-by: Lucas Hahn <lucas.hahn@novum-rgi.de >
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/165
Reviewed-by: Andrew Thornton <art27@cantab.net >
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: luhahn <luhahn@noreply.gitea.io >
Co-committed-by: luhahn <luhahn@noreply.gitea.io >
2021-06-09 19:42:49 +08:00
techknowlogick
6b8b64f607
use new s3 bucket for artifacts
2021-06-08 02:05:07 +08:00
techknowlogick
6fa80222a6
update to latest v of alpine
2021-06-08 02:02:59 +08:00
techknowlogick
031b58c90e
update docs for 1.14.2
...
Signed-off-by: techknowlogick <techknowlogick@gitea.io >
2021-06-08 01:55:05 +08:00
luhahn
178bc0ab79
Improve http service and update Readme ( #167 )
...
This PR adds some options for the http service:
- loadBalancerIP
- nodePort
- externalTrafficPolicy
- externalIPs
Also updated the README and values.yml with the values.
Added storageClass explanation in README and empty value in values.yml
Fixes : #162
Co-authored-by: Lucas Hahn <lucas.hahn@novum-rgi.de >
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/167
Reviewed-by: techknowlogick <techknowlogick@gitea.io >
Reviewed-by: 6543 <6543@obermui.de >
Co-authored-by: luhahn <luhahn@noreply.gitea.io >
Co-committed-by: luhahn <luhahn@noreply.gitea.io >
2021-06-08 01:53:01 +08:00
modzilla
441f0748e9
Fixing prometheus monitoring ( #157 )
...
At least the latest versions of prometheus watch for a label called "release" and not "prometheus" so with that change prometheus started collecting logs.
If that old label is still needed, we / I could change it to add entries from "additionalLabels", so that we are quite flexible and don't have breaking changes.
Co-authored-by: Justin Lamp <jlamp@vater-gruppe.de >
Co-authored-by: techknowlogick <techknowlogick@gitea.io >
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/157
Reviewed-by: luhahn <luhahn@noreply.gitea.io >
Reviewed-by: techknowlogick <techknowlogick@gitea.io >
Co-authored-by: modzilla <modzilla@noreply.gitea.io >
Co-committed-by: modzilla <modzilla@noreply.gitea.io >
2021-06-07 22:28:28 +08:00
justusbunsi
5ab596937a
Fix rootless image usage with enhanced security-context ( #160 )
...
I've noticed that the commented `securityContext` is not really useable with the rootless image due to different directory structure compared to the default image.
Important for the `readOnlyRootFilesystem` is to declare the `TMPDIR` environment variable, so that the tmp directory (which is readonly in this case) won't be used. Instead, another writeable directory can be used.
Another thing is the explicit hint that all these security options cannot be used with the default (root-based) image, because of its design.
~~Although this PR would fix the referenced issue, I am not totally happy with the current implementation. It would be more straight forward to use the same mount points for both image variants. Unfortunately, this is not possible right now due to hard coded paths in the default (root) image startup scripts.~~
~~Anyone have suggestions on how this could be more simple?~~
-------
**Sum-up:**
As mentioned in Discord, this PR tried to make too many changes. The necessary changes made in 1f331a7e6577fc798196a84a957330aca0d663cd will fix an error that occurs due to restricted access to the `/tmp` directory in a rootless image with all the `securityContext` options enabled.
I also updated the default image to 1.14.2.
Fixes : #158
Co-authored-by: JustusBunsi <sk.bunsenbrenner@gmail.com >
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/160
Reviewed-by: luhahn <luhahn@noreply.gitea.io >
Reviewed-by: 6543 <6543@obermui.de >
Co-authored-by: justusbunsi <justusbunsi@noreply.gitea.io >
Co-committed-by: justusbunsi <justusbunsi@noreply.gitea.io >
2021-06-07 21:27:25 +08:00
mrdima
5b5ea7173a
Add value option to define schedulerName ( #150 )
...
For those who have a need to configure the schedulerName like us, make this an option just as it is for example in the postgres chart
Co-authored-by: Dimitri Ars <dimitri.ars@kpn.com >
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/150
Reviewed-by: luhahn <luhahn@noreply.gitea.io >
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: mrdima <mrdima@noreply.gitea.io >
Co-committed-by: mrdima <mrdima@noreply.gitea.io >
2021-06-07 16:41:16 +08:00
luhahn
b88bbd6d4d
gitea-1.14.x-updates ( #148 )
...
This PR includes the changes from:
- https://gitea.com/gitea/helm-chart/pulls/129
- https://gitea.com/gitea/helm-chart/pulls/140
In addition it adds the possibility to include secrets via environment variables as mentioned in #60
Co-authored-by: Hans Kristian Flaatten <hans.flaatten@evry.com >
Co-authored-by: flavio.prado <flavio.prado@noreply.gitea.io >
Co-authored-by: Lucas Hahn <lucas.hahn@novum-rgi.de >
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/148
Reviewed-by: techknowlogick <techknowlogick@gitea.io >
Reviewed-by: Andrew Thornton <art27@cantab.net >
Co-authored-by: luhahn <luhahn@noreply.gitea.io >
Co-committed-by: luhahn <luhahn@noreply.gitea.io >
2021-04-29 17:12:48 +08:00
luhahn
2b01e6ece6
Fix permissions on external mounts ( #144 )
...
Co-authored-by: luhahn <lucas.hahn@novum-rgi.de >
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/144
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Reviewed-by: Andrew Thornton <art27@cantab.net >
Co-authored-by: luhahn <luhahn@noreply.gitea.io >
Co-committed-by: luhahn <luhahn@noreply.gitea.io >
2021-04-19 20:30:02 +08:00
techknowlogick
c742b5dbc3
1.13.7 ( #139 )
...
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/139
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Reviewed-by: luhahn <luhahn@noreply.gitea.io >
Co-authored-by: techknowlogick <techknowlogick@gitea.io >
Co-committed-by: techknowlogick <techknowlogick@gitea.io >
2021-04-12 15:58:17 +08:00
luhahn
ec8a26ecfc
Update Gitea version to 1.13.5 ( #134 )
...
Co-authored-by: luhahn <lucas.hahn@novum-rgi.de >
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/134
Reviewed-by: Andrew Thornton <art27@cantab.net >
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: luhahn <luhahn@noreply.gitea.io >
Co-committed-by: luhahn <luhahn@noreply.gitea.io >
2021-03-22 21:01:33 +08:00
kaipmdh
8d8dd0d84e
Update README.md for typo fixes and grammar ( #131 )
...
Minor changes to grammar, minor typo fixes.
Signed-off-by: kaipmdh <kaipmdh@noreply.gitea.io >
Co-authored-by: lafriks <lafriks@noreply.gitea.io >
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/131
Reviewed-by: luhahn <luhahn@noreply.gitea.io >
Reviewed-by: lafriks <lafriks@noreply.gitea.io >
Co-authored-by: kaipmdh <kaipmdh@noreply.gitea.io >
Co-committed-by: kaipmdh <kaipmdh@noreply.gitea.io >
2021-03-17 08:09:44 +08:00
Nakrez
0f1e991889
Add possibiliy to define statefulset labels ( #130 )
...
This change adds a new value *statefulset.labels* to allow the user to add custom labels to the StatefulSet.
An example of where this could be useful is if gitea's pvc is stored on OpenEBS. With this new option, the user can add the extra *openebs.io/sts-target-affinity* label to specify that the volume target pod should run on the same node as gitea's StatefulSet.
Co-authored-by: Baptiste Covolato <b.covolato@gmail.com >
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/130
Reviewed-by: luhahn <luhahn@noreply.gitea.io >
Reviewed-by: lafriks <lafriks@noreply.gitea.io >
Co-authored-by: Nakrez <nakrez@noreply.gitea.io >
Co-committed-by: Nakrez <nakrez@noreply.gitea.io >
2021-03-17 08:07:42 +08:00
Nakrez
1eb0eee3bc
Make the chart work with a sqlite3 database ( #124 )
...
There are currently 2 issues that prevent using this chart to deploy gitea with a SQLite3 database.
1) The value from *gitea.config.database.HOST* is used to set *db.servicename* when all the databases under *gitea.database.buildIn* are not enabled. This causes a type error during the template processing:
`Error: UPGRADE FAILED: template: gitea/templates/gitea/init.yaml:24:20: executing "gitea/templates/gitea/init.yaml" at <include "db.servicename" .>: error calling include: template: gitea/templates/_helpers.tpl:64:31: executing "db.servicename" at <.Values.gitea.config.database.HOST>: wrong type for value; expected string; got interface {}`
2) In *init_gitea.sh*, we use the value *db.servicename* and *db.port* to ping the database. If this database responds to ping, we proceed with the init. The problem here is that *db.port* is not set when all the databases under *gitea.database.buildIn* are disabled. In turn, this raises an error from busybox's *nc*, because no parameter is passed for *PORT*. This causes the init container to go in *CrashLoopBackOff* forever.
The simple fix that is proposed in this PR is to check wether or not *.Values.gitea.config.database.DB_TYPE* is set to determine the value *db.servicename*. If *DB_TYPE* is *'sqlite3'*, leave *db.servicename* empty and use that to bypass the database ping.
Co-authored-by: Baptiste Covolato <b.covolato@gmail.com >
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/124
Reviewed-by: Andrew Thornton <art27@cantab.net >
Reviewed-by: lafriks <lafriks@noreply.gitea.io >
Reviewed-by: luhahn <luhahn@noreply.gitea.io >
Co-authored-by: Nakrez <nakrez@noreply.gitea.io >
Co-committed-by: Nakrez <nakrez@noreply.gitea.io >
2021-03-04 16:43:52 +08:00
luhahn
9106d68cdc
Fix ServiceMonitor selector labels ( #125 )
...
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/125
Reviewed-by: Andrew Thornton <art27@cantab.net >
Reviewed-by: lafriks <lafriks@noreply.gitea.io >
Co-authored-by: luhahn <luhahn@noreply.gitea.io >
Co-committed-by: luhahn <luhahn@noreply.gitea.io >
2021-03-02 17:10:38 +08:00
Michael Kriese
551f4e312e
Allow override kubernetes probes ( #117 )
...
- Allow overriding liveness and readiness probe
- Add optional startup probe
closes #118
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/117
Reviewed-by: luhahn <luhahn@noreply.gitea.io >
Reviewed-by: lafriks <lafriks@noreply.gitea.io >
Co-authored-by: Michael Kriese <michael.kriese@visualon.de >
Co-committed-by: Michael Kriese <michael.kriese@visualon.de >
2021-03-01 22:46:05 +08:00
Dunky13
d1c58a2e77
OAuth2 configuration options ( #123 )
...
I opened up the OAuth2 authentication option. I needed this feature, and it is available in the gitea cli. So I opened it up for configuration through this pull request.
Hope it can help others.
Co-authored-by: Marc Went <marc.went+git@redkubes.com >
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/123
Reviewed-by: luhahn <luhahn@noreply.gitea.io >
Reviewed-by: lafriks <lafriks@noreply.gitea.io >
Co-authored-by: Dunky13 <dunky13@noreply.gitea.io >
Co-committed-by: Dunky13 <dunky13@noreply.gitea.io >
2021-03-01 20:24:11 +08:00
Starefossen
9213f0d1f5
Add app and version labels ( #121 )
...
This pull request adds the `app` and `version` labels that are used by Istio.
> Pods with app and version labels: We recommend adding an explicit app label and version label to the specification of the pods deployed using a Kubernetes Deployment. The app and version labels add contextual information to the metrics and telemetry that Istio collects.
>
> * The app label: Each deployment should have a distinct app label with a meaningful value. The app label is used to add contextual information in distributed tracing.
>
> * The version label: This label indicates the version of the application corresponding to the particular deployment.
From https://istio.io/latest/docs/ops/deployment/requirements/#pod-requirements
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/121
Reviewed-by: luhahn <luhahn@noreply.gitea.io >
Reviewed-by: lafriks <lafriks@noreply.gitea.io >
Co-authored-by: Starefossen <starefossen@noreply.gitea.io >
Co-committed-by: Starefossen <starefossen@noreply.gitea.io >
2021-03-01 20:20:55 +08:00
Starefossen
7ed82c7a63
Add ServiceMonitor Prometheus selector label ( #116 )
...
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/116
Reviewed-by: luhahn <luhahn@noreply.gitea.io >
Reviewed-by: lafriks <lafriks@noreply.gitea.io >
Co-authored-by: Starefossen <starefossen@noreply.gitea.io >
Co-committed-by: Starefossen <starefossen@noreply.gitea.io >
2021-03-01 20:18:09 +08:00
martencassel
33903d8f6c
Add support to run gitea with an optional securityContext ( #115 )
...
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/115
Reviewed-by: luhahn <luhahn@noreply.gitea.io >
Reviewed-by: lafriks <lafriks@noreply.gitea.io >
Co-authored-by: martencassel <martencassel@noreply.gitea.io >
Co-committed-by: martencassel <martencassel@noreply.gitea.io >
2021-03-01 20:16:49 +08:00
viceice
4682597b04
fix: quote admin password ( #111 )
...
closes #110
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/111
Reviewed-by: luhahn <luhahn@noreply.gitea.io >
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: viceice <viceice@noreply.gitea.io >
Co-committed-by: viceice <viceice@noreply.gitea.io >
2021-02-17 17:45:18 +08:00
JosefWN
790d0405c2
Fix typo enabling pprof ( #114 )
...
Nothing critical, but had a typo in the naming of the config entry to enable `pprof`.
Co-authored-by: josef <josef.nilsen@outlook.com >
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/114
Reviewed-by: luhahn <luhahn@noreply.gitea.io >
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: JosefWN <josefwn@noreply.gitea.io >
Co-committed-by: JosefWN <josefwn@noreply.gitea.io >
2021-02-17 17:44:40 +08:00
JPRbrs
28e94f96e3
Add loadbalancersourceranges to ssh service ( #105 )
...
SSH service might want to limit the a range of source IPs. LoadBalancerSourceRanges
enables to limit them just passing a list of CIDR addresses to whitelist
Co-authored-by: javier <perezrubio.javier@gmail.com >
Co-authored-by: techknowlogick <techknowlogick@gitea.io >
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/105
Reviewed-by: luhahn <luhahn@noreply.gitea.io >
Reviewed-by: techknowlogick <techknowlogick@gitea.io >
Co-authored-by: JPRbrs <jprbrs@noreply.gitea.io >
Co-committed-by: JPRbrs <jprbrs@noreply.gitea.io >
2021-02-05 04:42:42 +08:00
techknowlogick
b5ab7201d1
1.13.2 ( #108 )
...
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/108
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Reviewed-by: luhahn <luhahn@noreply.gitea.io >
Co-authored-by: techknowlogick <techknowlogick@gitea.io >
Co-committed-by: techknowlogick <techknowlogick@gitea.io >
2021-02-05 01:46:55 +08:00
sanigo
4ad5cf1d19
Add sshPublicKeyAttribute attribute setting for ldap auth,and Allow setting labels and annotations for gitea pvc. ( #76 )
...
1. sshPublicKeyAttribute is useful to sync ssh public keys from ldap.
2. It would be easier to set pvc annotations/labels for those who are using storage services from cloud providers.
Co-authored-by: 钱卫春 <qianwch@chinasofti.com >
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/76
Reviewed-by: techknowlogick <techknowlogick@gitea.io >
Reviewed-by: luhahn <luhahn@noreply.gitea.io >
Co-authored-by: sanigo <sanigo@noreply.gitea.io >
Co-committed-by: sanigo <sanigo@noreply.gitea.io >
2021-01-22 16:24:37 +08:00
JosefWN
7f828e87f6
Add support for metrics and pprof ( #100 )
...
Adds support for toggling support for `pprof` and metrics:
```yaml
gitea:
pprofEnabled: true
metrics:
enabled: true
serviceMonitor:
enabled: true
```
Co-authored-by: josef <josef.nilsen@outlook.com >
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/100
Reviewed-by: luhahn <luhahn@noreply.gitea.io >
Reviewed-by: techknowlogick <techknowlogick@gitea.io >
Co-authored-by: JosefWN <josefwn@noreply.gitea.io >
Co-committed-by: JosefWN <josefwn@noreply.gitea.io >
2021-01-21 23:45:26 +08:00
petergardfjall
57479bdf37
enhancements to support postgres client-cert authentication ( #47 )
...
This PR adds a few new chart features which adds to the flexibility of the chart.
- allow extra volumes to be mounted (such as secrets): 2f862c5a48
- pass environment variables also to the init-container: 7044049478
- allow a preparation script to be "injected" into the init-container: 6125a69345
As a concrete example of how this can be used, I use is to configure Gitea to use client certificate authentication against an external Postgres database. That could be accomplished by having a `gitea-postgres-ssl` secret:
```
apiVersion: v1
kind: Secret
type: Opaque
metadata:
name: gitea-postgres-ssl
data:
postgresql.crt: <base64...>
postgresql.key: <base64...>
root.crt: <base64...>
```
and then mounting this as a volume in Gitea using:
```
extraVolumes:
- name: postgres-ssl-vol
secret:
secretName: gitea-postgres-ssl
extraVolumeMounts:
- name: postgres-ssl-vol
readOnly: true
mountPath: "/pg-ssl"
```
To get the right permissions on the credentials, we'd use the `initPreScript`:
```
initPreScript: |
# copy postgres client and CA cert from mount and
# give proper permissions
mkdir -p /data/git/.postgresql
cp /pg-ssl/* /data/git/.postgresql/
chown -R git:git /data/git/.postgresql/
chmod 400 /data/git/.postgresql/postgresql.key
```
and to make sure that Gitea uses the certificate we need to pass the proper postgres environment variables (both to the init container and the "main" container):
```
statefulset:
env:
- name: "PGSSLCERT"
value: "/data/git/.postgresql/postgresql.crt"
- name: "PGSSLKEY"
value: "/data/git/.postgresql/postgresql.key"
- name: "PGSSLROOTCERT"
value: "/data/git/.postgresql/root.crt"
```
Co-authored-by: Peter Gardfjäll <peter.gardfjall.work@gmail.com >
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/47
Reviewed-by: luhahn <luhahn@noreply.gitea.io >
Reviewed-by: 6543 <6543@obermui.de >
Co-authored-by: petergardfjall <petergardfjall@noreply.gitea.io >
Co-committed-by: petergardfjall <petergardfjall@noreply.gitea.io >
2021-01-20 19:28:39 +08:00
luhahn
0c8f226f1f
Add ldap checksum ( #101 )
...
Fixed an error in ldap port setting.
Added ldap checksum to deployment so chart will actually update on ldap changes.
Fixes : #99
Co-authored-by: Lucas Hahn <lucas.hahn@novum-rgi.de >
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/101
Reviewed-by: lafriks <lafriks@noreply.gitea.io >
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: luhahn <luhahn@noreply.gitea.io >
Co-committed-by: luhahn <luhahn@noreply.gitea.io >
2021-01-14 15:13:49 +08:00
fabioluciano
daba777e24
Update 'README.md' ( #102 )
...
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/102
Reviewed-by: luhahn <luhahn@noreply.gitea.io >
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: fabioluciano <fabioluciano@noreply.gitea.io >
Co-committed-by: fabioluciano <fabioluciano@noreply.gitea.io >
2021-01-13 23:49:58 +08:00
techknowlogick
54cc78b43a
1.13.1 ( #97 )
...
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/97
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: techknowlogick <techknowlogick@gitea.io >
Co-committed-by: techknowlogick <techknowlogick@gitea.io >
2021-01-02 13:07:11 +08:00
luhahn
94ee162ad5
Fix kebab-case bug in values ( #89 )
...
Kebab case will fail because of the current ldap default values in values.yml as stated in #88
Co-authored-by: Lucas Hahn <lucas.hahn@novum-rgi.de >
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/89
Reviewed-by: lafriks <lafriks@noreply.gitea.io >
Reviewed-by: techknowlogick <techknowlogick@gitea.io >
Co-authored-by: luhahn <luhahn@noreply.gitea.io >
Co-committed-by: luhahn <luhahn@noreply.gitea.io >
2020-12-28 03:26:51 +08:00
lafriks
9b2e76c9cf
Move chart version to drone build using tag ( #93 )
...
Move chart version to drone build using tag
Merge branch 'master' into feat/chart_version
Co-authored-by: Lauris BH <lauris@nix.lv >
Co-authored-by: techknowlogick <techknowlogick@gitea.io >
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/93
Reviewed-by: luhahn <luhahn@noreply.gitea.io >
Reviewed-by: techknowlogick <techknowlogick@gitea.io >
Co-Authored-By: lafriks <lafriks@noreply.gitea.io >
Co-Committed-By: lafriks <lafriks@noreply.gitea.io >
2020-12-21 10:05:42 +08:00
lafriks
2c066d7c9e
Use image tag instead of image version in values ( #91 )
...
Use image tag instead of image version in values
Change to tenary function instead of if
Update description and add link to tag list
Fixup readme
Co-authored-by: Lauris BH <lauris@nix.lv >
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/91
Reviewed-by: luhahn <luhahn@noreply.gitea.io >
Reviewed-by: techknowlogick <techknowlogick@gitea.io >
Co-Authored-By: lafriks <lafriks@noreply.gitea.io >
Co-Committed-By: lafriks <lafriks@noreply.gitea.io >
2020-12-21 06:53:45 +08:00
luhahn
2826258cfc
Several Improvements to Helm Chart ( #87 )
...
Improve ldap settings with helper function
Allow clusterIP for http service to be set, default to None
Use imagePullSecrets in statefulset now
Update default values
Update README
Bump Chart version
Co-authored-by: luhahn <lucas.hahn@novum-rgi.de >
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/87
Reviewed-by: lafriks <lafriks@noreply.gitea.io >
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-Authored-By: luhahn <luhahn@noreply.gitea.io >
Co-Committed-By: luhahn <luhahn@noreply.gitea.io >
2020-12-16 20:37:47 +08:00
luhahn
943eda6d5f
Fix Ingress for Kubernetes 1.16 ( #83 )
...
Fix ingress path type for 1.16
Bump chart version
Co-authored-by: Lucas Hahn <lucas.hahn@novum-rgi.de >
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/83
Reviewed-by: 6543 <6543@obermui.de >
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-Authored-By: luhahn <luhahn@noreply.gitea.io >
Co-Committed-By: luhahn <luhahn@noreply.gitea.io >
2020-12-15 21:34:46 +08:00
luhahn
5311243a6e
Fix admin user creation for gitea 1.13.0, chart version 2.1.0 ( #80 )
...
Fix admin user creation for gitea 1.13.0
Add load balancer hint for ssh in README
Merge branch 'master' into fix-admin-user-creation
Co-authored-by: Lucas Hahn <lucas.hahn@novum-rgi.de >
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/80
Reviewed-by: Andrew Thornton <art27@cantab.net >
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-Authored-By: luhahn <luhahn@noreply.gitea.io >
Co-Committed-By: luhahn <luhahn@noreply.gitea.io >
2020-12-10 17:16:13 +08:00
skuethe
1b21ce2810
Fix capabilities query for Ingress on 1.18 and older ( #78 )
...
Co-authored-by: Sebastian Kuethe <sebastian.kuethe@she.net >
Co-authored-by: techknowlogick <techknowlogick@gitea.io >
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/78
Reviewed-by: luhahn <luhahn@noreply.gitea.io >
Reviewed-by: lafriks <lafriks@noreply.gitea.io >
Co-Authored-By: skuethe <skuethe@noreply.gitea.io >
Co-Committed-By: skuethe <skuethe@noreply.gitea.io >
2020-12-08 20:57:52 +08:00
techknowlogick
4fdf4ef41b
Gitea 1.13.0 ( #75 )
...
Gitea 1.13.0
Update 'README.md'
Update 'values.yaml'
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/75
Reviewed-by: lafriks <lafriks@noreply.gitea.io >
Co-Authored-By: techknowlogick <techknowlogick@gitea.io >
Co-Committed-By: techknowlogick <techknowlogick@gitea.io >
2020-12-07 07:54:10 +08:00
luhahn
63bc10e393
Fix Ingress ( #70 )
...
Bump chart version to 2.0.7
Fix Ingress
- Ingress uses now .Capabilities.APIVersions.Has to compare the api version available
- Added pathType since it is required in v1 and optional in v1beta1
Co-authored-by: Lucas Hahn <lucas.hahn@novum-rgi.de >
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/70
Reviewed-by: Andrew Thornton <art27@cantab.net >
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-Authored-By: luhahn <luhahn@noreply.gitea.io >
Co-Committed-By: luhahn <luhahn@noreply.gitea.io >
2020-11-26 17:01:16 +08:00
techknowlogick
fea1abddd9
2.0.6
2020-11-26 10:10:41 +08:00
joelgallant
33ee018b52
Fixes access of Capabilities variable ( #67 )
...
Fixes access of Capabilities variable
Co-authored-by: Joel Gallant <joel@joelgallant.me >
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/67
Reviewed-by: techknowlogick <techknowlogick@gitea.io >
Reviewed-by: luhahn <luhahn@noreply.gitea.io >
Co-Authored-By: joelgallant <joelgallant@noreply.gitea.io >
Co-Committed-By: joelgallant <joelgallant@noreply.gitea.io >
2020-11-26 01:20:12 +08:00
techknowlogick
13e210c75f
2.0.5
2020-11-25 23:29:59 +08:00
joelgallant
a26b4e10d1
Fixes networking.k8s.io/v1 Ingress fields ( #65 )
...
Fixes ingress by using new {service: {name, port}} structure
Co-authored-by: Joel Gallant <joel@joelgallant.me >
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/65
Reviewed-by: luhahn <luhahn@noreply.gitea.io >
Reviewed-by: techknowlogick <techknowlogick@gitea.io >
Co-Authored-By: joelgallant <joelgallant@noreply.gitea.io >
Co-Committed-By: joelgallant <joelgallant@noreply.gitea.io >
2020-11-25 23:28:53 +08:00
techknowlogick
76aee7b25b
2.0.4
2020-11-25 06:56:12 +08:00
joelgallant
bf1f5601be
Use apiVersion v1 for Ingress in 1.19+ ( #63 )
...
Use apiVersion v1 for Ingress in 1.19+
Currently, a warning is shown in newer versions of kubernetes:
```
W1120 10:04:16.194312 8003 warnings.go:67] networking.k8s.io/v1beta1 Ingress is deprecated in v1.19+, unavailable in v1.22+; use networking.k8s.io/v1 Ingress
```
Co-authored-by: Joel Gallant <joel@joelgallant.me >
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/63
Reviewed-by: techknowlogick <techknowlogick@gitea.io >
Reviewed-by: Andrew Thornton <art27@cantab.net >
Co-Authored-By: joelgallant <joelgallant@noreply.gitea.io >
Co-Committed-By: joelgallant <joelgallant@noreply.gitea.io >
2020-11-25 06:55:49 +08:00
JPRbrs
729a412803
Allow templated annotations for http-service ( #62 )
...
Get http annotations from the right place
Allow templated annotations for http-service
When deploying this to cloud Kubernetes, annotations are useful to add features to the
http-service
Co-authored-by: javier <perezrubio.javier@gmail.com >
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/62
Reviewed-by: luhahn <luhahn@noreply.gitea.io >
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-Authored-By: JPRbrs <jprbrs@noreply.gitea.io >
Co-Committed-By: JPRbrs <jprbrs@noreply.gitea.io >
2020-11-20 16:08:26 +08:00
techknowlogick
79690ee488
Gitea 1.12.6 ( #58 )
...
Merge branch 'master' into gitea1.12.6
Gitea 1.12.6
Co-authored-by: luhahn <luhahn@noreply.gitea.io >
Co-authored-by: Matti R <matti@mdranta.net >
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/58
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Reviewed-by: luhahn <luhahn@noreply.gitea.io >
Co-Authored-By: techknowlogick <techknowlogick@gitea.io >
Co-Committed-By: techknowlogick <techknowlogick@gitea.io >
2020-11-17 15:41:27 +08:00
JPRbrs
5398b99514
fix-test-pod ( #56 )
...
fix-test-pod
service name and port was wrong and was preventing the helm chart deployment
Co-authored-by: javier <perezrubio.javier@gmail.com >
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/56
Reviewed-by: techknowlogick <techknowlogick@gitea.io >
Reviewed-by: luhahn <luhahn@noreply.gitea.io >
Co-Authored-By: JPRbrs <jprbrs@noreply.gitea.io >
Co-Committed-By: JPRbrs <jprbrs@noreply.gitea.io >
2020-11-17 15:35:07 +08:00
luhahn
f62b82e956
Let storageClass be set automatically ( #45 )
...
Merge branch 'master' into master
Bump chart version and add gitea/helm-chart as link for artifacthub
Remove default value for storageClass
Remove storageClass 'Standard' and let it be set automatically
Co-authored-by: Lucas Hahn <lucas.hahn@novum-rgi.de >
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/45
Reviewed-by: techknowlogick <techknowlogick@gitea.io >
Reviewed-by: Andrew Thornton <art27@cantab.net >
Co-Authored-By: luhahn <luhahn@noreply.gitea.io >
Co-Committed-By: luhahn <luhahn@noreply.gitea.io >
2020-10-30 01:10:10 +08:00
Steffen Vogel
ed0ce3d192
Make cluster domain configurable ( #51 )
...
Merge branch 'master' into cluster-domain
Make cluster domain configurable
Currently the deployment fails due to a hard-coded cluster domain "cluster.local".
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: Steffen Vogel <post@steffenvogel.de >
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/51
Reviewed-by: luhahn <luhahn@noreply.gitea.io >
Reviewed-by: Andrew Thornton <art27@cantab.net >
Co-Authored-By: Steffen Vogel <stv0g@noreply.gitea.io >
Co-Committed-By: Steffen Vogel <stv0g@noreply.gitea.io >
2020-10-30 01:08:58 +08:00
Steffen Vogel
8f70a4b9a0
Fix indention of exterrnal IPs for SSH service ( #52 )
...
Fix indention of exterrnal IPs for SSH service
Co-authored-by: Steffen Vogel <post@steffenvogel.de >
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/52
Reviewed-by: luhahn <luhahn@noreply.gitea.io >
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-Authored-By: Steffen Vogel <stv0g@noreply.gitea.io >
Co-Committed-By: Steffen Vogel <stv0g@noreply.gitea.io >
2020-10-26 21:04:04 +08:00
schra
a4e5943ca5
Upgrade mariadb Helm chart to 8.0.0 ( #48 )
...
Upgrade mariadb Helm chart to 8.0.0
The names of the values changed in the new Helm chart, see [1]. Thus the
Helm chart ships breaking changes and therefore bump the major version
of this Chart.yaml (not sure if you use semver?)
Furthermore, there is a bug [2] where not setting the root password
results in the mariadb entering a CrashLoopBackOff when re-installing
it. Thus set it (as done in the mysql values already).
[1] https://github.com/bitnami/charts/commit/1206942b69c02a140a60e4e5ab59bf6d53d5b7e6
[2] https://github.com/bitnami/charts/issues/3884
Co-authored-by: Andre Schröder <andre.schroedr@gmail.com >
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/48
Reviewed-by: Andrew Thornton <art27@cantab.net >
Reviewed-by: luhahn <luhahn@noreply.gitea.io >
Co-Authored-By: schra <schra@noreply.gitea.io >
Co-Committed-By: schra <schra@noreply.gitea.io >
2020-10-22 13:13:37 +08:00
schra
fc9c49179f
Re-add lost commit: Enable LoadBalancer type service of http ( #42 ) ( #49 )
...
Enable LoadBalancer type service of http (#42 )
Enable LoadBalancer type service of http
Signed-off-by: Martyn Ranyard <m@rtyn.berlin >
Co-authored-by: Martyn Ranyard <m@rtyn.berlin >
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/42
Reviewed-by: luhahn <luhahn@noreply.gitea.io >
Reviewed-by: techknowlogick <techknowlogick@gitea.io >
Co-Authored-By: iMartyn <imartyn@noreply.gitea.io >
Co-Committed-By: iMartyn <imartyn@noreply.gitea.io >
Co-authored-by: iMartyn <imartyn@noreply.gitea.io >
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/49
Reviewed-by: luhahn <luhahn@noreply.gitea.io >
Reviewed-by: Andrew Thornton <art27@cantab.net >
Co-Authored-By: schra <schra@noreply.gitea.io >
Co-Committed-By: schra <schra@noreply.gitea.io >
2020-10-21 20:38:01 +08:00
luhahn
4c17cc839e
Store gitea app data in PVC ( #37 )
...
Bump Chart version
Extend REAMDE
- add default handling explanation
- add MariaDB values
Add APP_DATA_PATH default to config
Co-authored-by: Lucas Hahn <lucas.hahn@novum-rgi.de >
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/37
Reviewed-by: Andrew Thornton <art27@cantab.net >
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
2020-10-06 09:03:20 +00:00
techknowlogick
d1fac6ce7d
Gitea 1.12.5 ( #38 )
...
Gitea 1.12.5
Co-authored-by: Matti R <matti@mdranta.net >
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/38
Reviewed-by: Andrew Thornton <art27@cantab.net >
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
2020-10-02 14:06:19 +00:00
techknowlogick
37bc343ca9
Use postgres v9.7.2 helm chart ( #36 )
...
Merge branch 'master' into postgres-version
Use postgres v9.7.2 helm chart
Co-authored-by: Matti R <matti@mdranta.net >
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/36
Reviewed-by: lafriks <lafriks@noreply.gitea.io >
Reviewed-by: luhahn <luhahn@noreply.gitea.io >
2020-09-29 17:15:00 +00:00
techknowlogick
b96da586db
use alpine package version of helm ( #35 )
...
use alpine package version of helm
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/35
Reviewed-by: lafriks <lafriks@noreply.gitea.io >
Reviewed-by: 6543 <6543@noreply.gitea.io >
2020-09-29 13:49:34 +00:00
luhahn
0877cc81ca
Update dependencies and add MariaDB builtIn ( #33 )
...
Update dependencies
- Update Postgres version from 8.6.4 to 9.7.3
- Update Mysql version from 6.14.8 to 6.14.10
- Add MariaDB as built in dependency
Co-authored-by: Lucas Hahn <lucas.hahn@novum-rgi.de >
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/33
Reviewed-by: Jonas Franz <jonasfranz@noreply.gitea.io >
Reviewed-by: techknowlogick <techknowlogick@gitea.io >
2020-09-28 23:26:06 +00:00
luhahn
4a618f245e
Fix NodePort settings for ssh service ( #32 )
...
Fix NodePort settings for ssh service
Co-authored-by: Lucas Hahn <lucas.hahn@novum-rgi.de >
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/32
Reviewed-by: lafriks <lafriks@noreply.gitea.io >
Reviewed-by: Andrew Thornton <art27@cantab.net >
2020-09-28 14:31:35 +00:00
Flavio Castelli
cd982e5fcd
Fix indentation error inside of yaml example ( #30 )
...
Merge branch 'master' into fix-indentation
Merge branch 'master' into fix-indentation
Fix indentation error inside of yaml example
The `SCHEMA` key belongs to the `database` map. This commit fixes the
indindentation to properly reflect that.
Signed-off-by: Flavio Castelli <fcastelli@suse.com >
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: Flavio Castelli <fcastelli@suse.com >
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/30
Reviewed-by: luhahn <luhahn@noreply.gitea.io >
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Reviewed-by: Andrew Thornton <art27@cantab.net >
2020-09-25 20:00:46 +00:00
luhahn
1f95ae962c
Move all password related data to secrets ( #28 )
...
Bump Chart version
Move all password related data to secrets
Co-authored-by: Lucas Hahn <lucas.hahn@novum-rgi.de >
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/28
Reviewed-by: techknowlogick <techknowlogick@gitea.io >
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
2020-09-25 13:37:55 +00:00
techknowlogick
f7faa6699a
1.4.9
2020-09-24 16:33:09 +00:00
mmuenster
ffd6e5f92c
Ability to add pod annotation to statefulset ( #24 )
...
ability to add pod annotation
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/24
Reviewed-by: luhahn <luhahn@noreply.gitea.io >
Reviewed-by: techknowlogick <techknowlogick@gitea.io >
2020-09-24 16:32:11 +00:00
techknowlogick
39d6d9b9d5
1.4.8
2020-09-23 21:16:06 +00:00
luhahn
068d1aafa0
Use recursive chmod for .ssh directory in init container ( #26 )
...
Use recursive chmod for .ssh directory in init container
Co-authored-by: Lucas Hahn <lucas.hahn@novum-rgi.de >
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/26
Reviewed-by: techknowlogick <techknowlogick@gitea.io >
2020-09-23 21:15:16 +00:00
techknowlogick
2082d67ec8
utilize service for port forwarding in instructions ( #22 )
...
Merge branch 'master' into techknowlogick-patch-1
Merge branch 'master' into techknowlogick-patch-1
utilize service for port forwarding in instructions
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/22
Reviewed-by: luhahn <luhahn@noreply.gitea.io >
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
2020-09-23 04:28:56 +00:00