-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Add check for API rule validation and fix type for Memcached test data #2113
Add check for API rule validation and fix type for Memcached test data #2113
Conversation
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.
Same question I had here: operator-framework/operator-sdk-samples#82 (comment)
And a couple other questions about the necessity of some of the changes given the goal of the PR.
test/test-framework/deploy/crds/cache.example.com_memcachedrs_crd.yaml
Outdated
Show resolved
Hide resolved
test/test-framework/pkg/apis/cache/v1alpha1/zz_generated.deepcopy.go
Outdated
Show resolved
Hide resolved
HI @joelanford,
It is not the point. The crd_test.go will do the test using a version which is outdated of the CRD since it is checking the test-framework which has not been updated and verified. However, I will change this PR as you suggest no problem at all. Thank you for the input. |
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 after addressing comments.
doc/user-guide.md
Outdated
Nodes []string `json:"nodes"` | ||
} | ||
``` | ||
|
||
**NOTE** To know more about `+listType=set` see : https://godoc.org/k8s.io/kube-openapi/pkg/idl |
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.
WDYT about making this note the similar to the one I suggested here?
NOTE: Comment directives, such as
+listType=set
, are necessary in certain situations to avoid API rule violations when generating OpenAPI files. See https://godoc.org/k8s.io/kube-openapi/pkg/idl to learn more.
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.
Much better :-)
doc/user-guide.md
Outdated
Nodes []string `json:"nodes"` | ||
} | ||
``` | ||
|
||
**NOTE** To know more about `+listType=set` see : https://godoc.org/k8s.io/kube-openapi/pkg/idl |
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.
Much better :-)
Hi @joelanford, The TODO was added as requested. Please, let us know if we could move forward with it now? |
/test e2e-aws-subcommand |
Co-Authored-By: Joe Lanford <joe.lanford@gmail.com>
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
Description of the change:
Motivation for the change:
Closes #2114
Related to: #2042