We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5467753 commit 7052c93Copy full SHA for 7052c93
helm/postgresql-operator/templates/service.yaml
@@ -0,0 +1,16 @@
1
+apiVersion: v1
2
+kind: Service
3
+metadata:
4
+ name: {{ include "postgresql-operator.fullname" . }}
5
+ labels:
6
+ {{- include "postgresql-operator.labels" . | nindent 4 }}
7
+spec:
8
+ type: "ClusterIP"
9
+ ports:
10
+ - port: 8080
11
+ targetPort: http-metrics
12
+ protocol: TCP
13
+ name: http-metrics
14
+ selector:
15
+ app.kubernetes.io/name: {{ include "postgresql-operator.name" . }}
16
+ app.kubernetes.io/instance: {{ .Release.Name }}
0 commit comments