feat: refactor apps
All checks were successful
lint-test-helm / lint-helm (pull_request) Successful in 37s
lint-test-helm / validate-kubeconform (pull_request) Successful in 44s

This commit is contained in:
2026-04-07 20:37:04 -05:00
parent bb770531a6
commit 899daef0db
5 changed files with 30 additions and 17 deletions

View File

@@ -0,0 +1,16 @@
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: version-checker
namespace: {{ .Release.Namespace }}
labels:
app.kubernetes.io/name: version-checker
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/part-of: {{ .Release.Name }}
spec:
selector:
matchLabels:
app: version-checker
endpoints:
- port: web
path: /metrics

View File

@@ -10,8 +10,7 @@ version-checker:
resources:
requests:
cpu: 1m
memory: 40Mi
memory: 400Mi
prometheus:
enabled: true
replicas: 1
serviceAccountName: version-checker-prometheus