Step 1: Delete the PackageInstall

kubectl -n kapp-controller-packaging-global delete packageinstall scp-toolkit 

Step 2: Delete the PackageRepository

kubectl -n kapp-controller-packaging-global delete packagerepository scp-toolkit-repository 

Step 3: Delete the SecretExport

kubectl -n kapp-controller-packaging-global delete secretexport tap-registry

Step 4: Delete secret

kubectl -n kapp-controller-packaging-global delete secret tap-registry

Step 5: Delete RBAC and Service Account

kubectl delete clusterrolebinding kapp-controller-scp
kubectl delete clusterrole kapp-controller-scp
kubectl -n kapp-controller-packaging-global delete serviceaccount kapp-controller-sa
check-circle-line exclamation-circle-line close-line
Scroll to top icon