Skip to content
This repository has been archived by the owner on Dec 5, 2024. It is now read-only.

error: unable to recognize "provider-components/backend/k8s/manifest.yaml": no matches for kind "ServiceBindingUsage" in version "servicecatalog.kyma-project.io/v1alpha1" #13

Open
horsemanjackyliu opened this issue Jun 6, 2023 · 0 comments

Comments

@horsemanjackyliu
Copy link

When i run the following command:
kubectl apply -f provider-components/backend/k8s/manifest.yaml

I run into the following error :

error: unable to recognize "provider-components/backend/k8s/manifest.yaml": no matches for kind "ServiceBindingUsage" in version "servicecatalog.kyma-project.io/v1alpha1"

The following is the detailed:

I501000@GWRCQ6XKD6 kyma-mtx-faq-management % kubectl create namespace project-faq
namespace/project-faq created
I501000@GWRCQ6XKD6 kyma-mtx-faq-management % kubectl create configmap -n project-faq cluster-domain --from-literal cluster-domain="shoot--kyma--db31e1a.kyma.shoot.live.k8s-hana.ondemand.com"
configmap/cluster-domain created
I501000@GWRCQ6XKD6 kyma-mtx-faq-management % kubectl create secret generic -n project-faq sm-credentials --from-file=credentials=faq-container-key.json
secret/sm-credentials created
I501000@GWRCQ6XKD6 kyma-mtx-faq-management % kubectl apply -f provider-components/backend/k8s/manifest.yaml
Warning: resource namespaces/project-faq is missing the kubectl.kubernetes.io/last-applied-configuration annotation which is required by kubectl apply. kubectl apply should only be used on resources created declaratively by either kubectl create --save-config or kubectl apply. The missing annotation will be patched automatically.
namespace/project-faq configured
service/faq-backend created
deployment.apps/faq-backend created
error: unable to recognize "provider-components/backend/k8s/manifest.yaml": no matches for kind "ServiceBindingUsage" in version "servicecatalog.kyma-project.io/v1alpha1"
I501000@GWRCQ6XKD6 kyma-mtx-faq-management % kubectl create configmap -n project-faq cluster-domain --from-literal cluster-domain="db31e1a.kyma.shoot.live.k8s-hana.ondemand.com"
error: failed to create configmap: configmaps "cluster-domain" already exists
I501000@GWRCQ6XKD6 kyma-mtx-faq-management % kubectl apply -f provider-components/backend/k8s/manifest.yaml
namespace/project-faq unchanged
service/faq-backend unchanged
deployment.apps/faq-backend unchanged
error: unable to recognize "provider-components/backend/k8s/manifest.yaml": no matches for kind "ServiceBindingUsage" in version "servicecatalog.kyma-project.io/v1alpha1

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant