fix: Fix serviceMonitor default service reference (#73)

This commit is contained in:
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs 2022-11-03 14:14:15 +01:00 committed by GitHub
parent ae4233c77f
commit b6b5c6bf4a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 29 additions and 29 deletions

View file

@ -55,7 +55,7 @@ tests:
value:
app.kubernetes.io/instance: RELEASE-NAME
app.kubernetes.io/name: RELEASE-NAME
app.kubernetes.io/service: main
app.kubernetes.io/service: RELEASE-NAME
- documentIndex: *ServiceMonitorDocument
equal:
path: spec.endpoints
@ -88,7 +88,7 @@ tests:
value:
app.kubernetes.io/instance: RELEASE-NAME
app.kubernetes.io/name: RELEASE-NAME
app.kubernetes.io/service: main
app.kubernetes.io/service: RELEASE-NAME
- it: a serviceMonitor is created with a templated service
set: