Repository: vmware-tanzu/tanzu-framework (language: go)

Issue:
TC33: Able to see successful reconciliation status for all core/additional packages in ClusterBootstrap status conditions field
Cluster Create (Guest Cluster) - PackageInstall Status


Discussion / hints:

Fix patch:
diff --git a/pkg/v1/tkg/managementcomponents/helper.go b/pkg/v1/tkg/managementcomponents/helper.go
index 90a0be7d8a..430cddf649 100644
--- a/pkg/v1/tkg/managementcomponents/helper.go
+++ b/pkg/v1/tkg/managementcomponents/helper.go
@@ -62,6 +62,7 @@ func GetTKGPackageConfigValuesFileFromUserConfig(managementPackageVersion string
 				TanzuAddonsManager: TanzuAddonsManager{
 					FeatureGates: AddonsFeatureGates{
 						ClusterBootstrapController: true,
+						PackageInstallStatus:       true,
 					},
 				},
 			},
diff --git a/pkg/v1/tkg/managementcomponents/types.go b/pkg/v1/tkg/managementcomponents/types.go
index 0170710224..fe4f338a5c 100644
--- a/pkg/v1/tkg/managementcomponents/types.go
+++ b/pkg/v1/tkg/managementcomponents/types.go
@@ -51,6 +51,7 @@ type ClusterClassPackage struct {
 
 type AddonsFeatureGates struct {
 	ClusterBootstrapController bool `yaml:"clusterBootstrapController,omitempty"`
+	PackageInstallStatus       bool `yaml:"packageInstallStatus,omitempty"`
 }
 
 type TanzuAddonsManager struct {


Test patch:
diff --git a/pkg/v1/tkg/managementcomponents/test/output_aws.yaml b/pkg/v1/tkg/managementcomponents/test/output_aws.yaml
index 2604c0f126..0b9a460158 100644
--- a/pkg/v1/tkg/managementcomponents/test/output_aws.yaml
+++ b/pkg/v1/tkg/managementcomponents/test/output_aws.yaml
@@ -15,6 +15,7 @@ frameworkPackage:
         tanzuAddonsManager:
             featureGates:
                 clusterBootstrapController: true
+                packageInstallStatus: true
     tanzuAuthPackageValues:
         versionConstraints: v0.21.0
 clusterclassPackage:
diff --git a/pkg/v1/tkg/managementcomponents/test/output_azure.yaml b/pkg/v1/tkg/managementcomponents/test/output_azure.yaml
index 603e0b2e67..193423fa46 100644
--- a/pkg/v1/tkg/managementcomponents/test/output_azure.yaml
+++ b/pkg/v1/tkg/managementcomponents/test/output_azure.yaml
@@ -15,6 +15,7 @@ frameworkPackage:
         tanzuAddonsManager:
             featureGates:
                 clusterBootstrapController: true
+                packageInstallStatus: true
     tanzuAuthPackageValues:
         versionConstraints: v0.21.0
 clusterclassPackage:
diff --git a/pkg/v1/tkg/managementcomponents/test/output_vsphere.yaml b/pkg/v1/tkg/managementcomponents/test/output_vsphere.yaml
index a1ea0e3fdd..49bfbd6a87 100644
--- a/pkg/v1/tkg/managementcomponents/test/output_vsphere.yaml
+++ b/pkg/v1/tkg/managementcomponents/test/output_vsphere.yaml
@@ -15,6 +15,7 @@ frameworkPackage:
         tanzuAddonsManager:
             featureGates:
                 clusterBootstrapController: true
+                packageInstallStatus: true
     tanzuAuthPackageValues:
         versionConstraints: v0.21.0
 clusterclassPackage: