This repository has been archived on 2024-09-11. You can view files and clone it, but cannot push or open issues or pull requests.
k8s-cluster-config/common/values.service-monitor.yaml
Nikolai Rodionov c237d4ffae Migrate minecraft to Paper (#37)
I want to configure monitoring for Minecraft, and it's not possible with the Vanilla version. So we're testing Paper

Reviewed-on: https://git.badhouseplants.net/badhouseplants/k8s-cluster-config/pulls/37
2023-03-14 14:40:09 +00:00

17 lines
370 B
YAML

---
service-monitor:
templates:
- |
{{ range .Values.service-monitor.resources }}
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: {{ .name }}
spec:
selector:
matchLabels:
app: {{ .label.app }}
endpoints:
- port: {{ .endpoints.port }}
{{ end }}