Skip to content
Snippets Groups Projects
Commit 51571d11 authored by OZGCloud's avatar OZGCloud
Browse files

OZG-6716 update service monitor

parent c1b95ff7
No related branches found
No related tags found
1 merge request!1Ozg 6716 add service_monitor
...@@ -40,4 +40,4 @@ spec: ...@@ -40,4 +40,4 @@ spec:
selector: selector:
matchLabels: matchLabels:
{{- include "app.matchLabels" . | indent 6 }} {{- include "app.matchLabels" . | indent 6 }}
component: bayernid-proxy-service component: bayernid-proxy
\ No newline at end of file \ No newline at end of file
...@@ -81,11 +81,7 @@ tests: ...@@ -81,11 +81,7 @@ tests:
- contains: - contains:
path: spec.namespaceSelector.matchNames path: spec.namespaceSelector.matchNames
content: sh-helm-test content: sh-helm-test
- it: selector should contain the component label with the value bayernid-proxy-service
asserts:
- equal:
path: spec.selector.matchLabels["component"]
value: bayernid-proxy-service
- it: selector should contain helm recommended labels name and namespace - it: selector should contain helm recommended labels name and namespace
asserts: asserts:
- equal: - equal:
...@@ -93,4 +89,4 @@ tests: ...@@ -93,4 +89,4 @@ tests:
value: value:
app.kubernetes.io/name: bayernid-proxy app.kubernetes.io/name: bayernid-proxy
app.kubernetes.io/namespace: sh-helm-test app.kubernetes.io/namespace: sh-helm-test
component: bayernid-proxy-service component: bayernid-proxy
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment