179f6a1b43
port forward, local publish ja luettu tämän repon linkin luomisen mallisella url julkaistu raportti
20 lines
494 B
YAML
20 lines
494 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: {{ include "git-pages.fullname" . }}
|
|
labels:
|
|
{{- include "git-pages.componentLabels" . | nindent 4 }}
|
|
spec:
|
|
type: {{ .Values.service.type }}
|
|
selector:
|
|
{{- include "git-pages.selectorLabels" . | nindent 4 }}
|
|
ports:
|
|
- name: http-read
|
|
port: {{ .Values.nginx.port }}
|
|
targetPort: http-read
|
|
protocol: TCP
|
|
- name: http-write
|
|
port: {{ .Values.upload.port }}
|
|
targetPort: http-write
|
|
protocol: TCP
|