infra/k8s/keycloak/servicemonitor.yaml

18 lines
343 B
YAML
Raw Permalink Normal View History

2024-07-11 03:24:06 +00:00
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