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

19 lines
506 B
YAML

kind: Service
apiVersion: v1
metadata:
name: {{ template "stackdriver-exporter.fullname" . }}
labels:
{{- include "stackdriver-exporter.labels" . | indent 4 }}
{{- if .Values.service.annotations }}
annotations:
{{- toYaml .Values.service.annotations | nindent 4 }}
{{- end }}
spec:
type: {{ .Values.service.type }}
ports:
- name: http
port: {{ .Values.service.httpPort }}
protocol: TCP
selector:
{{- include "stackdriver-exporter.selectorLabels" . | indent 4 }}