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

move matchlabels deployment.yaml

parent 3fdfac0a
No related branches found
No related tags found
No related merge requests found
......@@ -42,7 +42,7 @@ spec:
template:
metadata:
labels:
component: ozg-operator
{{- include "app.matchLabels" . | indent 8 }}
spec:
containers:
- name: ozg-operator
......
......@@ -41,3 +41,10 @@ tests:
- equal:
path: spec.selector.matchLabels.[app.kubernetes.io/namespace]
value: sh-helm-test
- equal:
path: spec.template.metadata.labels.[app.kubernetes.io/name]
value: ozg-operator
- equal:
path: spec.template.metadata.labels.[app.kubernetes.io/namespace]
value: sh-helm-test
\ 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