- Set primary domain gitdata.ai and static.gitdata.ai with cert-manager TLS - Add LoadBalancer service for gitserver SSH (port 2222) - Exclude .server.yaml from Helm packaging
17 lines
489 B
YAML
17 lines
489 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: {{ include "deploy.serviceFullname" (dict "root" . "svcKey" "gitserver") }}-ssh
|
|
labels:
|
|
{{- include "deploy.labels" . | nindent 4 }}
|
|
app.kubernetes.io/component: gitserver
|
|
spec:
|
|
type: LoadBalancer
|
|
ports:
|
|
- port: {{ .Values.services.gitserver.ports.ssh }}
|
|
targetPort: ssh
|
|
protocol: TCP
|
|
name: ssh
|
|
selector:
|
|
{{- include "deploy.serviceSelectorLabels" (dict "root" . "svcKey" "gitserver") | nindent 4 }}
|