Files
deprecated-helm-charts/stable/stackdriver-exporter/templates/service.yaml
T
Ashley Penney 6020983d5c Add stackdriver-exporter (#4167)
* Add stackdriver-exporter

Stackdriver-exporter gathers metrics from Google Cloud projects and
presents them for Prometheus to gather.

* Update URL

* Switch to lowerCamelCase across the chart

* Use Helm 2.8 _helpers.tpl as a foundation.

* Fix chart label
2018-03-27 13:07:02 -07:00

23 lines
638 B
YAML

kind: Service
apiVersion: v1
metadata:
name: {{ template "stackdriver-exporter.fullname" . }}
labels:
chart: {{ template "stackdriver-exporter.chart" . }}
app: {{ template "stackdriver-exporter.name" . }}
release: "{{ .Release.Name }}"
heritage: "{{ .Release.Service }}"
{{- if .Values.service.annotations }}
annotations:
{{ toYaml .Values.service.annotations | indent 4 }}
{{- end }}
spec:
type: {{ .Values.service.type }}
ports:
- name: http
port: {{ .Values.service.httpPort }}
protocol: TCP
selector:
app: {{ template "stackdriver-exporter.name" . }}
release: "{{ .Release.Name }}"