Skip to content
This repository has been archived by the owner on Nov 3, 2024. It is now read-only.

Commit

Permalink
add: prom setting in values.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshihiro-shu committed May 18, 2024
1 parent 76f0578 commit 4fb2aff
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{ if .Values.prometheus.enabled -}}
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
Expand All @@ -16,3 +17,4 @@ spec:
- port: api-v1
path: metrics
interval: 30s
{{ end }}
3 changes: 3 additions & 0 deletions deployment/helm/tech-blog-backend/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,6 @@ migration:
imagePullPolicy: IfNotPresent
dotEnv:
secretResourceName: ""

prometheus:
enabled: false

0 comments on commit 4fb2aff

Please sign in to comment.