mirror of
https://gitea.com/gitea/helm-chart.git
synced 2024-07-04 23:34:12 +02:00
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>
This commit is contained in:
parent
1b21ce2810
commit
5311243a6e
@ -2,7 +2,7 @@ apiVersion: v2
|
|||||||
name: gitea
|
name: gitea
|
||||||
description: Gitea Helm chart for Kubernetes
|
description: Gitea Helm chart for Kubernetes
|
||||||
type: application
|
type: application
|
||||||
version: 2.1.0
|
version: 2.1.1
|
||||||
appVersion: 1.13.0
|
appVersion: 1.13.0
|
||||||
icon: https://docs.gitea.io/images/gitea.png
|
icon: https://docs.gitea.io/images/gitea.png
|
||||||
|
|
||||||
|
12
README.md
12
README.md
@ -132,6 +132,18 @@ By default port 3000 is used for web traffic and 22 for ssh. Those can be change
|
|||||||
|
|
||||||
This helmchart automatically configures the clone urls to use the correct ports. You can change these ports by hand using the gitea.config dict. However you should know what you're doing.
|
This helmchart automatically configures the clone urls to use the correct ports. You can change these ports by hand using the gitea.config dict. However you should know what you're doing.
|
||||||
|
|
||||||
|
### SSH and Ingress
|
||||||
|
|
||||||
|
If you're using ingress and wan't to use SSH, keep in mind, that ingress is not able to forward SSH Ports.
|
||||||
|
You will need a LoadBalancer like metallb and a setting in your ssh service annotations.
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
service:
|
||||||
|
ssh:
|
||||||
|
annotations:
|
||||||
|
metallb.universe.tf/allow-shared-ip: test
|
||||||
|
```
|
||||||
|
|
||||||
### Cache
|
### Cache
|
||||||
|
|
||||||
This helm chart can use a built in cache. The default is memcached from bitnami.
|
This helm chart can use a built in cache. The default is memcached from bitnami.
|
||||||
|
@ -18,7 +18,7 @@ stringData:
|
|||||||
set -x; \
|
set -x; \
|
||||||
gitea migrate; \
|
gitea migrate; \
|
||||||
{{- if and .Values.gitea.admin.username .Values.gitea.admin.password }}
|
{{- if and .Values.gitea.admin.username .Values.gitea.admin.password }}
|
||||||
gitea admin create-user --username {{ .Values.gitea.admin.username }} --password '{{ .Values.gitea.admin.password }}' --email {{ .Values.gitea.admin.email }} --admin \
|
gitea admin create-user --username {{ .Values.gitea.admin.username }} --password '{{ .Values.gitea.admin.password }}' --email {{ .Values.gitea.admin.email }} --admin --must-change-password=false \
|
||||||
|| \
|
|| \
|
||||||
gitea admin change-password --username {{ .Values.gitea.admin.username }} --password '{{ .Values.gitea.admin.password }}'; \
|
gitea admin change-password --username {{ .Values.gitea.admin.username }} --password '{{ .Values.gitea.admin.password }}'; \
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
Loading…
Reference in New Issue
Block a user