Add CRS for creating management package repository and for installing featuregates, core-management-plugins package#1046
Conversation
pkg/v1/providers/ytt/02_addons/management-packages/add_management_package_repo.yaml
Outdated
Show resolved
Hide resolved
|
Cluster Generation A/B Results: |
|
Just curious how this works on an upgrade. We want the latest packages from this repo to be installed when management cluster is upgraded (means the existing packages get upgraded). Is doing this via CRS able to ensure that? |
If the cluster is being upgraded, the PackageRepository and PackageInstall would be updated directly https://github.com/vmware-tanzu/tanzu-framework/pull/1046/files#diff-049262173b38704098ff511248bfd32198a383381dac188f4d201577d4744c17R166-R167 and https://github.com/vmware-tanzu/tanzu-framework/pull/1046/files#diff-fc81a8233b6918a916988000770b95adc92a1273d339d26cf653b9e422885207R20-R21 PacakgeRepository with upgraded repo bundle will make the latest packages available on the cluster and PackageInstall will pick the latest package and install it |
ca0f972 to
1f58e93
Compare
|
Cluster Generation A/B Results: |
|
Cluster Generation A/B Results: |
vijaykatam
left a comment
There was a problem hiding this comment.
I would go through rbac rules for service account and remove the ones that are not needed.
pkg/v1/providers/ytt/02_addons/management-packages/add_featuregates_package.yaml
Outdated
Show resolved
Hide resolved
| - list | ||
| - watch | ||
| - apiGroups: | ||
| - cert-manager.io |
There was a problem hiding this comment.
Is cert-manager being used in feature gate package?
There was a problem hiding this comment.
yes, we need certificates for the featuregates webhook
1f58e93 to
8380992
Compare
|
Cluster Generation A/B Results: |
pkg/v1/providers/ytt/02_addons/management-packages/add_management_package_repo.yaml
Show resolved
Hide resolved
8380992 to
b624263
Compare
|
Cluster Generation A/B Results: |
b624263 to
7a87667
Compare
|
Cluster Generation A/B Results: |
3318e2e to
c6bbbef
Compare
|
Cluster Generation A/B Results: |
c6bbbef to
1c0bceb
Compare
|
Cluster Generation A/B Results: |
5c3f1bf to
eae8b2b
Compare
|
Cluster Generation A/B Results: |
eae8b2b to
4efe18b
Compare
|
Cluster Generation A/B Results: |
4efe18b to
bcbbaa0
Compare
|
Cluster Generation A/B Results: |
|
Cluster Generation A/B Results: |
|
Cluster Generation A/B Results: |
|
Cluster Generation A/B Results: |
|
//usebom:sandbox/v1.5.0-zshippable/380806556008107856/tkg-compatibility |
12b7081 to
e285706
Compare
|
Cluster Generation A/B Results: |
|
Cluster Generation A/B Results: |
Signed-off-by: Harish Yayi <yharish991@gmail.com>
Signed-off-by: Harish Yayi <yharish991@gmail.com>
Signed-off-by: Harish Yayi <yharish991@gmail.com>
- This change adds core-management-plugins package - It should get applied as part of management cluster creation and management cluster creation process - Sync plugins after management-cluster creation and upgrade
Signed-off-by: Harish Yayi <yharish991@gmail.com>
e285706 to
c09ada8
Compare
|
Cluster Generation A/B Results: |
What this PR does / why we need it
This PR adds ClusterResourceSet custom resource to
Which issue(s) this PR fixes
Fixes #1047, #1048 and #1110
Describe testing done for PR
Release note
PR Checklist
Additional information
Special notes for your reviewer
This PR needs to be tested after the management package repo entry is added to BOM. But wanted to get an initial review on the approach