Signed-off-by: iwannagotobed <us990704@yonsei.ac.kr> Co-authored-by: Chauncey <chaunceyjiang@gmail.com>
15 lines
406 B
YAML
15 lines
406 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: {{ include "chart.service-name" . | quote }}
|
|
namespace: {{ .Release.Namespace }}
|
|
spec:
|
|
type: ClusterIP
|
|
ports:
|
|
- name: {{ include "chart.service-port-name" . }}
|
|
port: {{ include "chart.service-port" . }}
|
|
targetPort: {{ include "chart.container-port-name" . }}
|
|
protocol: TCP
|
|
selector:
|
|
{{- include "chart.labels" . | nindent 4 }}
|