ryan-a-baker / tap-on-aws

1 stars 0 forks source link

Error during Tanzu Application Platform Pre requisites #3

Open afewell opened 1 year ago

afewell commented 1 year ago
afewell@afewell-a01 Downloads % kubectl create namespace tap-install
tanzu secret registry add tap-registry \
  --username ${INSTALL_REGISTRY_USERNAME} --password ${INSTALL_REGISTRY_PASSWORD} \
  --server ${INSTALL_REGISTRY_HOSTNAME} \
  --export-to-all-namespaces --yes --namespace tap-install
namespace/tap-install created
Error: secret plugin can not be used as 'secretgen.carvel.dev/v1alpha1' API is not available in the cluster
Error: exit status 1

✖  exit status 1 
afewell@afewell-a01 Downloads % 
afewell commented 1 year ago

I installed the Carvel secretgen controller with kubectl apply -f https://github.com/vmware-tanzu/carvel-secretgen-controller/releases/latest/download/release.yml and then repeated the above step, appeared to work

afewell commented 1 year ago

I proceeded to the next step and got another error

afewell@afewell-a01 Downloads % tanzu package repository add tanzu-tap-repository \
  --url ${INSTALL_REGISTRY_HOSTNAME}/tanzu-application-platform/tap-packages:$TAP_VERSION \
  --namespace tap-install
| Adding package repository 'tanzu-tap-repository' I0905 14:13:24.387404   30116 request.go:665] Waited for 1.002537159s due to client-side throttling, not priority and fairness, request: GET:https://89E228D05510103A6BB93D2B1E511BDE.gr7.us-west-2.eks.amazonaws.com/api/v1?timeout=32s

Error: no matches for kind "PackageRepository" in version "packaging.carvel.dev/v1alpha1"
Error: exit status 1

✖  exit status 1 
afewell commented 1 year ago

I manually installed the kapp controller, and then tried repeating the above command and it looks like iot worked.

$ kubectl apply -f https://github.com/vmware-tanzu/carvel-kapp-controller/releases/latest/download/release.yml