botWebWars/helm-chart/templates/service.yaml

20 lines
500 B
YAML
Raw Normal View History

2026-09-08 11:26:57 +00:00
apiVersion: v1
kind: Service
metadata:
name: {{ include "botWebWars.fullname" . }}
labels:
{{- include "botWebWars.labels" . | nindent 4 }}
{{- with .Values.service.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
type: {{ .Values.service.type }}
ports:
- port: {{ .Values.service.port }}
targetPort: {{ .Values.service.targetPort }}
protocol: TCP
name: http
selector:
{{- include "botWebWars.selectorLabels" . | nindent 4 }}