github.com/replicatedcom/ship@v0.50.0/integration/init/istio-1.0.3/expected/.ship/upstream/charts/grafana/templates/service.yaml (about) 1 apiVersion: v1 2 kind: Service 3 metadata: 4 name: grafana 5 namespace: {{ .Release.Namespace }} 6 annotations: 7 {{- range $key, $val := .Values.service.annotations }} 8 {{ $key }}: {{ $val }} 9 {{- end }} 10 labels: 11 app: istio-grafana 12 chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }} 13 release: {{ .Release.Name }} 14 heritage: {{ .Release.Service }} 15 spec: 16 type: {{ .Values.service.type }} 17 ports: 18 - port: {{ .Values.service.externalPort }} 19 targetPort: {{ .Values.service.internalPort }} 20 protocol: TCP 21 name: {{ .Values.service.name }} 22 selector: 23 app: grafana