make servicemonitor be discoverable

This commit is contained in:
Remy Moll 2024-06-19 17:41:01 +02:00
parent c521a23a16
commit abf59c480f
2 changed files with 3 additions and 0 deletions

View File

@ -2,6 +2,8 @@ apiVersion: v1
kind: Service kind: Service
metadata: metadata:
name: homeassistant-web name: homeassistant-web
labels:
app: homeassistant
spec: spec:
selector: selector:
app: homeassistant app: homeassistant

View File

@ -23,6 +23,7 @@ env:
name: postgres-password name: postgres-password
key: password key: password
IMMICH_MACHINE_LEARNING_URL: '{{ printf "http://%s-machine-learning:3003" .Release.Name }}' IMMICH_MACHINE_LEARNING_URL: '{{ printf "http://%s-machine-learning:3003" .Release.Name }}'
IMMICH_METRICS: true
immich: immich:
metrics: metrics: