-
Notifications
You must be signed in to change notification settings - Fork 31
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
feat: add resources e2e #329
Conversation
return validator.New().Var(val, string(r)) | ||
} | ||
|
||
type Resource corev1.ResourceRequirements |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps the definition could be more abstract rather than specific to a certain type.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok
@@ -110,6 +113,24 @@ func defaultNebulaClusterReadyFuncForStatus(_ context.Context, _ *envconf.Config | |||
) | |||
} | |||
} | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This func is used to cmp nc status, maybe put those in defaultNebulaClusterReadyFuncForGraphd/Metad/Storaged
is more suitable.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok
}, | ||
} | ||
|
||
if err := cfg.Client().Resources().Get(ctx, sts.Name, sts.Namespace, sts); err != nil { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have already obtained it, why not check more fields, such as version, replicas , etc.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
What type of PR is this?
What problem(s) does this PR solve?
Issue(s) number:
Description:
make e2e E2EARGS="--kubeconfig ~/.kube/config -labels category=basic,group=resources"

How do you solve it?
Special notes for your reviewer, ex. impact of this fix, design document, etc: