mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
* 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
23 lines
638 B
YAML
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 }}"
|