-
Notifications
You must be signed in to change notification settings - Fork 1.8k
internal/pkg/scaffold/olm-catalog: preserve certain fields, better CR/CRD updates #1689
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
Conversation
…tions fields and use unique ID's for each owned CRD internal/util/k8sutil: more robust GetTypeMetaFromBytes instead of GetKindFromYAML
/test marker |
/test e2e-aws-ansible |
/test e2e-aws-helm |
1 similar comment
/test e2e-aws-helm |
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 nits.
Co-Authored-By: Haseeb Tariq <[email protected]>
/test e2e-aws-helm |
2 similar comments
/test e2e-aws-helm |
/test e2e-aws-helm |
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.
really clean looking. And no typos either.
/lgtm |
Description of the change:
spec.customresourcedefinitions.owned
elements and use unique ID's for accessing each owned CRDGetTypeMetaFromBytes()
instead ofGetKindFromYAML()
Motivation for the change: users that define a
spec.customresourcedefinitions.owned
element currently have to enter data manually (until #1162 is merged). Manually entered data should be preserved for allspec.customresourcedefinition.owned
s that already exist; newly added CRD's will be appended and modified by users.