harbor-cluster-operator
harbor-cluster-operator copied to clipboard
Get several NotFound error when trying to uninstall the operators
Seems that the command tries to delete the resources which are already removed by deleting the namespaces
yinw-a01:harbor-cluster-operator yinw$ kubectl delete -f manifests/all-in-one.yaml
namespace "harbor-cluster-operator-system" deleted
namespace "harbor-operator-system" deleted
namespace "minio-operator" deleted
namespace "psql-operator-ns" deleted
namespace "redis-operator-ns" deleted
customresourcedefinition.apiextensions.k8s.io "harborclusters.goharbor.io" deleted
customresourcedefinition.apiextensions.k8s.io "harbors.goharbor.io" deleted
customresourcedefinition.apiextensions.k8s.io "tenants.minio.min.io" deleted
serviceaccount "minio-operator" deleted
serviceaccount "postgres-operator" deleted
serviceaccount "redisoperator" deleted
role.rbac.authorization.k8s.io "harbor-cluster-operator-leader-election-role" deleted
role.rbac.authorization.k8s.io "harbor-operator-leader-election-role" deleted
clusterrole.rbac.authorization.k8s.io "postgres-operator" deleted
clusterrole.rbac.authorization.k8s.io "postgres-pod" deleted
clusterrole.rbac.authorization.k8s.io "redisoperator" deleted
clusterrole.rbac.authorization.k8s.io "harbor-cluster-operator-manager-role" deleted
clusterrole.rbac.authorization.k8s.io "harbor-cluster-operator-proxy-role" deleted
clusterrole.rbac.authorization.k8s.io "harbor-operator-manager-role" deleted
clusterrole.rbac.authorization.k8s.io "harbor-operator-proxy-role" deleted
clusterrole.rbac.authorization.k8s.io "minio-operator-role" deleted
rolebinding.rbac.authorization.k8s.io "harbor-operator-leader-election-rolebinding" deleted
clusterrolebinding.rbac.authorization.k8s.io "postgres-operator" deleted
clusterrolebinding.rbac.authorization.k8s.io "redisoperator" deleted
clusterrolebinding.rbac.authorization.k8s.io "harbor-cluster-operator-manager-rolebinding" deleted
clusterrolebinding.rbac.authorization.k8s.io "harbor-cluster-operator-proxy-rolebinding" deleted
clusterrolebinding.rbac.authorization.k8s.io "harbor-operator-manager-rolebinding" deleted
clusterrolebinding.rbac.authorization.k8s.io "harbor-operator-proxy-rolebinding" deleted
clusterrolebinding.rbac.authorization.k8s.io "minio-operator-binding" deleted
mutatingwebhookconfiguration.admissionregistration.k8s.io "harbor-cluster-operator-mutating-webhook-configuration" deleted
mutatingwebhookconfiguration.admissionregistration.k8s.io "harbor-operator-mutating-webhook-configuration" deleted
validatingwebhookconfiguration.admissionregistration.k8s.io "harbor-cluster-operator-validating-webhook-configuration" deleted
Error from server (NotFound): error when deleting "manifests/all-in-one.yaml": rolebindings.rbac.authorization.k8s.io "harbor-cluster-operator-leader-election-rolebinding" not found
Error from server (NotFound): error when deleting "manifests/all-in-one.yaml": configmaps "harbor-operator-operator-config-6g2hb7ttdf" not found
Error from server (NotFound): error when deleting "manifests/all-in-one.yaml": configmaps "postgres-operator" not found
Error from server (NotFound): error when deleting "manifests/all-in-one.yaml": services "harbor-cluster-operator-controller-manager-metrics-service" not found
Error from server (NotFound): error when deleting "manifests/all-in-one.yaml": services "harbor-cluster-operator-webhook-service" not found
Error from server (NotFound): error when deleting "manifests/all-in-one.yaml": services "harbor-operator-controller-manager-metrics-service" not found
Error from server (NotFound): error when deleting "manifests/all-in-one.yaml": services "harbor-operator-webhook-service" not found
Error from server (NotFound): error when deleting "manifests/all-in-one.yaml": services "operator" not found
Error from server (NotFound): error when deleting "manifests/all-in-one.yaml": services "postgres-operator" not found
Error from server (NotFound): error when deleting "manifests/all-in-one.yaml": deployments.apps "harbor-cluster-operator-controller-manager" not found
Error from server (NotFound): error when deleting "manifests/all-in-one.yaml": deployments.apps "harbor-operator-controller-manager" not found
Error from server (NotFound): error when deleting "manifests/all-in-one.yaml": deployments.apps "minio-operator" not found
Error from server (NotFound): error when deleting "manifests/all-in-one.yaml": deployments.apps "postgres-operator" not found
Error from server (NotFound): error when deleting "manifests/all-in-one.yaml": deployments.apps "redisoperator" not found
Error from server (NotFound): error when deleting "manifests/all-in-one.yaml": certificates.cert-manager.io "harbor-cluster-operator-serving-cert" not found
Error from server (NotFound): error when deleting "manifests/all-in-one.yaml": certificates.cert-manager.io "harbor-operator-serving-cert" not found
Error from server (NotFound): error when deleting "manifests/all-in-one.yaml": issuers.cert-manager.io "harbor-cluster-operator-selfsigned-issuer" not found
Error from server (NotFound): error when deleting "manifests/all-in-one.yaml": issuers.cert-manager.io "harbor-operator-selfsigned-issuer" not found
@ywk253100
The kubectl create/apply -f manifests/all-in-one.yaml is run successfully? All the related resources are created?