infra/k8s/keycloak/servicemonitor.yaml
2024-07-10 20:24:06 -07:00

17 lines
343 B
YAML

apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: keycloak
spec:
endpoints:
- port: management
scheme: https
tlsConfig:
ca:
secret:
name: keycloak-frontend
key: ca.crt
serverName: keycloak.keycloak.svc.cluster.local
selector:
matchLabels:
app: keycloak