Merge branch 'master' of github.com:k8s-land/gitea-chart

This commit is contained in:
Charlie Drage 2020-03-27 09:53:18 -04:00
commit f709c04e20
4 changed files with 9 additions and 4 deletions

View file

@ -40,9 +40,9 @@ helm install gitea k8s-land/gitea
For production / installing with persistent data:
```sh
helm show values cdrage/gitea > values.yaml
helm show values k8s-land/gitea > values.yaml
vim values.yaml # Edit to enable persistent storage
helm install gitea cdrage/gitea -f values.yaml
helm install gitea k8s-land/gitea -f values.yaml
```
### Database Configuration

View file

@ -18,9 +18,9 @@ Create helm partial for gitea server
{{- end }}
ports:
- name: ssh
containerPort: {{ .Values.service.ssh.port }}
containerPort: 22
- name: http
containerPort: {{ .Values.service.http.port }}
containerPort: 3000
livenessProbe:
tcpSocket:
port: http

View file

@ -9,6 +9,10 @@ metadata:
heritage: "{{ .Release.Service }}"
spec:
type: {{ .Values.service.ssh.serviceType }}
{{- with .Values.service.ssh.externalIPs }}
externalIPs:
{{ toYaml . | indent 2 | trim }}
{{- end }}
ports:
- name: ssh
port: {{ .Values.service.ssh.port }}

View file

@ -96,6 +96,7 @@ service:
## If serving on a different external port used for determining the ssh url in the gui
externalPort: 8022
externalHost: gitea.local
externalIPs: []
## Configure resource requests and limits
## ref: http://kubernetes.io/docs/user-guide/compute-resources/