2021-10-15 10:05:00 -05:00
|
|
|
apiVersion: monitoring.coreos.com/v1
|
|
|
|
kind: ServiceMonitor
|
|
|
|
metadata:
|
|
|
|
name: zot-extended
|
|
|
|
labels:
|
|
|
|
app: zot-extended
|
|
|
|
spec:
|
|
|
|
endpoints:
|
|
|
|
- interval: 10s
|
|
|
|
port: zot-extended
|
|
|
|
scrapeTimeout: 5s
|
2023-11-15 12:51:03 -05:00
|
|
|
basicAuth:
|
|
|
|
password:
|
|
|
|
name: basic-auth
|
|
|
|
key: password
|
|
|
|
username:
|
|
|
|
name: basic-auth
|
|
|
|
key: user
|
2021-10-15 10:05:00 -05:00
|
|
|
selector:
|
|
|
|
matchLabels:
|
|
|
|
app: zot-extended
|
2023-11-15 12:51:03 -05:00
|
|
|
---
|
|
|
|
apiVersion: v1
|
|
|
|
kind: Secret
|
|
|
|
metadata:
|
|
|
|
name: basic-auth
|
|
|
|
data:
|
|
|
|
password: bWV0cmljcw== # metrics
|
|
|
|
user: bWV0cmljcw== # metrics
|
|
|
|
type: Opaque
|
2021-10-15 10:05:00 -05:00
|
|
|
|