Skip to content

Commit

Permalink
[GHA] Update gmod chart
Browse files Browse the repository at this point in the history
  • Loading branch information
krzwiatrzyk committed Oct 18, 2023
1 parent ea9b911 commit 67461c9
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/gmod/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
apiVersion: v2
name: gmod
version: 0.0.10
version: 0.0.11
18 changes: 18 additions & 0 deletions charts/gmod/templates/service-monitor.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{{ if .Values.metrics.enable }}
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
labels:
name: {{ .Release.Name }}
spec:
endpoints:
- interval: 30s
targetPort: {{ .Values.ports.http.port }}
path: /metrics
namespaceSelector:
matchNames:
- {{ .Release.Namespace }}
selector:
matchLabels:
app: {{ .Release.Name }}
{{ end }}
3 changes: 3 additions & 0 deletions charts/gmod/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,6 @@ resources:
imagePullSecrets: []

args: []

metrics:
enable: true

0 comments on commit 67461c9

Please sign in to comment.