Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mariadb-broker create credential fail in the latest service-catalog #2

Open
yuexiao-wang opened this issue Sep 12, 2017 · 4 comments
Open

Comments

@yuexiao-wang
Copy link

yuexiao-wang commented Sep 12, 2017

kubectl get serviceinstancecredential mariadb-instance-credentials -o yaml

Error from server (NotFound): serviceinstancecredentials "mariadb-instance-credentials" not found

Because service-catalog update his resource names, I have to modify the yaml files in maridb-broker as follows:

  1. examples/mariadb-broker.yaml
    apiVersion: servicecatalog.k8s.io/v1alpha1
    kind: ServiceBroker
    metadata:
    name: mariadb-broker
    spec:
    url: http://mariadb-broker-mariadb-broker.mariadb-broker.svc.cluster.local

kubectl create -f examples/mariadb-broker.yaml
servicebroker "mariadb-broker" created

2)examples/mariadb-instance.yaml
apiVersion: servicecatalog.k8s.io/v1alpha1
kind: ServiceInstance
metadata:
name: mariadb-instance
spec:
serviceClassName: mariadb
planName: default

kubectl create -f examples/mariadb-instance.yaml
serviceinstance "mariadb-instance" created

3)examples/mariadb-binding.yaml
apiVersion: servicecatalog.k8s.io/v1alpha1
kind: ServiceInstanceCredential
metadata:
name: mariadb-binding
spec:
instanceRef:
name: mariadb-instance
secretName: mariadb-instance-credentials

kubectl create -f examples/mariadb-binding.yaml
serviceinstancecredential "mariadb-binding" created

but it is created failed as below:
kubectl get serviceinstancecredential mariadb-instance-credentials -o yaml
Error from server (NotFound): serviceinstancecredentials "mariadb-instance-credentials" not found

How can I solve this issue?

@yuexiao-wang
Copy link
Author

@prydonius PTAL

@prydonius
Copy link
Owner

hey @yuexiao-wang, thanks for letting me know. I haven't been keeping up to date with the service catalog, so I'll find some time to check this out again and update.

@yuexiao-wang
Copy link
Author

yuexiao-wang commented Sep 21, 2017

@prydonius How about this issue? Could you give me some suggestion to solve the issue?
Thanks

@prydonius
Copy link
Owner

@yuexiao-wang I'm afraid I still haven't been able to get round to this. From a quick look at your error, it looks like the API resource names have changed for the service catalog, so maybe these need to be updated. Let me know if you find anything.

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

No branches or pull requests

2 participants