Compare commits

...

2 Commits

Author SHA1 Message Date
f89e061d9e Update docker.io/postgres Docker tag to v18
Some checks failed
renovate/stability-days Updates have met minimum release age requirement
lint-test-helm / lint-helm (pull_request) Failing after 16s
lint-test-docker / lint-docker-compose (pull_request) Successful in 20s
2025-12-09 04:38:50 +00:00
e00140903e add monitor
All checks were successful
lint-test-helm / lint-helm (push) Successful in 1m6s
render-manifests-push / render-manifests-push (push) Successful in 25s
renovate / renovate (push) Successful in 59s
2025-12-08 22:37:48 -06:00
3 changed files with 56 additions and 1 deletions

View File

@@ -20,6 +20,35 @@ spec:
metadataPolicy: None
property: private-key
apiVersion: external-secrets.io/v1
kind: ExternalSecret
metadata:
name: searxng-browser-metrics-auth
namespace: {{ .Release.Namespace }}
labels:
app.kubernetes.io/name: searxng-browser-metrics-auth
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/part-of: {{ .Release.Name }}
spec:
secretStoreRef:
kind: ClusterSecretStore
name: vault
data:
- secretKey: metrics-password
remoteRef:
conversionStrategy: Default
decodingStrategy: None
key: cl01tl/searxng/browser
metadataPolicy: None
property: metrics-password
- secretKey: metrics-username
remoteRef:
conversionStrategy: Default
decodingStrategy: None
key: cl01tl/searxng/browser
metadataPolicy: None
property: metrics-username
---
apiVersion: external-secrets.io/v1
kind: ExternalSecret

View File

@@ -0,0 +1,26 @@
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: searxng-browser
namespace: {{ .Release.Namespace }}
labels:
app.kubernetes.io/name: searxng-browser
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/part-of: {{ .Release.Name }}
spec:
selector:
matchLabels:
app.kubernetes.io/name: searxng-browser
app.kubernetes.io/instance: {{ .Release.Name }}
endpoints:
- port: mail
interval: 30s
scrapeTimeout: 15s
path: /metrics
basicAuth:
password:
name: searxng-browser-metrics-auth
key: metrics-password
username:
name: searxng-browser-metrics-auth
key: metrics-username

View File

@@ -19,7 +19,7 @@ services:
- /dev/net/tun:/dev/net/tun
postgresql:
image: docker.io/postgres:17.7-alpine3.21
image: docker.io/postgres:18.1-alpine3.21
container_name: gitea-postgres
env_file:
- .env