E0730 1 controller.go:329] "msg"="Reconciler error" "error"="Failed to update auth service addon config: Error updating corresponding clusterbootstrap resource: failed to find ClusterBootstrap resource owned by cluster <namespace>/<cluster-name>" "Cluster"={"name":"<cluster-name>","namespace":"<namespace>"}
"controller"="cluster" "controllerGroup"="cluster.x-k8s.io""controllerKind"="Cluster" "name"="" "namespace"="<cluster-name>" "reconcileID"="<ID>"<namespace>
E0731 1 clusterbootstrapclone.go:621] ClusterBootstrapController "msg"="unable to fetch Package.Spec.RefName or Package.Spec.Version from Package ns-sharedservice/antrea.tanzu.vmware.com.1.13.3+vmware.3-tkg.1-vmware" "error"="no matches for kind \"Package\" in version \"data.packaging.carvel.dev/v1alpha1\"" E0731 1 clusterbootstrapclone.go:564] ClusterBootstrapController "msg"="unable to clone secrets or providers" "error"="no matches for kind \"Package\" in version \"data.packaging.carvel.dev/v1alpha1\"" E0731 1 controller.go:329] "msg"="Reconciler error" "error"="no matches for kind \"Package\" in version \"data.packaging.carvel.dev/v1alpha1\"" "Cluster"={"name":"<cluster-name>","namespace":""} "controller"="cluster" "controllerGroup"="cluster.x-k8s.io" "controllerKind"="Cluster" "name"="<namespace><cluster-name>" "namespace"="" "reconcileID"="<ID><namespace>
VMware vSphere Kubernetes Service
The certificate of the packaging APIService has expired. In this case it is "v1alpha1.data.packaging.carvel.dev". The issuer of these certificates is the kapp-controller on the supervisor cluster. To confirm the same, run the below command.
kubectl get apiservice v1alpha1.data.packaging.carvel.dev -o jsonpath='{.spec.caBundle}' | base64 -d | openssl x509 -text -noout
The important point to note here is that the kapp-controller apiservice is not using the cert-manager to create and renew its certificate.
Broadcom engineering is working on tracking the automatic renewal of the kapp-controller apiservice certificate. Meanwhile to regenerate kapp-controller apiservice certificate, follow the below steps.
kubectl rollout restart deploy -n <cert-manager-namespace>
kubectl delete pod <kapp-controller-pod> -n <kapp-controller namespace>
kubectl get pods -n <kapp-controller namespace>
More details on the cert-manager pod issues can be found in the kb article here- https://knowledge.broadcom.com/external/article/390661