Initial commit
Signed-off-by: Charlie Drage <charlie@charliedrage.com>
This commit is contained in:
parent
9156c98a1a
commit
9061f0d470
18 changed files with 1522 additions and 2 deletions
20
templates/gitea/gitea-ssh-svc.yaml
Normal file
20
templates/gitea/gitea-ssh-svc.yaml
Normal file
|
@ -0,0 +1,20 @@
|
|||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: {{ template "fullname" . }}-ssh
|
||||
labels:
|
||||
app: {{ template "fullname" . }}
|
||||
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
|
||||
release: "{{ .Release.Name }}"
|
||||
heritage: "{{ .Release.Service }}"
|
||||
spec:
|
||||
type: {{ .Values.service.ssh.serviceType }}
|
||||
ports:
|
||||
- name: ssh
|
||||
port: {{ .Values.service.ssh.port }}
|
||||
targetPort: ssh
|
||||
{{- if .Values.service.ssh.nodePort }}
|
||||
nodePort: {{ .Values.service.ssh.nodePort }}
|
||||
{{- end }}
|
||||
selector:
|
||||
app: {{ template "fullname" . }}
|
Loading…
Add table
Add a link
Reference in a new issue