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
Put the broker creation inside deploy template #410
Conversation
|
oc cluster up: Create the broker resources via template: Get the broker: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good, I had a question so marking as request changes.
| @@ -8,6 +8,8 @@ DOCKERHUB_ORG=$3 | |||
|
|
|||
| # can be overridden via my_local_dev_vars | |||
| PROJECT=${ASB_PROJECT} | |||
| ASB_SCHEME="https" | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
did we need this? what's the case where this is http?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When rcm we use a different scheme http. I could actually remove this since it is the default in the template.
| metadata: | ||
| name: ansible-service-broker | ||
| spec: | ||
| url: ${ASB_SCHEME}://asb-1338-ansible-service-broker.${ROUTING_SUFFIX} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why didn't we just make the entire url a variable? and default it to https://asb-1338-ansible-service-broker.172.17.0.1.nip.io? I must be missing some critical information.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did it this way to match up with asb_scheme and openshift_routing_suffix from catasb.
| @@ -198,7 +198,29 @@ objects: | |||
| - type: basic | |||
| enabled: ${ENABLE_BASIC_AUTH} | |||
|
|
|||
| - apiVersion: servicecatalog.k8s.io/v1alpha1 | |||
| kind: Broker | |||
| # kind: ServiceBroker | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Extra comment
Update the broker template we use in this project (and in catasb) to include the creation of the broker resource for the service catalog. Also, update scripts that would attempt to create a broker that already exists.
cab5e43
to
97c3fe1
Compare
Update the broker template we use in this project (and in catasb) to
include the creation of the broker resource for the service catalog.
Also, update scripts that would attempt to create a broker that already
exists.