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

18 lines
469 B
YAML

{{- $ctx := dict "helm" . }}
{{- $fullname := include "vm.fullname" $ctx }}
{{- $ns := include "vm.namespace" $ctx }}
apiVersion: v1
kind: Service
metadata:
name: {{ $fullname }}
namespace: {{ $ns }}
labels: {{ include "vm.labels" $ctx | nindent 4 }}
spec:
type: {{ .Values.service.type }}
ports:
- port: {{ .Values.service.port }}
targetPort: http
protocol: TCP
name: http
selector: {{ include "vm.selectorLabels" $ctx | nindent 4 }}