mirror of
https://gitea.com/gitea/helm-chart.git
synced 2024-06-02 02:11:23 +05:30
Merge branch 'master' of github.com:k8s-land/gitea-chart
This commit is contained in:
commit
f709c04e20
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 }}
|
||||
|
|
|
@ -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/
|
||||
|
|
Loading…
Reference in a new issue