stable/appmesh-grafana/templates/service.yaml (16 lines of code) (raw):
apiVersion: v1
kind: Service
metadata:
name: {{ template "appmesh-grafana.fullname" . }}
labels:
{{ include "appmesh-grafana.labels" . | indent 4 }}
spec:
type: {{ .Values.service.type }}
ports:
- port: {{ .Values.service.port }}
targetPort: http
protocol: TCP
name: http
selector:
app.kubernetes.io/name: {{ include "appmesh-grafana.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}