-
Notifications
You must be signed in to change notification settings - Fork 236
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
chore: upgrade dcl to v1.62 #1414
chore: upgrade dcl to v1.62 #1414
Conversation
Signed-off-by: Alex Pana <[email protected]>
pkg/dcl/metadata/metadata.go
Outdated
{ | ||
Kind: "ComputeNetworkAttachment", | ||
DCLType: "NetworkAttachment", | ||
Releasable: false, | ||
}, |
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 missing entry was causing the CRD generation before.
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.
@justinsb this missing entry was actually causing the CRD generation failure. AFAIU now that failure was to be expected 😅 . I can add this gotcha to our docs for upgrading the lib if that helps.
Also note, this does not upgrade us to latest DCL lib, which last I checked was 1.63 which fails as w a deepcopy issue. I filed #1427 to track that
Signed-off-by: Alex Pana <[email protected]>
Tests ran locally:
|
Nice! I know we had some problems with generation earlier - did those get fixed? |
@justinsb I was able to run most dynamic and samples [caveat below] tests for the resources that are changing with 1.62 dcl upgrade. I was missing setting the right vars initially for the caveat: one samples scenario is not run under |
Thank you for verifying using the integration tests, @acpana ! /lgtm
Agreed it's likely restricted by your account's permissions (though I still suggest you try to take a look what's missing when you don't have other priorities). Though I am curious: What's the reason (what features to support/bugs to fix) we upgrade to DCL 1.62? Have you verified the feature is properly supported or bug is fixed in the latest version? Just want to double check because I didn't find any context in the comments / changes in testdata. If there is no specific feature/bugfix to verify, then it's ready to be merged. Otherwise, we probably want to cover the new feature/bugfix with some testdata/sample changes. |
AFAICT/ as far as i'm aware, there is no specific reason to upgrade to 1.62 other than trying to get the Leaving things as is today (i.e. with |
/approve |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: maqiuyujoyce The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
6dba902
into
GoogleCloudPlatform:master
Upgrade to DCL v1.62; release notes
Instructions as per https://github.com/GoogleCloudPlatform/k8s-config-connector/blob/master/README.UpdatingDCL.md where I pinned the v1.62 version.