Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
/hold |
Introduces hack/sync-glk-version.sh to automatically sync the gardener-landscape-kit component version in componentvector/components.yaml with the VERSION file during code generation. Integrated into the generate target in Makefile to run automatically.
b958109 to
26799e6
Compare
LucaBernstein
left a comment
There was a problem hiding this comment.
Thank you very much for adding this check. I only have two minor questions.
pkg/utils/version/metadata.go
Outdated
| } | ||
|
|
||
| if checkMode == configv1alpha1.VersionCheckModeWarning { | ||
| log.Info("WARNING: version mismatch - tool version does not match gardener-landscape-kit component version in component vector - obtain the matching gardener-landscape-kit version or adjust the component vector", "toolVersion", toolVersion, "componentVersion", componentVersion) |
There was a problem hiding this comment.
Do we really want to keep the WARNING: prefix in the log message here or adapt a more generic approach and add .V(1) to lower-level info logs?
There was a problem hiding this comment.
I changed it to log.Error. WDYT?
|
PR needs rebase. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
How to categorize this PR?
/area delivery
/kind enhancement
What this PR does / why we need it:
This PR adds GL as a self-managed component within its own component vector, enabling version validation and lifecycle management through external workflows or OCM component descriptors. The tool now validates that its own version matches the GLK component version defined in
components.yaml, preventing version mismatches between the tool and the managed components.Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Release note: