Files
devops-infra-helm-charts-gcp/helm-templates/loadtester/templates/service.yaml
T
2026-08-26 03:39:42 +05:30

23 lines
615 B
YAML

apiVersion: v1
kind: Service
metadata:
{{- with .Values.service.annotations }}
annotations:
{{ toYaml . | indent 4}}
{{- end }}
name: {{ include "loadtester.fullname" . }}
labels:
app.kubernetes.io/name: {{ include "loadtester.name" . }}
helm.sh/chart: {{ include "loadtester.chart" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
spec:
type: {{ .Values.service.type }}
ports:
- port: {{ .Values.service.port }}
targetPort: http
protocol: TCP
name: http
selector:
app: {{ include "loadtester.name" . }}