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

example catalog service classes not working with service catalog #22

Closed
maleck13 opened this issue May 17, 2017 · 0 comments · Fixed by #23
Closed

example catalog service classes not working with service catalog #22

maleck13 opened this issue May 17, 2017 · 0 comments · Fixed by #23

Comments

@maleck13
Copy link
Contributor

The service catalog wont allow names and ids that do not meet the regex [a-zA-Z0-9]([-a-zA-Z0-9]*[a-zA-Z0-9])

It returns the following error when getting the catalog:

'Error syncing catalog from Broker. Error reconciling serviceClass "mongo-db"
      (broker "mongo-service-broker"): ServiceClass.servicecatalog.k8s.io "mongo-db"
      is invalid: [plans[0].name: Invalid value: "gold plan": [-_a-z0-9]+ (e.g. ''plan_name'',
      regex used for validation is ''plan-name''), plans[0].osbGuid: Invalid value:
      "gold_plan_id": [a-zA-Z0-9]([-a-zA-Z0-9]*[a-zA-Z0-9])? (e.g. ''123-abc'',  or
      ''456-DEF'', regex used for validation is ''my-name'')]'

I have a pr coming to fix this.

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

Successfully merging a pull request may close this issue.

1 participant