Commit Graph

399 Commits

Author SHA1 Message Date
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
luhahn 1a1a001656 Fix ssh permission denied(publickey) at reinstalling the chart without deleting pvc (#25)
Fix ssh permission denied(publickey) at reinstalling the chart without deleting pvc

Co-authored-by: Lucas Hahn <lucas.hahn@novum-rgi.de>
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/25
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
2020-09-23 03:22:20 +00:00
techknowlogick 942312a973 1.4.6 2020-09-18 03:21:56 +00:00
mmuenster c168d47181 Prevent custom HOST name from being overwritten in mysql, postgresql, cache (#23)
Adding same changes to cache

Deleted useDefaultHost value

no longer needed

Eliminated need for useDefaultHost value

Using whether gitea.config.database.HOST exists instead in the values file. If true, don't overwrite. If false, use "mysql/postgresql.dns"

Updated db host logic

Config map uses "postgresql/mysql.dns" when useDefaultHost is true, and the value from gitea.config.database.HOST when useDefaultHost is false.

Added useDefaultHost to built in database values.

Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/23
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
2020-09-18 03:21:29 +00:00
Jasper-Ben 8060d080db allow for additional container environment variables (#16)
Co-authored-by: Jasper Orschulko <Jasper.Orschulko@irisgmbh.de>
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/16
Reviewed-by: luhahn <luhahn@noreply.gitea.io>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
2020-09-10 10:15:34 +00:00
techknowlogick 9d25bc75d5 update readme to reference latest docker image 2020-09-07 23:32:46 +00:00
Matti R df27a3ff10
1.12.4 release of gitea 2020-09-03 21:19:17 -04:00
luhahn e85e1718de Fix memcached conditional and external database check in init container (#18)
Bump chart version

Update README.md with example for DB

Fix external host check for Databases

Fix condition for memcached in Chart.yaml

Co-authored-by: Lucas Hahn <lucas.hahn@novum-rgi.de>
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/18
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
Reviewed-by: Andrew Thornton <art27@cantab.net>
2020-09-03 21:27:11 +00:00
Matti R b083092b4f
alpine install helm in drone 2020-09-02 10:29:14 -04:00
techknowlogick 56d978c75a switch to arm runner 2020-09-02 14:21:41 +00:00
techknowlogick 358e8a7ba7 Publish Chart on tag (#13)
Publish Chart on tag

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/13
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
2020-09-02 13:55:41 +00:00
onedr0p 5261fa8599 Let service.ssh.externalIPs and service.ssh.externalTrafficPolicy be configurable (#15)
remove Cluster from readme

externalTrafficPolicy and externalIPs example in values

document service.ssh.externalTrafficPolicy and service.ssh.externalIPs

bump chart version

externalIPs and externalTrafficPolicy

let service.ssh.externalIPs and service.ssh.externalTrafficPolicy be configurable

Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/15
Reviewed-by: luhahn <luhahn@noreply.gitea.io>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
2020-09-02 12:09:24 +00:00
techknowlogick df6cb3b5de Update README to use dl.gitea.io/charts (#14)
Update README to use dl.gitea.io/charts

Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/14
2020-08-29 03:54:09 +00:00
luhahn 5e0cfed9be Integrate NOVUM-RGI chart into the official helm chart. (#7)
Fix ssh port settings

Remove blank line from LICENSE file

add check for admin user

set PROTOCOL default to http

Add Konrad Lother as Maintainer

Update readme with generic values

make app.ini generic

- app.ini is now configurable via dictionary in values.yaml
- database and server configuration is autogenerated if not defined
- http and ssh services now use gitea config settings for targetPort
- add default security value INSTALL_LOCK = true
- clean up builtin cache settings

bump gitea version

Add values and Remove vscode TOC comments

- values enablePushCreateOrg and enablePushCreateUser have been added to repository settings

fix naming order of license and maintainers

Multiple improvements for the chart:

- add terminationGracePeriodSeconds to shutdown the statefulset gracefully on error
- add guard for loadbalancer settings in ssh service
- use mysql from bitnami, since they update the version much more frequent (old mysql only uses mysql ~6)
- init container now also provisions mysql and external database correctly

Fix PVC mounting issues for longhorn storageClass

Add examples to readme

Fix port setting for ssh

Fix and operator for newer helm versions

update values to support most configuration gitea offers

Replace Readme

update license file

Update helpers with dependencies, update NOTES.txt

update Chart.yaml with dependencies

Requirements.yaml removed, since this is deprecated and moved to Chart.yaml

Remove now unused dependencies and deployments

- init is no longer used since databases are initialized
  on original charts and managed with dependency
- ingress.yaml moved to templates/gitea
- deployment.yaml no longer used and replaced with templates/gitea/statefulset.yaml
- memcached also handled with helm dependency and initialized in original chart

Add initial test for gitea helm chart

Rework templates for helm chart.

- app.ini configurable via config
- admin user and ldap settings configurable via config
- using statefulset to handle pvc
- update helpers for new dependencies

remove helm build artifacts since they are not needed in this repository

Co-authored-by: Lucas Hahn <lucas.hahn@novum-rgi.de>
Co-authored-by: Konrad Lother <konrad.lother@novum-rgi.de>
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/7
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
2020-08-23 17:56:55 +00:00
Lunny Xiao b2725ae7cf Update licenses (#2)
update license

Add license

Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/2
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
Reviewed-by: 6543 <6543@noreply.gitea.io>
2020-07-12 21:43:48 +00:00
techknowlogick e2e39517a0 Update Gitea version to 1.12.2 (#3)
Co-authored-by: lafriks <lafriks@noreply.gitea.io>
Co-authored-by: Matti R <matti@mdranta.net>
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/3
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: 6543 <6543@noreply.gitea.io>
2020-07-12 10:23:07 +00:00
Lunny Xiao 6430373809 Add drone file (#4)
remove unnecessary events on lint

Add drone file

Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/4
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
Reviewed-by: 6543 <6543@noreply.gitea.io>
2020-07-12 10:19:31 +00:00
Charlie Drage deb8d4186c
Merge pull request #25 from abh/strategy
Support specifying deployment strategy
2020-06-05 11:10:47 -04:00
Charlie Drage 449cdbc1c0
Merge pull request #24 from abh/podannotations
Support setting podannotations
2020-06-05 11:10:26 -04:00
Ask Bjørn Hansen 194cda4c52 Support specifying deployment strategy 2020-06-05 01:37:00 -07:00
Ask Bjørn Hansen de5bebb4c1 Support setting podannotations
Fixes #23
2020-06-05 01:22:44 -07:00
Charlie Drage 18a7e0edb0
Merge pull request #21 from cdrage/update
Update version in order to fix broken chart
2020-05-15 13:49:36 -04:00
Charlie Drage 51ac745517 Update version in order to fix broken chart
Updates the version in order to regenerate a non-broken chart

Signed-off-by: Charlie Drage <charlie@charliedrage.com>
2020-05-15 13:48:56 -04:00
Charlie Drage f75ba73ffd Revert "Use Secrets for passwords and tokens" 2020-05-15 13:48:03 -04:00
Charlie Drage 3d9c5b7abd Update to 1.11.5
Update version to 1.11.5

Signed-off-by: Charlie Drage <charlie@charliedrage.com>
2020-05-15 13:48:03 -04:00
Thomas Matysik 5f3dd8a292 Use Secrets for passwords and tokens
Signed-off-by: Thomas Matysik <thomas@matysik.co.nz>
2020-05-15 13:48:03 -04:00
Moritz Graf 7340a6278a Enlarging double quotes 2020-05-15 13:48:03 -04:00
Moritz Graf 4cc783b2b1 Fixing access to global namespace from within range 2020-05-15 13:48:03 -04:00
Xavi Ablaza 3c64fe1eca Fix typo 2020-05-15 13:48:03 -04:00
techknowlogick 8a3a929260 1.11.4 2020-05-15 13:48:03 -04:00
techknowlogick 91d8b8a7ab 1.11.4 2020-05-15 13:48:03 -04:00
Jacques ROUSSEL 7dd51abffb Fix issue with pod port exposition and add the possibility to use externalIPs 2020-05-15 13:48:03 -04:00
techknowlogick cb32886d8b minor readme update 2020-05-15 13:48:03 -04:00
Charlie Drage ef3118a500 Update version / new release
Signed-off-by: Charlie Drage <charlie@charliedrage.com>
2020-03-27 09:52:36 -04:00
Charlie Drage 734633c313 Update version of gitea / chart
Signed-off-by: Charlie Drage <charlie@charliedrage.com>
2020-02-18 17:11:02 -05:00
Charlie Drage 27fbb5a039 Merge branch 'master' of github.com:k8s-land/gitea-chart 2020-02-18 17:08:07 -05:00
Charlie Drage 2e1388473b Update version
Signed-off-by: Charlie Drage <charlie@charliedrage.com>
2020-02-18 17:07:58 -05:00
Charlie Drage 2743df3c03
Merge pull request #6 from petrukngantuk/master
Fixing InitContainer when using ExternalDB
2020-02-18 16:58:50 -05:00
Petruk Ngantuk 07f4e87f6d
Fixing InitContainer when using ExternalDB
Fixing InitContainer when using ExternalDB
2020-02-19 01:16:31 +07:00
Charlie Drage f53c3f7536 Update link
Signed-off-by: Charlie Drage <charlie@charliedrage.com>
2019-12-12 15:53:08 -05:00
Charlie Drage 3d3f2cf93a Update readme to new location
Signed-off-by: Charlie Drage <charlie@charliedrage.com>
2019-12-12 13:41:09 -05:00
Charlie Drage 9061f0d470 Initial commit
Signed-off-by: Charlie Drage <charlie@charliedrage.com>
2019-12-12 13:38:31 -05:00
Charlie Drage 9156c98a1a
Initial commit 2019-12-12 13:06:26 -05:00