21 lines
449 B
YAML
21 lines
449 B
YAML
{{- if .Values.remoteWrite -}}
|
|
{{- if .Values.remoteWrite.postgres -}}
|
|
{{- if .Values.remoteWrite.postgres.enabled -}}
|
|
kind: Service
|
|
apiVersion: v1
|
|
metadata:
|
|
name: pgprometheus-adapter
|
|
namespace: {{ .Release.Namespace }}
|
|
labels:
|
|
{{ include "cost-analyzer.commonLabels" . | nindent 4 }}
|
|
spec:
|
|
selector:
|
|
app: adapter
|
|
type: ClusterIP
|
|
ports:
|
|
- name: server
|
|
port: 9201
|
|
targetPort: 9201
|
|
{{- end }}
|
|
{{- end }}
|
|
{{- end }} |