Files
portal/helm/templates/service.yaml
T
Tom Chien (IQ-AS) 1988c635fe
CI/CD (dev on branch, prod on tag) / build-and-deploy (push) Successful in 20m35s
upload
2026-11-18 14:26:36 +08:00

16 lines
358 B
YAML

apiVersion: v1
kind: Service
metadata:
name: {{ include "portal.fullname" . }}
labels:
{{- include "portal.labels" . | nindent 4 }}
spec:
type: {{ .Values.service.type }}
ports:
- name: http
port: {{ .Values.service.port }}
targetPort: http
protocol: TCP
selector:
{{- include "portal.selectorLabels" . | nindent 4 }}