mirror of https://git.rancher.io/charts
23 lines
627 B
YAML
23 lines
627 B
YAML
|
apiVersion: v1
|
||
|
kind: Service
|
||
|
metadata:
|
||
|
annotations:
|
||
|
{{ toYaml .Values.service.annotations | indent 4 }}
|
||
|
labels:
|
||
|
app: {{ template "k8s-prometheus-adapter.name" . }}
|
||
|
chart: {{ template "k8s-prometheus-adapter.chart" . }}
|
||
|
release: {{ .Release.Name }}
|
||
|
heritage: {{ .Release.Service }}
|
||
|
name: {{ template "k8s-prometheus-adapter.fullname" . }}
|
||
|
namespace: {{ .Release.Namespace }}
|
||
|
spec:
|
||
|
ports:
|
||
|
- port: {{ .Values.service.port }}
|
||
|
protocol: TCP
|
||
|
targetPort: https
|
||
|
selector:
|
||
|
app: {{ template "k8s-prometheus-adapter.name" . }}
|
||
|
release: {{ .Release.Name }}
|
||
|
type: {{ .Values.service.type }}
|
||
|
|