-
Notifications
You must be signed in to change notification settings - Fork 297
restore release version 1.126.0 #4547
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
restore release version 1.126.0 #4547
Conversation
|
/assign @justinsb |
|
/approve /hold for @yuwenma to approve |
|
/assign @yuwenma |
|
A few things @cheftako pointed out to me:
|
|
Could you share more context about this change? From the discussion, my read as we want to keep all the passed releases until the latest one in GKE add-on, which means the manifests contain 1.126.0, 1.127.0, 1.128.0, 1.129.2, 1.130.0, 1.131.0. |
da6aaf1 to
1785b13
Compare
|
I just updated the PR to not leave a gap in between older versions and restored all the shipped versions up until 1.126.0 |
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.
I am wondering if we could only add back the per-namespace-components.yaml files from the previous verions?
It looks like we are only using version from CCC to load per namespace components. [1]
This way it is more clear that the rollback does not include CRDs and ClusterRoels.
[1]
| files, err := p.repo.LoadNamespacedComponents(ctx, componentName, version) |
I think that is a good idea. Let me update the PR! |
1785b13 to
9b9ec90
Compare
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.
I just realized we also have 1.129 and 1.130 folders that include everything. For consistency, we should either remove the CRDs and ClusterRoles from those folders or add them back for every version. Keeping only the per-namespace file clarifies what happens during a downgrade, but it may confuse users browsing the release folders as they'll see only one file. I’ll defer to @yuwenma on what we want to include in each version.
|
My understanding is that we need to contain both 0-cnrm-system.yaml and per-namespace-components.yaml for each namespace version. Because user can choose a stale release as their very first installation in which case the namespace and RBAC will be missing. For example, user choose to use the 1.132 bundle to specifically install 1.126 (via CCC |
|
/assign @cheftako |
My understanding is that when we have specify the version field in the CCC, we load the version specific manifest but only looking for I did not quite get where the user chooses to use 1.132.0 bundle to install 1.126.0. IIUC if the user install KCC 1.132 version first, and then update the CCC Version field to 1.126.0, their cluster should already have CRD and RBAC permissions installed and only loads the |
9b9ec90 to
2cfb35c
Compare
|
I have just updated the PR to include the current CRD and RBAC into previous KCC release versions with old operators. |
operator/channels/packages/configconnector/1.130.2/namespaced/0-cnrm-system.yaml
Show resolved
Hide resolved
|
/approve |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: justinsb, yuwenma 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 |
|
One follow-up suggestion about fixing the propose-tag PR, non blocker to this change. Thanks and good job @xiaoweim |
|
/lgtm |
|
/unhold after checking with Xiaowei |
|
/remove hold |
|
/unhold |
3c3527b
into
GoogleCloudPlatform:master
Change description
Fixes #
Tests you have done
make ready-prto ensure this PR is ready for review.