We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f612eee + 8646f9e commit 441e9d2Copy full SHA for 441e9d2
charts/ds-server/Chart.yaml
@@ -5,4 +5,4 @@ maintainers:
5
- email: [email protected]
6
name: Elegant Themes
7
name: ds-server
8
-version: 1.0.7
+version: 1.0.8
charts/ds-server/templates/ds-server.yml
@@ -3,6 +3,8 @@ kind: Service
3
metadata:
4
name: {{ .Release.Name }}
namespace: {{ .Release.Namespace }}
+ labels:
+ app: {{ .Release.Name }}
spec:
9
selector:
10
app: {{ .Release.Name }}
@@ -12,6 +14,19 @@ spec:
12
14
name: nodejs
13
15
---
16
17
+apiVersion: monitoring.coreos.com/v1
18
+kind: ServiceMonitor
19
+metadata:
20
+ name: ds-server
21
+ namespace: ds-app
22
+spec:
23
+ selector:
24
+ matchLabels:
25
+ app: ds-server
26
+ endpoints:
27
+ - port: nodejs
28
+---
29
+
30
apiVersion: apps/v1
31
kind: Deployment
32
0 commit comments