feat: add metric auth
All checks were successful
lint-test-helm / lint-helm (pull_request) Successful in 19s
lint-test-helm / validate-kubeconform (pull_request) Successful in 30s
render-manifests / render-manifests (pull_request) Successful in 44s

This commit is contained in:
2026-05-10 14:42:51 -05:00
parent ea01fb244b
commit 7dcd37bb20
2 changed files with 40 additions and 0 deletions

View File

@@ -78,6 +78,16 @@ dawarich:
value: 0.0.0.0
- name: PROMETHEUS_EXPORTER_PORT
value: 9394
- name: METRICS_USERNAME
valueFrom:
secretKeyRef:
name: dawarich-metrics-credentials
key: user
- name: METRICS_PASSWORD
valueFrom:
secretKeyRef:
name: dawarich-metrics-credentials
key: password
- name: SECRET_KEY_BASE
valueFrom:
secretKeyRef:
@@ -256,6 +266,13 @@ dawarich:
interval: 30s
scrapeTimeout: 15s
path: /metrics
basicAuth:
password:
name: dawarich-metrics-credentials
key: password
username:
name: dawarich-metrics-credentials
key: user
route:
main:
kind: HTTPRoute