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

OZG-5281 add mongodb-client label for networkpolicy rule

parent c2361cf6
No related branches found
No related tags found
No related merge requests found
......@@ -35,6 +35,7 @@ app.kubernetes.io/namespace: {{ include "app.namespace" . }}
app.kubernetes.io/part-of: ozgcloud
app.kubernetes.io/version: {{ include "app.version" . }}
helm.sh/chart: {{ include "app.chart" . }}
ozgcloud-mongodb-client: true
{{- end -}}
{{- define "app.matchLabels" }}
......
......@@ -74,3 +74,9 @@ tests:
- equal:
path: metadata.labels["component"]
value: user-manager-service-monitor
- it: should have label for mongodb client
asserts:
- equal:
path: metadata.labels["ozgcloud-mongodb-client"]
value: true
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment