use different image
All checks were successful
lint-test-helm / helm-lint (push) Successful in 7s
renovate / renovate (push) Successful in 1m32s

This commit is contained in:
2025-07-09 20:33:54 -05:00
parent 8ce792750d
commit 8db946c072
4 changed files with 53 additions and 36 deletions

View File

@@ -1,16 +0,0 @@
apiVersion: monitoring.coreos.com/v1alpha1
kind: ScrapeConfig
metadata:
name: s3-do-home-infra
namespace: {{ .Release.Namespace }}
labels:
app.kubernetes.io/name: s3-do-home-infra
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/part-of: {{ .Release.Name }}
spec:
metricsPath: /probe
scrapeInterval: 120s
scrapeTimeout: 120s
httpSDConfigs:
- url: http://s3-exporter.s3-exporter:9340/discovery
refreshInterval: 15s

View File

@@ -0,0 +1,21 @@
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: s3-exporter
namespace: {{ .Release.Namespace }}
labels:
app.kubernetes.io/name: s3-exporter
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/part-of: {{ .Release.Name }}
spec:
selector:
matchLabels:
app.kubernetes.io/name: s3-exporter
app.kubernetes.io/instance: {{ .Release.Name }}
matchExpressions:
- { key: app.kubernetes.io/controller, operator: In, values: [digital-ocean] }
endpoints:
- port: metrics
interval: 120s
scrapeTimeout: 30s
path: /metrics