Skip to content
This repository has been archived by the owner on May 6, 2022. It is now read-only.

Add option to automatically deploy the Broker resource with the sample broker app #980

Closed
wants to merge 1 commit into from

Conversation

luxas
Copy link
Contributor

@luxas luxas commented Jun 25, 2017

No-op.
Just makes the chart automatically create the Broker object; convenient since the Chart knows how to talk to the ups-broker service.

Currently this is in an example, and assumes you've installed things in a certain fashion.
With this it's easy to just assume that when you install the broker using the chart, you get the Broker registration for free

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Jun 25, 2017
Copy link
Contributor

@pmorie pmorie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm fine with this, one ask

@@ -3,3 +3,5 @@
image: quay.io/kubernetes-service-catalog/user-broker:v0.0.11
# ImagePullPolicy; valid values are "IfNotPresent", "Never", and "Always"
imagePullPolicy: Always
# Specifies whether to deploy the Broker service-catalog object for this Deployment
deployBroker: true
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we call this deployBrokerResource instead?

@luxas
Copy link
Contributor Author

luxas commented Jun 28, 2017

@pmorie Fixed, PTAL

@luxas
Copy link
Contributor Author

luxas commented Jul 6, 2017

ping @pmorie

name: ups-broker
spec:
url: http://{{ template "fullname" . }}.{{ .Release.Namespace }}.svc.cluster.local
{{ end }}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am all for this, but it won't work unless the service-catalog API server is run behind the aggregator. Can you document that please?

@pmorie
Copy link
Contributor

pmorie commented Jul 13, 2017

I'm all for this, but it depends on the API server being run behind the aggregator. I'd like to hold this until the aggregator is setup by default for the default path through the walkthrough.

@luxas
Copy link
Contributor Author

luxas commented Jul 13, 2017

@pmorie Ok, let's wait for that... I hope that's going to be soon given @arschles', @MHBauer's and my PRs for that feature

@luxas
Copy link
Contributor Author

luxas commented Jul 17, 2017

@pmorie Ok now when the aggregator stuff merged?

@@ -36,6 +36,7 @@ Service Broker
|-----------|-------------|---------|
| `image` | Image to use | `quay.io/kubernetes-service-catalog/user-broker:v0.0.11` |
| `imagePullPolicy` | `imagePullPolicy` for the ups-broker | `Always` |
| `deployBrokerResource` | Whether the `Broker` Service Catalog resource should be automatically created or not | `true` |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we change the Broker -> User Provided Service Broker
or UPS Broker.
Broker resource is very generic.

@@ -3,3 +3,5 @@
image: quay.io/kubernetes-service-catalog/user-broker:v0.0.11
# ImagePullPolicy; valid values are "IfNotPresent", "Never", and "Always"
imagePullPolicy: Always
# Specifies whether to deploy the Broker service-catalog object for this Deployment
deployBrokerResource: true
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we change this to deployUPSBroker
I personally think it would be better to drop the Resource from the name, but the biggest thing missing is the fact that it's UPS broker specifically.

@pmorie
Copy link
Contributor

pmorie commented Sep 25, 2017

@luxas this is getting stale - will you rebase it or close it? Thanks

ps: happy birthday

@k8s-ci-robot k8s-ci-robot removed the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Oct 7, 2017
@k8s-ci-robot
Copy link
Contributor

Thanks for your pull request. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

📝 Please follow instructions at https://github.com/kubernetes/kubernetes/wiki/CLA-FAQ to sign the CLA.

It may take a couple minutes for the CLA signature to be fully registered; after that, please reply here with a new comment and we'll verify. Thanks.


Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@k8s-ci-robot k8s-ci-robot added cncf-cla: no Indicates the PR's author has not signed the CNCF CLA. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Oct 7, 2017
@luxas luxas force-pushed the deploy_broker branch 2 times, most recently from c348d24 to 6aa7476 Compare October 7, 2017 21:16
@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. and removed cncf-cla: no Indicates the PR's author has not signed the CNCF CLA. labels Oct 7, 2017
@luxas
Copy link
Contributor Author

luxas commented Oct 7, 2017

@pmorie Cool. Now got back to this (finally!)
PTAL and merge

@@ -36,6 +36,7 @@ Service Broker
|-----------|-------------|---------|
| `image` | Image to use | `quay.io/kubernetes-service-catalog/user-broker:v0.0.23` |
| `imagePullPolicy` | `imagePullPolicy` for the ups-broker | `Always` |
| `deployUPSBroker` | Whether the `User Provided Service Broker` Service Catalog resource should be automatically created or not. Requires running behind the aggregator. | `true` |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The values.yaml defaults to false, but this says the default is true.

@nilebox
Copy link
Contributor

nilebox commented Feb 19, 2018

@luxas do you want to address the @kibbles-n-bytes's review comment and finally merge it?

@luxas
Copy link
Contributor Author

luxas commented May 11, 2018

Sorry don't have bandwidth to rebase again. If you want this patch, pls carry it for me.

@luxas luxas closed this May 11, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants