mirror of
https://github.com/project-zot/zot.git
synced 2024-12-30 22:34:13 -05:00
f867819d63
Signed-off-by: Alexei Dodon <adodon@cisco.com>
31 lines
544 B
YAML
31 lines
544 B
YAML
apiVersion: monitoring.coreos.com/v1
|
|
kind: ServiceMonitor
|
|
metadata:
|
|
name: zot-extended
|
|
labels:
|
|
app: zot-extended
|
|
spec:
|
|
endpoints:
|
|
- interval: 10s
|
|
port: zot-extended
|
|
scrapeTimeout: 5s
|
|
basicAuth:
|
|
password:
|
|
name: basic-auth
|
|
key: password
|
|
username:
|
|
name: basic-auth
|
|
key: user
|
|
selector:
|
|
matchLabels:
|
|
app: zot-extended
|
|
---
|
|
apiVersion: v1
|
|
kind: Secret
|
|
metadata:
|
|
name: basic-auth
|
|
data:
|
|
password: bWV0cmljcw== # metrics
|
|
user: bWV0cmljcw== # metrics
|
|
type: Opaque
|
|
|