Skip to content

Commit

Permalink
kubernetes-4
Browse files Browse the repository at this point in the history
  • Loading branch information
aasdhajkshd committed Oct 31, 2023
1 parent 3ad89d4 commit f7d80d6
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions kubernetes/Charts/gitlab-omnibus/templates/gitlab/gitlab-svc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
apiVersion: v1
kind: Service
metadata:
name: {{ template "fullname" . }}
labels:
app: {{ template "fullname" . }}
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
release: "{{ .Release.Name }}"
heritage: "{{ .Release.Service }}"
spec:
selector:
name: {{ template "fullname" . }}
ports:
- name: ssh
port: 22
targetPort: ssh
- name: mattermost
port: 8065
targetPort: mattermost
- name: registry
port: 8105
targetPort: registry
- name: workhorse
port: 8005
targetPort: workhorse
- name: prometheus
port: 9090
targetPort: prometheus
{{- if and .Values.pagesExternalScheme .Values.pagesExternalDomain}}
- name: pages
port: 8090
targetPort: pages
{{- end }}
- name: web
port: 80
targetPort: workhorse

0 comments on commit f7d80d6

Please sign in to comment.