You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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 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.
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:
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?
The text was updated successfully, but these errors were encountered: