-
Notifications
You must be signed in to change notification settings - Fork 19
Add 3 labels to all resources, add e2e test that validate the existence of the three labels #142
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from 1 commit
9788816
52d10cf
3a3fa91
aaf05ab
ee4f3bc
37e41e9
807c5f9
1827784
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -423,7 +423,7 @@ func getOperatorPod() *corev1.Pod { | |
| } | ||
|
|
||
| func getOperatorLabel() bool { | ||
| pods, err := KubeClient.CoreV1().Pods(operatorNsName).List(context.Background(), metav1.ListOptions{LabelSelector: "app.kubernetes.io/name: node-maintenance-operator"}) | ||
| pods, err := KubeClient.CoreV1().Pods(operatorNsName).List(context.Background(), metav1.ListOptions{LabelSelector: "app.kubernetes.io/name=node-maintenance-operator"}) | ||
|
||
| ExpectWithOffset(2, err).ToNot(HaveOccurred(), "failed to get operator pods") | ||
| ExpectWithOffset(2, len(pods.Items)).ToNot(BeZero(), "no operator pod found") | ||
| return true | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.